On 05/05/2011 01:14 PM, Sathishkumar Duraisamy wrote: > On Thu, May 5, 2011 at 12:55 PM, JAGANADH G<[email protected]> wrote: >> On Thu, May 5, 2011 at 12:43 PM, Sathishkumar Duraisamy< >> [email protected]> wrote: >> >>> Hi all, >>> >>> When I search the for solutions for some task, I usually come up with >>> some code snippets. How to archive those for now and for future >>> reference in a easily searchable way (can be in offline / online). >>> >>> >> >> Put those solutions in your blog with short notes . That will help you and >> others >> > > For now I going to put in a file and using FreeMind to manage the > codes. This helps to easily browse the files and hence the codes. > Since it is in files, I can use as it is in library. > > But this way we cannot able to share the codes. And it is not portable > too. (between different computers). >
I would recommend using `gist`[1] if you want to share snippets and if you just want to collect them for personal reference, use a local git/svn/whatever VCS you prefer. The advantage of putting them in gist or a local VCS is that you get all the native search/sort/manage/view tools 'for free'. Besides snippets, I even put my vimrc and other assorted config files in git for this precise reason. cheers, - steve https://gist.github.com/ -- random spiel: http://lonetwin.net/ what i'm stumbling into: http://lonetwin.stumbleupon.com/ _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
