Friday, November 23, 2007

Ruby Module

And anothe one. This time the mindmap is for the Ruby Module. Like the others, posted on MindMapper: Ruby Module Mindmap

Ruby on Rails - ActionView Helper

I was very busy for the last months, but now i bring you some new mindmaps. This time you can view it directly in your browser. Do what ever you want with it. It would be nice, if you post back improvements.

I hacked togehter a platform for sharing FreeMind Mindmaps in a few hours. So there should be no problems in the future with dead links.

Just follow this link and enjoy: MindMapper ActionView Helper Methods

Friday, September 14, 2007

RailsRumble - relocatr | lost it? found it!

Just a short note about our contribute for the RailsRumble. Check out the awesome relocatr and post what you have found or lost.

If you lost something, search in our database if someone has already posted something similar as found. If there is nothing present in our database, sign-up for our search agent, who notifies you, if we have something new, that matches your search criteria. An other way is to grab our rss-feeds (recent, found, lost, search).

When you have found something, post it to our site.

There is no need to signup. The only thing you have to do for posting is activating the post by a link you get by mail.

And don't forget to vote ;-)

Wednesday, August 8, 2007

Youtube Mashup

We played around with the script.aculo.us and prototype libs for the last days. So we thought, instead of wasting the time completly, we can build something, that is probably useful. And here it is: The TubeBox ;-)

The videos are served by youtube and the data for the similar artists comes from last.fm

It's still a bit buggy but that may be fixed the next days. Anyway, i am very impressed by the possibilities delivered by this javascript frameworks.

Saturday, August 4, 2007

Make gedit behave roughly like Textmate

I stumbled upon an interesting blog post, which is describing howto change gedit to behave roughly like textmate. I use ubuntu freisty fawn on my devlepoment machines and it took me more than an hour to get clear about the things i have to change. Because i have to maintain some more developing machines, i packed together some useful plugins ready for copy and paste.

The available plugins can be found on the Gnome/Gedit site

Step One: Get plugins available via apt-get
  • Snippets
  • File Browser
$sudo apt-get install gedit-plugins
Step Two: Download & uncompress this file

This file contains following Plugins:
the font "monaco", the color schemes for highlighting ruby and rhtml and the mime type definitions for rhtml (Note: I can't get the mime types get to work properly. Maybe you have some suggestions?)
$tar xvzf gedit-mate.tar.gz
$cd ./gedit-mate
$ls -a
$>. .. .fonts .gconf .gnome2 plugins rhtml_definitions
Step Three: Colors for Synax Highlighting & Fonts

You can copy the folders ".fonts .gconf .gnome2" straight in your home directory. The contents of the folders are responsible for the colors of syntax_highlighting and brings you the font "monaco". Keep in mind, that you have to set the font and the background color by yourself.

$ cp -R .fonts .gconf .gnome .gnome2 ~/


Step Four: Create the MimeType for ".rhtml" files

Change in the "rhtml_definitions" directory and copy the files
$cd ./rhtml_definitions
$ sudo cp x-rhtml.xml /usr/share/mime/packages/
$ sudo cp rhtml.lang /usr/share/gtksourceview-1.0/language-specs/
Step Five: Copy the Plugins

Change in the "plugins" directory and copy all of them into /usr/lib/gedit-2/plugins
This was the only directory that worked for me. Maybe ~/.gconf/apps/gedit-2/plugins will work for you.
$cd ../plugins
$sudo cp -R ./* /usr/lib/gedit-2/plugins/
Step Six: Restart your session and enjoy.

Wednesday, July 18, 2007

Parser for ruby-doc.org/core

After i created the first mindmap by hand, i decided that this way is to expensive. I believe, it took me hours to copy links and write method names by hand. So i wrote a quick and dirty script, which makes heavy use of hpricot and do all the basic work (parsing the methods, creating names and links, and finally putting this all together in a ready mindmap). So the only thing i have to do, is to categorize the methods. This saves me a lot of time and keeps things easy. I know, that it's written in a poor way, but it works (mostly) ;-)

View or Download the script and use it like that:
ruby [name of the saved file].rb
and follow the instructions. The mindmap should be written to the script directory.

Feel free to do whatever you want with this script ;-)

Tuesday, July 17, 2007

Ruby Hash Mindmap - Update


I just finished the 2nd mindmap. This time i covered the ruby class "Hash".

You can grab the file for FreeMind here

Update: Also available on my MindMapper: Ruby Hash Class Mindmap