Discussion Ask HN: How do you keep track of small pieces of useful code? Is there some sort of Evernote for code? I'd love to be able to save small pieces of code with some accompanying documentation that describes how it works. 27 points nickelbob 8 years ago 28 comments