Nathan has been posting code tidbits on WSE.