Here's a little snippet that'll entertain the vast throngs of people who are interested in both Rock Paper Scissors strategy and Django unit testing.
for futile_attempt in range(100):
Round.objects.create(game=self.normal_game,
initiator_choice=self.rock,
opponent_choice=self.rock)
self.failUnlessEqual(self.normal_game.result(), UNRESOLVED)


Pipe Viewer (pv) is Pretty Swell
A pretty common task in my workflow is updating my development database to what's currently on the live servers. The database isn't too large, but it does take about 30 seconds to import -- and I do positively loathe not knowing what's going on. Enter pipeviewer! I remembered reading a post that was linked off reddit some number of internet decades ago.
With this mighty tool in hand, I set to apply it to those 30 seconds of terrifying mystery that MySQL was plaguing my dreams with.
And like magic, a beautiful progress bar was rendered. Life had incrementally improved.
I'd also recently used pv to watch the progress of dd-ing an ISO onto a USB stick, like so: