makandra dev

Basic error pages To add a few basic styles to the default error pages in Rails, just edit the default...

If - for whatever reason - you have to render stylesheets dynamically, the following snippet might be of help. It emulates what...

Git commits should be very deliberate, and only contain changes that you really want to be in there. In order...

Our old solution for cronjobs, the "craken" plugin, is no longer maintained and does not work on Rails 3.2+.

blog.alexmaccaw.com

Over the next year, there are a number of technologies coming down the pipeline that have the potential to radically...

You know that you can force absolute URLs throughout a response. Now you want to modify URLs similarly, but only...

Capybara uses www.example.com as the default hostname when making requests. If your application does something specific on certain hostnames and...

darwinweb.net

Hopefully you are using Psych for everything, but if you have legacy Syck YAML files lying around you could be...

ActiveRecord has a feature called counter caching where the containing record in a has_many relationship caches the...

Cards can now be flagged as "Repeating". Every Wednesday, some of these cards will be moved back to the top...

For two years we've been using SearchableTrait which gives models the ability to process Googlesque queries like this: Contact.search...

Selenium cannot reliably control a browser when its window is not in focus, or when you accidentally interact with the...

When you want to copy/move from a shared folder (on Windows guests, for example) and it fails with absurd error...

When you are trying to install/update VirtualBox Guest Additions on your guest machine but the setup is for a different/older...

Xfce gives you a million options to configure your panels. Together with Xfce's sometimes arcane configuration UI, this can...

If you tried out Compiz on top of Xfce and found it to be a world of pain like me...

If you can now longer hear or record sounds after upgrading Ubuntu, you probably need to re-tell Ubuntu which...

So you have multiple screens under Xfce and want to have one task bar on each screen, only showing applications...

blog.pivotal.io

So you are debugging like a boss and lost track of where you actually are in your code? No problem...

odyniec.net

imgAreaSelect is a jQuery plugin for selecting a rectangular area of an image. It allows web developers to easily implement...

makandra dev
yconst.com

Freetile is a plugin for jQue­ry that en­ables the or­ganiza­tion of web­page con­tent in an ef­ficient, dynamic and re­spon­sive layout...

makandra dev
github.com

The gem author Jonas Nicklas highlights in a Google Groups post that the release is not backwards compatible to 1...

ebobby.org

A technique to vastly reduce the number of join model records that need to be stored in the database.

Setup the mirror by following the steps described here. If you want to enable OS upgrades using do-release-upgrade...