What do you guys use to store and retrieve Snippets of code?

This screenshot probably best sums up how I use it.
I put a block of code (in this case creating a side-by-side figure in LaTeX), then the visualization or output for what the code does.


On the left is the hierarchical tag structure, which I really like. For instance, I have notes about the F2 area in monkey brains tagged with #monkey/f2, as seen in the screenshot.
To the right of the tags list is the notes list. As shown, I have four notes tagged #statistics.
The Bear developers are working on spotlight integration. Since my code snippets are mostly in Bear, I use its search feature. If they aren't there, I try spotlight or grep.

It occurred to me that people probably have different concepts of what constitutes a snippet. These notes are my conception and serve me well.