Here are some random tips, organized as logically as possible. Please don't believe everything I say (I'm wrong all the time), and test the tips before you even think about using them in production. And tell me if you find any mistakes.
Notes API Tips
Notes Performance Tips
Notes Tips
Java Tips
C Tips
Windows Tips
Linux Tips
JavaScript Tips
Miscellaneous Tips