Storing your code snippets online

by navi11
6 replies
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.
#code #online #snippets #storing
  • Profile picture of the author Joe Ray
    I store them in a folder on my PC. Keep it simple!
    {{ DiscussionBoard.errors[10366792].message }}
    • Profile picture of the author cpusl
      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.
      {{ DiscussionBoard.errors[10387079].message }}
  • Profile picture of the author WolfShade
    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.
    {{ DiscussionBoard.errors[10387118].message }}
  • Profile picture of the author wayfarer
    I just use Github's Gist to store code snippets. You can make them public or private: https://gist.github.com/
    Signature
    I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
    {{ DiscussionBoard.errors[10387490].message }}
    • Profile picture of the author GeneralLedger
      Originally Posted by wayfarer View Post

      I just use Github's Gist to store code snippets. You can make them public or private: https://gist.github.com/
      this is the correct answer
      {{ DiscussionBoard.errors[10387784].message }}
      • Profile picture of the author Karen Blundell
        Originally Posted by GeneralLedger View Post

        this is the correct answer
        there is no right or wrong answer - I store my code on an external drive that I own and have on hand to back up anything I consider precious - I share my code when I distribute free templates to the open source communities -
        Signature
        ---------------
        {{ DiscussionBoard.errors[10390571].message }}

Trending Topics