I do something similar, but I have one file technotes.md open all the time and just append snippets/commands/URL's/TIL's to the bottom with a date stamp and a hopefully findable comment.
Some notes are referenced constantly, and some I've probably never looked at again. The interesting thing is it's hard to predict when adding which one it will be...