For years I’ve kept snippets of code in a file that I refer to when I need a cookbook of sorts to perform some magic incantation I only need to invoke once or twice a year. I just don’t need to keep this kind of stuff in my head. I call the file Gems of Wisdom.
You know, in programming (which I do a lot of), there are often little gotchas that require hours or days to figure out. And once you’ve figured them out, it’s easy to forget them if you immediately move on to the next challenge. Working at the level I do, which often requires typing command-line stuff, I’d never remember this stuff character by character unless I used it every day. [Read more…]