Selenium has been the siren song that continually calls out to us. Unfortunately, in practice we’ve been unable to...
This note describes how to setup a box running Ubuntu to share its Internet connection with another PC.
Terminus is a Capybara driver where most of the driver functions are implemented in client-side JavaScript. It lets you...
Be careful when using params.merge as params is a HashWithIndifferentAccess. Why? Usually this should not be an issue but it...
I prefer the application that I'm currently working on to be reachable at http://localhost/. So when I switch...
If you previously used version 2.x of Thunderbird and upgraded to 3.x (for example through an Ubuntu release...
Note that you should disable the Java plug-in in your browsers after installation. Ubuntu >= 12.04 Java 11
You should test the callback methods and its correct invocation in two separate tests. Understand the ActiveRecord note before you...
First of all: You could just use RVM which would make the pain go away. If for some reason you...
To return non-HTML responses (like XLS spreadsheets), we usually use the respond_to do |format| format.xls do # send spreadsheet...
Rails 3, 4, 5, 6 config/application.rb config/environment.rb before the initialize! call (we don't usually edit this file)
Update RubyGems and Passenger Bundler requires Rubygems >= 1.3.6. Run gem update --system if you have an older version.
Sometimes files attain executable-flags that they do not need, e.g. when your Windows VM copies them over a Samba...
When working with times and dates in Rails applications, you need to deal with the following problem: In Rails, Time...
Show all sockets (Unix & TCP/UDP), both listening and established ones: netstat -anp To limit the output e.g. to listening TCP...
An alternative to this technique is using VCR. VCR allows you to record and replay real HTTP responses, saving you...
Ubuntu lets you mount an SSH shell into Nautilus from Places -> Connect to server (select "SSH" as server type).
In a nutshell: to avoid your shell character set from messing with imports, use -r to export and SOURCE when...
See the lemonade descriptions. Unfortunately, the gem has a few problems: it does not work with Sass2...
When you need to patch an existing gem, one way is to "vendor" the gem by copying it into the...
sudo gem install zip git clone git://github.com/rtomayko/date-performance.git cd date-performance rake package:build cd dist sudo gem install...
JSViz makes it easy to create dynamic 2D views of information. Practical applications include network graphs, navigation, and other dynamic...
Jasmin is an assembler for the Java Virtual Machine. It takes ASCII descriptions of Java classes, written in a simple...
After 2 1/2 years of blood, sweat, tears, and the occasional Jägermeister, I’m finally officially announcing a project I...