This article outlines how I use a pre-commit hook and cog to keep my blog stats updated automatically.
There's 10 types of people in the world, those who know binary and those who don't.