How to read one non-blocking key press in Ruby
During the development of a simple command line game in Ruby, I wanted to check if the player has pressed a given key in a non-blocking and buffered way. That is: If no key was…
During the development of a simple command line game in Ruby, I wanted to check if the player has pressed a given key in a non-blocking and buffered way. That is: If no key was…
I just got the chance to participate to last week-end Elder Scrolls Online Beta session. Woot! That was awesome to get back to Tamriel, and I enjoyed it both as a gamer and a developer/tester…
Lately I discovered Docker. I made a quick presentation on it for the rivierarb meetup of february 2014 (slides available). As an example of Docker’s usage, I decided to make something cool: a Rails cluster,…
I’ve got through a bit of a hurdle to get Ruby 1.9.3 installed on my shared host. My host is PlanetHoster, but this walkthrough should work with any host giving you a decent development suite…
Many times I have come across the need to serialize a whole bunch of Ruby objects, with all their references. This is often useful to save the state of a program at one point, and…
Do you know Monit? You definitely should. This is a high-quality and mature Open Source project, very well documented, that can monitor all your system resources (global and process-based). It is lightweight, efficient, can take…
In my struggle to have complete Rails3 environments setup in shared web hosts, the deployment step was missing. Lately I managed to deploy Rails3 Unicorn applications using Capistrano on a shared web host, as a…
Lately I tried to install a complete Rails 3 nginx unicorn web stack on a shared host without root privileges, in my user home directory. Ruby and Rails3 setup nginx setup Unicorn setup Unicorn setup…
Lately, I received a TF300TG Asus Transformer Pad, shipping with a stock Asus JellyBean (Android 4.1.1) OS. It is awesome, reactive, playful, efficient, has 3G connectivity with a SIM card slot… but does not have…