I find myself googling to solve a problem, finding a piece of code and months later when I need to do it again when I have long forgotten it, I repeat the same thing.
It may be worth keeping a notepad, journal, or even a blog that you can document snippets and things you've learned if you're finding that you're using Google or StackOverflow often to try and solve the same problems.
I personally just keep around a handful of markdown files split up into different categories for things I use every few months, but can never remember the exact command or series of commands to accomplish it.
I've also had a few coworkers and friends who have hosted blogs (some public, some private) for the same purposes.
Documenting them in your own words will also likely help with the knowledge retention so you may even find that you won't need to look it up next time it happens.
Yeah that makes sense. Do you keep these files using a tool or just in organised folders right now? Could you link a public blog for reference? Would love to take a look. I have been taking notes sometimes like yourself but I find it hard to look them up later.
I have a single folders I call "Notes" with a handful of files that make up the arbitrary groupings and I keep a "notes.md" file in project folders for project specific notes I want to keep about.
For example, in the "Notes" folder, "wkhtmltopdf.md" contains some notes around issues I was experiencing in getting wkhtmltopdf setup in a new environment and the steps I took to resolve them. Whereas "general.md" just contains some Docker commands I do infrequently but can never remember the arguments I need each time and don't want to spend the time reading the docs and crafting the command again.
Periodically I'll spot something in my notes I haven't used in many months and I'll just delete them from my notes. Usually this is because I just remember the command/what to do after a while _or_ because it's just never cropped up again.
As for a public blog reference, here's an example of one that has a handful of blog posts with notes and they've used tags for grouping and looking up later on:
https://jwigley.com/
I personally just keep around a handful of markdown files split up into different categories for things I use every few months, but can never remember the exact command or series of commands to accomplish it.
I've also had a few coworkers and friends who have hosted blogs (some public, some private) for the same purposes.
Documenting them in your own words will also likely help with the knowledge retention so you may even find that you won't need to look it up next time it happens.