Completely agree! I use org-mode for this, I start a new * section every day with a date.
I also use hashtags like #link, #question, #note, #todo, #done, so I can easily search through them.
When I encounter some error, I write down the error, add a hashtag by the topic (like #docker or #ubuntu or #stripe), then URL for a solution I found (like stackoverflow), then a snipped of code that solved it with a brief explanation.
At this point my notes.org is 7.7 megabytes long and contains all the notes from every day of the past several years. So when I encounter an error I've solved before I just do the search and immediately find the solution.
Also I mark all the important thoughts and insights with >> at the beginning of the line, so I can search for ">>" and find a summary of all the most important insights I've learned over the past month.
I also use hashtags like #link, #question, #note, #todo, #done, so I can easily search through them.
When I encounter some error, I write down the error, add a hashtag by the topic (like #docker or #ubuntu or #stripe), then URL for a solution I found (like stackoverflow), then a snipped of code that solved it with a brief explanation.
At this point my notes.org is 7.7 megabytes long and contains all the notes from every day of the past several years. So when I encounter an error I've solved before I just do the search and immediately find the solution.
Also I mark all the important thoughts and insights with >> at the beginning of the line, so I can search for ">>" and find a summary of all the most important insights I've learned over the past month.