If you want a widget for awesome that runs a command regularly (every X seconds) and puts the output into...
Note: These instructions are for a quick per-project setup and may require you to change code. If you generally...
Option 1: Creating a self-signed certificate with the openssl binary As igalic commented on this gist. openssl req -new...
Create a directory mkdir ~/.aws Initialise git repository cd ~/.aws && git init Create a git branch with a name you...
We ran into trouble when adding additional compute units to our railscomplete Hosting environment lately. VM-instances on the new...
Usually, the logrotate service takes care of renaming log files each night or so to avoid logs becoming huge. That...
When you use ab to do some performance benchmarking, you might run into output like this: Complete requests: 200
Here is a hacky way to load dumps directly from the source server, without fully copying them over and extracting...
Given you use Capistrano together with bundler to automatically install your gems when deploying. I recently had the problem that...
JavaScript has no built-in functions to compare two objects or arrays for equality of their contained values.
JavaScripts and CSS should be minified for production use. In Rails 3.1+ the asset pipeline will take care of this...
If you need to capture signatures on an IPad or similar device, you can use Thomas J Bradley's excellent...
This is awesome. Only ran smoothly in Chrome. Is a slideshow in Firefox.
You probably know that you can use CSS selectors to match against elements and their attributes, such as:
Do not investigate in the 2342 tools that exist for migrating IMAP accounts from one server to another. They all...
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...
validates_uniqueness_of is not sufficient to ensure the uniqueness of a value. The reason for this is that in...
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...
The Out-of-Band Work feature allows one to perform arbitrary long-running work outside the request/response cycle without blocking...
Geordi now has a script that runs capistrano with all known deploy targets (i.e. staging, production...). Use with geordi capistrano...
Apache HTTP server benchmarking tool (ab) is a nice tool to test performance on sites delivered by HTTP. If the...
If you say git stash, your stashed changes will be identified with an automatically generated message: $ git stash