Ask HN: What do you use to store code snippets from around the web?

3 points by strimp099 ↗ HN
Web based, free, with the ability to add comments for context and organize into projects. For example I would track different code snippets relevant for different projects.

6 comments

[ 2.7 ms ] story [ 23.4 ms ] thread
Github Gists are good. They are discoverable, can be made private or public. They can be forked, stared and linked too.

I've also been publishing "emerging tech" snippets on my blog. They appear on a carousel on the bottom of the home page. This is good to showcase expertise in a particular language or framework.

https://thescottkrause.com/

I don't. Do people do this regularly?
First time I've heard about it, other than that one time I saw someone (a senior to me) look up the syntax for a for loop :s