I feel like keeping a journal/working notes is an underused tool by most programmers. It's amazing how often I think. "What was that bash command I used 9 months ago" or " What project was I working on 2 years ago. I actually keep 4 separate ones. In order that I started doing them.
0. A personal journal that just tracks what I'm doing and how I feel about it. Both work and personal
1. A work version of "How To" any time there's an arcane command, or set of steps I need to perform on an irregular basis.
2. A work $current_project working notes. This is just a brain dump of every thing I'm thinking about for it and every piece of information I need.
3. A personal $current_project working notes.