So you want to know if you are on natty, precise, quantal, or something else? Check /etc/lsb-release. $ cat /etc/lsb-release

This error can happen in Ruby 1.9. To fix it, add the following line to the top of your .js.erb...

If you need to capture signatures on an IPad or similar device, you can use Thomas J Bradley's excellent...

If others on a call (Skype, SIP, ...) can not hear you loud enough, your volume levels are probably too low...

makandra dev
clicktorelease.com

This is awesome. Only ran smoothly in Chrome. Is a slideshow in Firefox.

Ruby has two different ways to match the start and the end of a text: ^ (Start of line) and $ (End...

If git gives you an error message such as "fatal: bad config file line 123 in .git/config" after you tried...

Do not investigate in the 2342 tools that exist for migrating IMAP accounts from one server to another. They all...

aws.amazon.com

Amazon Elastic Transcoder is video transcoding in the cloud. It is designed to be a highly scalable, easy to use...

We recently had a problem on a Memcache cluster, where one of the servers showed a significantly worse cache hit...

makandra dev
jakiestfu.github.com

Behave.js is a lightweight library for adding IDE style behaviors to plain text areas, making it much more enjoyable to...

validates_uniqueness_of is not sufficient to ensure the uniqueness of a value. The reason for this is that in...

developers.google.com

The attached article outlines considerations when choosing client-side vs. server-side implementations of the Google Geocoding APIs (geocoder, directions...

Calling bundle update GEMNAME will update a lot more gems than you think. E.g. when you do this...

Apache HTTP server benchmarking tool (ab) is a nice tool to test performance on sites delivered by HTTP. If the...

Use Socket.gethostname. So for a machine whose hostname is "happycat", it will look like this: >> Socket.gethostname => "happycat" That should work...

When doing a git blame, git will blame the person who added or removed white space in a line (e.g...

As attachments to this card you will find a Cucumber feature and supplementing step definition that you can use to...

I was unsatisfied with the existing memory status applets for the Xfce panel, so I wrote a little shell script...

durdn.com

This article contains: Making ‘git diff’ wrap long lines Set a global proxy Clone only a specific branch

makandra dev

The bash offers control over the behavior of autocompletion. The most primitive example is this (just run it in your...

When searching for text in a MySQL table, you have two choices: The LIKE operator FULLTEXT indexes (which currently only...

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