Coffeescript allows you to create classes whose methods are automatically bound to the correct this. You can do this by...

Merge requests are often rejected for similar reasons. To avoid this, before you send a merge request, please confirm that...

makandra dev
rakeroutes.com

Put the attached files into your home directory and enjoy. .irbrc defines interesting_methods, which is essentially all methods without...

github.com

Essential backports that enable many of the nice features of Ruby 1.8.7 up to 2.0.0 for earlier versions.

Our development process makes us deploy very often. As the number of releases grows, junk clogs up the hard drive...

makandra dev
askubuntu.com

Good article that tells you how to change behavior of certain keys via xmodmap (with the help of exv if...

Back in the old days, we couldn't do something like that: .foo { position: absolute; bottom: 0; /* This was bad...

Capybara drivers will usually delete all cookies after each scenario. If you need to lose cookie data in the middle...

To reset the position of split dividers, drag all the dividers out of the screen. Then turn off splitting and...

You have multiple options: Just don't have a type column. All STI magic will be disabled automatically.

In order to clone a git repository including all branches and tags you need to use two parameters when cloning...

When you need to find out in which kind of spec you are during run-time, it's definitely possible...

Sometimes you need a piece of code to do something different for specs than for features. If you don't...

Sometimes you want git to ignore certain files that appear on your machine. You can do this in 3 ways...

When your site is on HTTPS and you are linking or redirecting to a HTTP site, the browser will not...

makandra dev

git shortlog -s -n [commit-range] -n, --numbered Sort output according to the number of commits per author

Option 1: Creating a self-signed certificate with the openssl binary As igalic commented on this gist. openssl req -new...

Getting a regular expression from a string in JavaScript is quite simple: new RegExp('Hello Universe'); # => /Hello Universe/

When HTTP clients make an request they can define which response formats they can process. They do it by adding...

Authentication is hard: there are many edge cases, and most users (including yourself) usually only go the "happy path" once...

We have often felt the pain where our models need to serve too many masters. E.g. we are adding a...

When you want to do a git diff but do not care about the full diff and just want to...

You can detect city and country from an IP address by using the GeoLite database. This is a flat file...

We ran into trouble when adding additional compute units to our railscomplete Hosting environment lately. VM-instances on the new...