I have many small files containing code fragments, pseudo-code algorithms, classes, templates, SQL-samples, etc., and I obviously cannot put all these into libraries. I need a practical method to index all of them, and to be able to make this index available to others.
Possible duplicate: https://stackoverflow.com/q/90300/15161
You might want to try refactormycode.com or set up your own wiki for it. A wiki actually sounds like a good application here.