makandra dev
tom.preston-werner.com

A perfect implementation of the wrong specification is worthless. By the same principle a beautifully crafted library with no documentation...

A great two-part article about various hacks you can use to create great-looking screen designers when you're...

stackoverflow.com

Have you ever opened a file with vim, edited it and when you wanted to save your changes it told...

makandra dev
github.com

Shortener is a Rails Engine Gem that makes it easy to create and interpret shortened URLs on your own domain...

Settings -> Editor -> General -> Smart Keys -> Unindent -> To nearest indent position RubyMine 7.0: Settings -> Editor -> General -> Smart Keys -> Backspace...

If bower complains about a missing node binary, do not install Ubuntu's node package. Instead, you need to create...

Hash#fetch is a great way to ensure that a hash key is present. The error message when a key...

Rails migrations allow you to use a change method whose calls are automatically inverted for the down path. However, if...

Upgrading from Ruby 1.8.7 to 2.1.2 took me an hour for a medium-sized application. It involved hardly any changes...

For our production servers we use Passenger as a Ruby application server. While it is possible to use Passenger for...

makandra dev

Cucumber allows for prose in features and scenarios. Example: Feature: Cancel account There are several ways to cancel a user...

On your credit card summary, you will find order numbers of rides with Deutsche Bahn ("DB BAHN A-NR XYZ123...

Google Calendar integration into Thunderbird suddenly did not work any more for me. Thunderbird kept asking me for my password...

If you make a gem with Bundler, you will get a rake release task that will instantly publish your gem...

makandracards.com

This is a problem when using Selenium with Firefox. We recommend using ChromeDriver for your Selenium tests. Firefox will not...

metricsgraphicsjs.org

MetricsGraphics.js is a library built on top of D3 that is optimized for visualizing and laying out time-series data...

github.com

Using this gem I could get JSON generation from a large, nested Ruby hash down from 200ms to 2ms.

makandra dev

Confusingly, RVM installs the bundler gem into the @global gemset, which is available to all gemsets and Rubies.

By default, Twitter Bootstrap's print styles include printing links. /* Bootstrap's way of printing URLs */ @media print {

Restangular can make use of $http's built-in response cache. # Cache response for single request Restangular.one('accounts', 123).withHttpConfig...

makandra dev
draggabilly.desandro.com

Javascript library for drag'n'drop that seems to have more options than native HTML5 drag'n'drop.

To bind an HTML value to ng-bind-html, you need to mark it as "trusted" first. Among other ways...

When you need to check a value for presence, don't rely on JavaScript since it considers 0 or "0...

makandra dev

Put the font files (e.g. ttf) into ~/.fonts Run fc-cache -v Or, if you prefer to use the GUI...