Never throw away code. The grand, unfinished project you abandoned can always be stripped for useful parts later. — Ryan C. Gordon (via Twitter)
I’m not one with a lot of code, but never a truer word spoken. Setting up a section to share all these useful snippets not only benefits yourself, but other people too. Just make sure you document it well though, so everyone understands what it’s doing.