Feb 17, 2009 @ 12:45 pm

First of all, I’d like to deny the rumor that I am dead.
I’m struggling since day #1 to find a good code editor for ruby. Mac users are happy with their textmate… but what’s left for us linux users? I tried gedit, vim, scribes and eclipse (with the aptana plugin) but wasn’t happy enough with […]

Posted under : short & sweet
Oct 03, 2008 @ 05:39 pm

Pretty easy stuff today, but this is not something you may need to do often so maybe you don’t know how to do it.
Say I have these 2 arrays :

colors1 = [:blue, :red, :green, :orange, :purple]

colors2 = [:yellow, :cyan, :green, :blue, :purple]

Now what if I want a new array that contains only the elements present […]

Posted under : short & sweet