Whenever Firefox updates, all your Cucumber features that use Selenium break. This is annoying. In order to remedy this, version...
If you have different users for different servers, don't use set :user. Encode the username into the server definition...
There is a bug in Rails 3's dbconsole script, which makes the following command open a database console for...
Microsoft provides virtual machine disk images to facilitate website testing in multiple versions of IE, regardless of the host operating...
Great blog with daily news and HOWTOs for Ubuntu, Linux and Gnome.
I believe that when WEBrick has trouble bringing up your Rails application, the WEBrick component that is supposed to print...
DeaDBeeF is one of the better music players for Linux. You can find installation instructions here.
Note that converting from RGB to CMYK will usually degrade your colors because no exact mapping is possible. Anyway, this...
Use the PDF toolkit: sudo apt-get install pdftk To rotate page 1 by 90 degrees clockwise: pdftk in.pdf cat...
Linux provides a fix number of filesystem watches. If you have some greedy daemon (like dropbox) running, chances are it...
Do you wonder which databases are actually taking up how much space but only have one huge ibdata1 in your...
Grep prints one line per match. To return the number if matches, use the -c switch: grep -c "something" filename...
If you use Amazon AWS cloud services you definitively want to utilize software raid for IO intensive stuff such as...
Whenever you deploy using Capistrano, a new folder is created within the releases directory on the remote server containing the...
Under the same origin policy, a web page served from server1.example.com cannot normally connect to or communicate with a server...
This is now part of geordi. Please don't follow the instructions below, if you use geordi. Inspired by the...
When you have a program running in a hidden X screen (like with Xvfb for Selenium tests) you may want...
Resque comes with its own dashboard (Resque server) that you can mount inside your Rails 3 application with #config/routes.rb:
Note: While the solution in this card should still work, we prefer another solution now: Hide your Selenium browser window...
Note: If you are currently working with Ruby 1.8.7 or 1.9.3, we recommend to upgrade to Ruby 2.1 first. From...
Ubuntu comes with keyboard layouts like "Germany Eliminate Dead Keys", which are practical for programming. If you need to type...
Sometimes you need a file of some size (possibly for testing purposes). On Linux, you can use dd to create...
Some folks have started to keep their linux configuration in a git repository called "dotfiles". This sounds like a good...
VirtualBox does not offer anything for this task -- you need to do it yourself. It's not that hard: