First of all I have been away from SO for a few months, had to take a short break from coding (sometimes I have to disconnect for short periods so I don't go crazy). Point being, forgive me if this question is not appropriate or is a duplicate, I did a search but was not able to really find anything too similar.
So my main question, is there any good programs or methods that YOU use or know of for keeping track and accessing easily a Source Code Library? I would really like to find a nice program or even web based script that wll let me categorize code snippets and source code and easily view them for future reference rather then storing in text files or similar.
I would love to hear what others use if you use anything at all? Please share, thank you!