Hi, where do you guys save code snippets and/or cli commands that you have just learned before you memorize them?
Ask HN: Where do you save code snippets or cli commands
1–10 of 14 posts
Re: Ask HN: Where do you save code snippets or cli commands
#2.zsh_history with no limit has served me well for a decade
Re: Ask HN: Where do you save code snippets or cli commands
#3I use a simple personal Wiki that I made: http://wikitten.vizuina.com
Re: Ask HN: Where do you save code snippets or cli commands
#4I've been using https://snipt.net for the last 6 years.
Re: Ask HN: Where do you save code snippets or cli commands
#5I've created a .org file that I keep with useful commands / code that I reference pretty often. I keep it in my Dropbox folder so I can access and update it from any of the computers I work on. Seems to do the job.
Re: Ask HN: Where do you save code snippets or cli commands
#6Google Keep.
Re: Ask HN: Where do you save code snippets or cli commands
#7I'm using https://github.com/xolox/vim-notes and create files for each topic. Recently I could help my colleague by exporting my mongodb-related notes to markdown and publish it for him.
Re: Ask HN: Where do you save code snippets or cli commands
#8many open notepad documents :D :D
Re: Ask HN: Where do you save code snippets or cli commands
#9Notational Velocity. Using for past 4 years.
Re: Ask HN: Where do you save code snippets or cli commands
#10I've been using gists. Does that seem like an ok idea? My only complaint is that they don't show up in google searches or when someone looks at my profile in github so I don't really get to share them by default.
I also keep forgetting my password :-(