This article outlines how I use a pre-commit hook and cog to keep my blog stats updated automatically.
Have you ever heard of a maths problem based on Lord of The Rings characters?