Avoiding duplication of static files by using Mercurial hooks.
The one you're reading right now, in fact!
Use of Python's context manager syntax to ape a switch-case statement.