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...
This note describes how to kick a user out of a Rails application after she hasn't requested an action...
When you create a temporary file (e.g. to store a generated Excel sheet) and try to send it to the...
Ubuntu comes with keyboard layouts like "Germany Eliminate Dead Keys", which are practical for programming. If you need to type...
In Rails 2, you could use link_to_remote...
...:update => 'id' to automatically replace the content of $('#id').
If you use Selenium and Launchy to open web pages, you might run into an error saying "Your Firefox profile...
Free Hoptoad/Airbrake alternative which can capture exceptions from any platform. It comes with a Rails notifier and a RESTful API...
This finally works: User.any_instance.should_receive(...) as does User.any_instance.stub(...) Note: You won't have RSpec 2.6 if you're still working...
Below you can find the hex color codes for the Color Graphics Adapter palette which used to be popular in...
Note that this card is very old. You might want to use ActiveType for your auto-coerced virtual attributes instead...
When have you last used your caps lock key? On purpose? Right... In Gnome Make it an additional ESC key...
You cannot say this because url_for only takes one parameter: url_for(@deal, :tab => 'general') # won't work
Leads to awesomeness and unicorns when used in production.
In order to use different encodings than ASCII for HTTP headers use the following syntax: Header-Key: Header-Value; Parameter...
We usually generate our commit messages from Pivotal Tracker IDs and titles, like [#15775609] Index view for conflicts
API breakage ahoy. You need to either upgrade your Capybara or downgrade your selenium-webdriver gem. Alternatively, this could solve...
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...
Note: Consider using MATE instead of Gnome 3 on newer system Awesome is a very good tiling window manager that...
We are changing our name from Hoptoad to Airbrake. You see, some folks much larger than us reached out and...
VirtualBox does not offer anything for this task -- you need to do it yourself. It's not that hard:
When you do a bitwise copy using the dd tool you will not see any output until it completes or...
Every time you open a directory containing images, Windows creates those pesky Thumbs.db files for a minor speed-up and...