Deprecated ways to execute shell code in Ruby This is just a reference for legacy code. For new code, always...
You probably already manage servers you often connect to inside the ~/.ssh/config file. What is nice: you may define alias...
When your cucumber features grow massively over time, the test execution can take a lot of time.
If you copy the data files of a VirtualBox machine to another PC without exporting it as an .ova appliance...
Soon after having written our shell-for script, we wanted to easily get dumps of our productions machines, too. This...
After having written useful scripts into makandra notes for a long time, we’ve now tied them into a powerful...
This card shows you how to center a float horizontally in CSS. Also: find out what techniques are available for...
If you manipulate the DOM with JavaScript and your page contains nested elements with position: relative, chances are Internet Explorer...
Recent versions of the Faker gem retrieve their strings from your locale file (e.g. config/locale/de.yml). This leads to awesome errors...
Since May 2011 we are cutting new gems using Bundler, which is less painful than cutting gems using Jeweler. You...
Wrapping a string in this class gives you a prettier way to test for equality.
This is an awful way to test whether a number is shown on the screen: Then I should see "5...
Install FreeBSD Download a suitable image from this site Select File > New… to and follow the instructions, choose the .iso...
Capybara allows you to select DOM elements, e.g. by using field, find_field(...) or field_labeled(...): role_select = field_labeled...
These steps are now part of Spreewald. Here are some useful examples how to use the attached Cucumber Timecop steps...
Today I needed to execute a ruby gem executable with sudo. But, surprisingly, bash would tell me command not found...
Remember that your controller actions share the same method space with private methods defined in ActionController::Base. If your controller...
Sometimes PDF cucumber tests fail at the first test run and succeed at the second run. You can fix this...
If you need to strip carriage return characters from a text file, you can use Vim: vim file.txt
We regularly need to connect to the server in order to e.g. access the production console. Guessing the Capistrano deploy...
If you’re a Mac user and want to increase the security of your data, check out the attached paper...
Internet Explorer 5+ is aware of conditional comments that let you target HTML for selected versions of IE. For example...
When you simply want to get to know Puppet, follow puppetlabs’ Learning Puppet Docs. They give you a handy introduction...
Although regular expression syntax is 99% interchangeable between languages, keep this in mind: By default, the dot character (".") does not...