Setting up SQL logs in Rails 2 and 3 console
When developing Rails applications, it is often desirable to see what ActiveRecord is doing behind the scenes when using the console. By default, log messages in script/console (Rails 2) or rails c...
View ArticleGet the public / local IP of your EC2 instance via command line
While you can get the public and private IP address of your Amazon EC2 instance via the AWS Console, it may be extremely useful to query it from anywhere you can make an HTTP request, such a shell...
View ArticleA thought about Know-how
When a company says that they have dozens of thousands of experience doing <add something here>, but they let their valuable employees leave just like if they didn’t mean anything, the company is...
View ArticleAcessing a local machine from the outside using a reverse proxy
This is really neat: have you ever wanted to access your local machine or any other computer that it’s located in the local network from the outside world? I did, many times. The first and most common...
View ArticleZero downtime deploy script for Jetty
One of the challenges when developing Java web applications is to deploy new versions of the app without any perceptible downtime by the end users – in fact, this impacts virtually any platform,...
View ArticleApache remote logging with rsyslog
One of the challenges of running a cluster of webservers is to decide where to store the log files for post-processing, considering they are relevant for you for any reason. The first approach most...
View ArticleHow to fix “VT-x locked or unavailable in MSR” in VirtualBox
While following the tutorial on How to install OS X Mountain Lion in Virtualbox with iAtkos from the good folks of MacBraker I came accross the error “VT-x locked or unavailable in MSR“, which was...
View ArticleProject Linker for Xamarin Studio
When working in C# projects that target multi plataforms and need to have a high code reuse ration, like those that must run on iOS, Android, Windows Phone and any other desktop platform where .NET...
View ArticleDocument your code and live a happier life
Programmers and documentation have a long history of hostilities. I believe that (good) documentation is a vital part of any software that is made to live more than a few days, specially when there are...
View ArticleFix for Genymotion error “The virtual device got no IP address”
Genymotion is an amazing tool to speed up Android development and testing. It is much faster and stable than those crappy and slow Android AVD that Google still can’t get to work right almost a decade...
View Article