Storing your code snippets online

by 6 replies
7
Just started in web development and am acquiring a small amount of code snippets I use for Bootstrap. CSS styles, useful bits that I will use again.

Where do you store your resources/code that you use often?

I see things like JSFiddle and things, but unsure whether people use those to store resources.
#programming #code #online #snippets #storing
  • I store them in a folder on my PC. Keep it simple!
    • [1] reply
    • What are you using to develop with? There are tons of ways to store snippets but it is best to understand what you are using to develop first.
  • I agree with Joe Ray on keeping it on your local PC. I have a folder on my D: drive called "Resuable_Code" and then created a toolbox in my system tray, for it. I gave the folder sub-folders ("ColdFusion", "JS", "PHP", etc.), and have everything quickly available.

    However, I also understand keeping things online so you can access them from anywhere. CodePen and JSFiddle are great ways of sharing your snippets, but I wouldn't use them for keeping samples of reusable code. You'd want more of a cloud storage type of thing, for that.

    But, avoid DropBox. Apparently, the token logon has been hacked.
  • I just use Github's Gist to store code snippets. You can make them public or private: https://gist.github.com/
    • [ 1 ] Thanks
    • [1] reply

Next Topics on Trending Feed

  • 7

    Just started in web development and am acquiring a small amount of code snippets I use for Bootstrap. CSS styles, useful bits that I will use again. Where do you store your resources/code that you use often?