I keep a 3-ring binder as a journal of code snippets & interesting function
solutions from past projects. I 'log' the date in the upper right page corner
then give it a functional 'category' it relates to. A spreadsheet is kept by
sorting on the category then sorting by date. Pretty easy to find related info
pretty fast.