Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I'm working as an C/C++ programmer. As I'll be coding, I feel some parts of my code have to be saved for future reference. Since I frequently experiment with my PC, I feel saving in my hard-disk is not a good option. So, I would like to save my pieces of code in some online repository which helps me for future reference of the logics & algos which I've written. Please suggest any app, that save my code pieces. Thank you

share|improve this question

migrated from superuser.com Jan 18 '11 at 10:33

This question came from our site for computer enthusiasts and power users.

add comment

5 Answers

up vote 2 down vote accepted

Sounds like you need a services to keep notes, not files? Then services like Evernote are your friend.

share|improve this answer
    
Thanks Arjan. Is there any service intended only for code backup? –  Rahul Jan 18 '11 at 10:09
add comment

If it's just for pieces of code/algorithms :

For "real" projects : https://github.com/

GitHub keeps your public and private code available, secure, and backed up. Stop hoarding code on your hard drive; it takes less than a minute to push code up to GitHub and start collaborating with others.

share|improve this answer
    
+1 for github's gist feature –  Piers Karsenbarg Jan 18 '11 at 13:32
add comment

Dropbox - 2 GB for free.

Please note that most on-line accounts tend to lapse and disappear if unused for some time, not to mention if the save site had an outage.

I would therefore really recommend a local depository, such as an external disk.

share|improve this answer
    
As said by Arjan in the below post, I need a service that keeps my notes, not files. Anyway thank you for your answer. –  Rahul Jan 18 '11 at 10:08
add comment
  • There is github for git, not free.
  • There is bitbucket for mercurial, is free.
  • There is kiln for mercurial, not free.
  • There is assembla for git, mercurial and subversion, not free.
share|improve this answer
    
Github is free as in beer for 300 MB of storage. Somehow after a couple years and 25+ repos I'm still using less than 20% of that. –  l0b0 Feb 14 '11 at 16:20
add comment

you could always use a subversion repository such as kenai.com which is free and integrates with any subversion client. Then you are able to store snippets within a project or something similar that is backed up.

Failing that, I would suggest Evernote as suggested above.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.