Bounga's Home

Effectivly manage a static website with Nanoc

in Ruby
Couple months ago I was working on my personal website that I decided to re-write from scratch since most of the existing things had to be scratched off and replaced.

This site has a really simple purpose: present myself, my knowledges and projects I work on. A way for potential customers & ...

Read more...

Chef - Setup remote server seamlessly

in Unix
Chef is a Ruby Gem which aims to help sys admins in the process of managing servers.

Chef brings the ability to write ruby code rather than running commands on the servers to manage them. You’ll be able to install softwares, create users, write configuration files and so on through code.

...

Read more...

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 k...

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 a...

Read more...