When you are working with Backbone models and inheritance, at some point you want to overwrite inherited methods but call...
Sometimes you have a test expectation but actually want a better error message in case of a failure. Here is...
Put the attached file into features/support/. Example usage: When /^I open the task named "(.+?)"$/ do |task_name| task = page.all('.task...
This is just a quick note, mostly for my own reference, of a few ways to easily delete the dot...
RulersGuides.js is a Javascript library which enables Photoshop-like rulers and guides interface on a web page Also available as...
If you have a text that is edited by WSYIWYG-Editor but want some length checking nevertheless, you need to...
Sometimes you want to strip a text of every special char. If you use \W, the result might not be...
Mornings can be rough. To make them a little easier, leave yourself a failing test if your work isn’t...
After I upgraded to Mac OS X Mavericks, I regularly got this error message when running Cucumber features with Selenium...
Nice thoughts about marketing and sales for developers.
Warning: Because of (unclear) rounding issues and missing decimal places (see examples below), do NOT use this when dealing with...
If you get this error while trying to resize an openstack instance: # nova resize fooinstance 16 --poll ==> /var/log/nova/nova-scheduler.log <==
If you recorded a bad fix for a conflict, you can tell git to forget that bad resolution:
Non-static elements will not inherit their parent's opacity in IE for no good reason. This can lead to...
Alternative approach to form models.
Rails 4.0 introduced a helpful new method for ActiveRecord queries: where.not. It can make clunky queries easier to read.
Introducing Trailer from HouseTrip, a simple menu bar app that helps you manage your GitHub pull requests. It’s one...
If you want to switch to another ruby versions, you have several options, depending on what you want: Do you...
Crazy hack. Might be useful one day. The code required has since been extracted into a library.
Colorizes code in LibreOffice Writer. Note that you need to create a paragraph style _code for this to work.
Publish/subscribe for Ruby classes. Bonus: You do not have to declare events before using them.
Clever hack to allow user interaction without Javascript (by using radio buttons and selecting on :checked).