When I was first learning UNIX many years ago a grey-beard told me to always keep a spiral bound notebook and pen at my side. It was great advice. Jotting down the arcane commands committed most of them to memory, for the rest my black little spell book held the magical incantation for any situation. I've since gotten away from that habit. Perhaps I should follow this fellow's lead.
I love this technique! I take notes in a small notebook during the day and then look back at in the evening to see if there is anything worth TIL'ing about.
I do this when learning a new language I know I want to know most of the STL of. Of course, most languages have similar functions for strings, lists, etc., but it helps a lot. Currently doing it for Elixir.