Note that if you plan to freeze your Firefox versions because your Selenium tests break whenever Firefox updates, there is...
Sometimes the Rails helper #distance_of_time_in_words is using too much magic. When you need a time difference...
Pdfposter is a Python script that allows to convert large PDFs into a PDF with multiple pages that can be...
I recently browsed through the ActiveSupport code and found some nice stuff I did not know about: ActiveSupport::Callbacks
Consider this HTML: Even though the surrounding container defines a line-height, which vertically centers its inline elements, the check...
When the Ruby parser module of Ruby-GetText comes across a file in one of its search directories (e.g. lib/scripts...
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 want to use the (badly implemented!) solarized color scheme in your Rubymine IDE: Clone the IntelliJ IDEA port...
This article from the FreeBSD Handbook suggests that editing /etc/rc.conf enables DHCP. Unfortunately, some times this seems not sufficient.
Open up your "Base File.sublime-settings" (Preferences Menu → File Settings – User) in Sublime Text 2. Add entries for font_face...
We have a big flat screen TV (Samsung LE46c650l1kxxu) in our conference room. Configuring it properly, we were encountering some...
If you use Amazon AWS cloud services you definitively want to utilize software raid for IO intensive stuff such as...
Date::Performance is a gem that replaces various method in Ruby's Date class with fast C implementations. Unfortunately it...
If you use Nginx with SSL and get an intermediate certificate with your certificate you have to do this:
Detecting if a Javascript is running under Selenium WebDriver is super-painful. It's much easier to detect the current...
Whenever you deploy using Capistrano, a new folder is created within the releases directory on the remote server containing the...
Attached is a working config to deploy an application with Capistrano that needs to monitor Resque workers with God.
Vim allows recording a batch of commands as a macro. This is handy if you need to do the same...
Hint: There's another card with this helper for Cucumber features. Sometimes you feel like you need to stub some...
To avoid sending e-mails containing sensitive data unencrypted I strongly suggest you enable a confirmation dialog. Enigmail can show...
The Capybara API is somewhat hard for parse for a list of methods you can call on a Capybara node...
tl;dr: Always have your attachment path start with :rails_root/storage/#{Rails.env}#{ENV['RAILS_TEST_NUMBER']}/. The directory where you...
If you get the error "413 Request Entity Too Large" from Nginx client_max_body_size is too low (default...