I favor a 'scratch' or 'junk' dir in each project. Source that I know I don't need now, but want to keep around. grepping for terms will often find a chunk of code I wrote that nearly solves a new problem.
Version control is not so easy to search, particularly if you're looking for a utility that you think is live in the project.