In order to keep the OSI model straight in my head, I dreamt up the silly mnemonic:
P. Diddy Never Takes Shit, Punk Ass!
(Physical, Data, Network, Transport, Session, Presentation, Application)
Similarly I was first learning Perl, I rearranged (some of) the regex modifiers to:
SIXMOP GC
(as in 6 of the things you use to clean the floor, and floor cleaning goes hand-in-hand with garbage collection)
Perhaps this might seem a bit off-topic, but rookie programmers flock to this site for help and mnemonic devices are a great tool for someone just learning a new technology.
Does anyone else have any handy mnemonics that have helped them throughout the years (or are at least worth a laugh)?