Install and configure the AWS Command Line Interface Show existing certificates to test if the AWS Cli is working:
Ubuntu has a package mysql-sandbox that lets you install multiple MySQL versions into your user home: Install mysql-sandbox...
Rails has always included a scaffold script that generates a default controller implementation for you. Unfortunately that generated controller is...
There may be reasons to change the locale of your Postgres cluster. A popular one is your development system's...
So you're switching to PostgreSQL from MySQL? Here is some help... General hints on PostgreSQL \? opens the command overview...
| Chrome | CTRL+Shift+J | | Firefox / Firebug | CTRL+Shift+L |
For all late night coders: The program "redshift" changes your monitors' white balance according to your position on the planet...
Consul 0.10.0 now allows multiple power mappings for nested resources. When using nested resources you probably want two power
When you're writing migrations that do more than changing tables (like, modify many records) you may want some output...
Box shadows are awesome. Unfortunately they are also very costly to render. You will rarely notice the rendering time on...
Consul 0.9 comes with many new features to optimize powers that only check access to a given record. e.g. Power.current.post...
Create a 1 GB file to swap to (we have sufficient space on / on this machine. Use a different partition...
Next time you have to do more than trivial CSS changes on a project, you probably want to have live...
Set the hash to a dummy hash which doesn't hit any id at your page, for example: window.location.hash = "_";
Remember why preloading associations "randomly" uses joined tables or multiple queries? If you don't like the cleverness of this...
1. Saving files to a directory that is not shared between deploys or servers If you save your uploads to...
Active Record's select method allows you to make use of the power of MySQL select statements. On the one...
The Rails secret_token must be unique for each application and any instance of it. If not, someone could exploit...
Put the attached files into your home directory and enjoy. .irbrc defines interesting_methods, which is essentially all methods without...
Sometimes sound breaks for me and speaker output is completely broken. This helped: pulseaudio -k && sudo alsa force-reload
No chance you would have ever guessed it… sudo palimpsest
Note: These instructions are for a quick per-project setup and may require you to change code. If you generally...
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...