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

makandra dev

AWstats is build to regularly run on webservers. If you want it to build a report once, here is the...

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

github.com

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

This error can be caused by the mysql2 gem under mysterious circumstances. You need to remove it with gem uninstall...

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

blog.johnnovak.net

Good article about what "gamma correction" means for color processing, and what "sRGB" actually means. You probably do not need...

makandra dev

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

api.rubyonrails.org

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

A few releases back, Chrome started using a Material Design UI on desktop. If you don't like it (on...

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

makandra dev
ohshitgit.com

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

There is no build in functionally in jQuery and Prototype to extract params from a url. You can use this...

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

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

makandra dev

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

makandra dev

Promises are the new way™ to express "Do this, and once you're done, do that". In contrast to callbacks...

On OSX (real or inside Browserstack), you need different keystrokes for your favorite special characters than you'd use on...

speakerdeck.com

Presentation about optimizing Ruby on Rails apps. From Nico Hagenburger (homify's lead frontend developer).