Here's a nice article about organizing files in a Unixy manner. I especially like the “cliches” idea for code snippets.