This was a very neat post from ages ago:
I’m sure there are dozens more, but that was the only one I had bookmarked!