Geany IN, Komodo OUT

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 [...]

Continue reading →

Get the intersection of 2 arrays

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 :

Now what if I want a new array that contains only the elements present in both arrays?

Have a nice weekend!

Continue reading →