TurnKey Linux Virtual Appliance Library

Use the stash, Luke (git-stash)

I was in the middle of developing a new feature for the TurnKey Hub when I received a bug report that needed to be fixed.

What to do? Throw away my current changes? Checkout a clean branch? Of course not! Just stash my changes away, fix the bug, and get my changes back so I can continue development.

Tips for a cleaner chrome

As I discussed in a previous post (custom search engines for efficiency), I love simple tweaks that provide an improved workflow, don't make me think, and reclaim wasted screen real-estate.

With the release of Firefox 4, namely the new App Tab feature, I decided I would share some tips I've been using in Google Chrome, hoping others will find them useful.

Pictures are worth a thousand words, so:

Before:

Prevent double click on form submission

Recently I've been going over the Hub logs and fixing issues which have caused exceptions to be raised in the application.

One in particular had me stumped for a while. An exception was being raised in an attempt to unregister a server from the Hub, but the server did not exist in the database - in theory this is impossible and should never happen.

Convert a PostgreSQL database from LATIN1 to UTF-8

When we initially launched the Hub in private beta, we made the mistake of not specifying UTF-8 encoding in the database cluster, which had the unfortunate side effect of raising an exception every time a user would submit non-ascii characters in an input field.

Git - Fixing commit mistakes

I use Git. I use it a lot. I basically use it for everything I do, from code revision control to revisioning my notes, my journal, even my email archive (don't ask, it's a long story).
 
As with anything you do, you are bound to make mistakes.

Tip: use custom search engines for efficiency

I don't need to tell you how search improves our efficiency on the web, but using custom search engines can make your day even more efficient.
 
Configuring your browser to use custom search engines is a massive time gain, and improves your work flow.