Bounga's Home

Pow using rbenv

in Ruby
Couple weeks ago I switched from RVM to rbenv because I think it’s a cleaner and faster way to handle Ruby versions. It is more respecful of the Unix philosophy.

It worked like a charm right after the installation but Pow wasn’t working anymore. There’s just a little trick to know.

So let’s hav...

Read more...

How to use infinity in your code

in Ruby
You’ll sometimes have to use the notion of infinity in your Ruby code. There isn’t any way to directly use infinity in Ruby, at least none that I know of… But there’s a tip to get it.

Let’s say that you have a next_row method which has to return next line of an infinite array – rows are added on...

Read more...

Thor - a command-line scripting tool

in Ruby
Thor is a simple and efficient tool for building self-documenting command line utilities. I’m a shell guy, I use a terminal everyday and most of my job is done in my favorite text editor or in a terminal. To be effective I need to have a suitable text editor and the ability to automate most of th...

Read more...

How to solve Textmate slowdown on focus

in Tips
On Friday I was having slowdowns on Textmate focus. I never had this problem before and this “bug” was only happening on this given project. I had to wait for about 5 to 10 seconds to be able to use my text editor. Really annoying when you need to switch beetween your editor and a web browser to ...

Read more...