We often use VCR to stub external APIs. Unfortunately VCR can have problems matching requests to recorded cassettes, and these...

If you're trying to start a cloud-init based Ubuntu VM with KVM you will suffer long boot times...

SVG is an acronym for "scalable vector graphics". SVGs should be used whenever an image can be described with vector...

icomoon.io

Icomoon.io offers a free app to build custom icon webfonts. It offers downloads as webfont set (.eot, .ttf, .woff, .woff2...

#reverse_order does not work with complex sorting constraints and may even silently create malformed SQL for rails < 5.

1. Sometimes you have search entries in the autocomplete of the address bar, which are higher weighted than your bookmarks...

Detect if a gem has been activated A gem is activated if it is either in the current bundle (Gemfile.lock...

To get your F12 key back for other shortcuts, stop Tilda: killall tilda To prevent Tilda from starting on boot...

github.com

We have released a new library Gemika to help test a gem against multiple versions of Ruby, gem dependencies and...

Say you have an RGBA color that you need as a non-transparent color because of reasons. Basically, this is...

Same requests are recorded only once in vcr. Replaying a test fails, if you trigger the same request multiple times...

I've encountered a Ubuntu 16.04 today, where localhost resolved to ::1 instead of 127.0.0.1. This will not usually make...

makandra dev

These are Chrome plugins that proved useful at makandra. Each is the best-in-class. Dimensions Auto-measure distances by...

When you are calling Bundler from your shell scripts, you might find it useful that a failed bundle call returns...

api.rubyonrails.org

ActiveSupport::Notifications provides an instrumentation API for Ruby. It is used throughout rails to publish instrumentation events that include information...

Similar to our snippet that runs all Cucumber features matching a given string, the following will run all modified or...

You know those helper methods that just render some HTML but look weird because of content_tags all over the...

github.com

We have a new gem Minidusen which extracts Dusen's query parsing and LIKE query functionality. Minidusen can no longer...

ohshitgit.com

Git is hard: screwing up is easy, and figuring out how to fix your mistakes is fucking impossible. Git documentation...

Capistrano is by default configured to exclude the gems of the groups development and test when deploying to the stages...

weareoutman.github.io

ClockPicker is a JavaScript and Bootstrap implementation of an Android-style time picker which looks and feels great. Unfortunately, it...

You want Spring for super-fast binstubs like bin/rails or bin/rspec which avoid Rails boot time. You want parallel_tests...

Sometimes you might need to nest a git-project inside another git-project. The right strategy is to use submodules...

Things to check first Do you deliver fonts in a format that the target IE version understands? Did you double...