Code Snippets: Where do I keep them?
<p>Is there a tool or process for keeping your functions, selectors and 'for loops' handy and search-able for future use? I use nothing and am re-learning occasionally for a similar problem I've already solved. </p>

<p>background:
I'm progressing into jQuery and Javascript and am starting to see some repeating patterns like building complex selectors, iterations to build JSON menus etc.</p>

<p>But I don't have a computer science background so I feel like I'm missing some fundamental 'code library' part of my daily work.</p>
