relishapp.com

Sometimes you have a test expectation but actually want a better error message in case of a failure. Here is...

makandra dev
github.com

Put the attached file into features/support/. Example usage: When /^I open the task named "(.+?)"$/ do |task_name| task = page.all('.task...

kadin.sdf-us.org

This is just a quick note, mostly for my own reference, of a few ways to easily delete the dot...

makandra dev
mark-rolich.github.io

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...

blog.buildbettersoftware.com

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...

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 <==

blog.plenz.com

If you recorded a bad fix for a conflict, you can tell git to forget that bad resolution:

jacklmoore.com

Non-static elements will not inherit their parent's opacity in IE for no good reason. This can lead to...

makandra dev
github.com

Alternative approach to form models.

makandra dev
robots.thoughtbot.com

Rails 4.0 introduced a helpful new method for ActiveRecord queries: where.not. It can make clunky queries easier to read.

dev.housetrip.com

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...

css-tricks.com

Crazy hack. Might be useful one day. The code required has since been extracted into a library.

extensions.libreoffice.org

Colorizes code in LibreOffice Writer. Note that you need to create a paragraph style _code for this to work.

makandra dev
github.com

Publish/subscribe for Ruby classes. Bonus: You do not have to declare events before using them.

If your terminal has many tabs, you'll want to keep them organized. To change their title from the prompt...

makandra dev
cssdeck.com

Clever hack to allow user interaction without Javascript (by using radio buttons and selecting on :checked).

I had a huge MySQL dump that took forever (as in: days) to import, while I actually just wanted to...

coderwall.com

There seems to be no way to use therubyracer -v '0.11.4' and libv8 -v '3.11.8.17' on OS X Mavericks.

pngquant.org

pngquant is a command-line utility and a library for converting 24/32-bit PNG images to paletted (8-bit) PNGs.