If you are trying to inspect timings in JavaScript, you can use console.time and console.timeEnd which will write to your...

Development environment setup Rails Composer Basically a comprehensive Rails Template. Prepares your development environment and lets you select web server...

makandra dev

Just found out about a great feature in Rails that seems to be around since Rails 2. Start a console...

makandra dev
redisdesktop.com

"Redis Desktop Manager (aka RDM)— is a cross-platform open source Redis DB management tool (i.e. Admin GUI). Redis Desktop...

When you are working with Backbone models and inheritance, at some point you want to overwrite inherited methods but call...

kadin.sdf-us.org

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

In /etc/rc.local add: service bluetooth stop

visualpharm.com

Icons Sizes for Windows, MacOS X, iOS, Android and Linux. It's a mess!

TLDR: This card explains which threads and processes interact with each other when you run a Selenium test with Capybara...

If you have multiple monitors and want to share a given screen with your call partner, drag the caller window...

In Ruby, classes and modules are called constants. This card explains how Ruby resolves the meaning of a constant.

Modern IRB has time measurement built in. measure # Enable measure :off # Disable Custom Should your version of IRB not offer...

Assert rmagick provision ... Gemfile gem 'rmagick', '2.13.2' # at this moment the latest stable version config/initializer/carrierwave.rb require 'carrierwave/processing/rmagick' ... and define a...

Use protocol independent URLs whenever possible so that the browser will choose the protocol related to the protocol which the...

fontawesome.io

Font Awesome 4 has renamed all icons. What the fuck. Check the attached link for an icon list for the...

Today I ran into trouble installing therubyracer on Ruby 1.8. The installation failed with *** extconf.rb failed *** Could not create Makefile...

If you need to enable NewRelic monitoring on certain machines within the same Rails environment, a simple solution is to...

Ubuntu has a package mysql-sandbox that lets you install multiple MySQL versions into your user home: Install mysql-sandbox...

It is good programming practice to Don't Repeat Yourself (or DRY). In Ruby on Rails we keep our code...

developer.rackspace.com

Establishing a new SSH connection usually takes only a few seconds, but if you’re connecting to a server multiple...

So you client has asked you to implement a row of buttons to like the URL on Facebook, Twitter and...

| Chrome | CTRL+Shift+J | | Firefox / Firebug | CTRL+Shift+L |

makandra dev

The mysql2 gem in version 0.3.13 might break while compiling on older patch releases of Ruby 1.9.3 within rvm: