ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Organization of sample code

    Developer Discussion
    sourcecode code management scripts code repository
    5
    13
    1.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • EddieJenningsE
      EddieJennings
      last edited by

      In the last month at my new job I've collected a few code snippets and sample scripts that are scattered between text files, OneNote entries, and saved E-mails. This is unsustainable, and before it snowballs out of control, I'm considering how best to manage this material. I'm curious of the tools you folks use (if any) to organize your code snippets and script samples or templates.

      ObsolesceO 1 Reply Last reply Reply Quote 0
      • ObsolesceO
        Obsolesce @EddieJennings
        last edited by

        @eddiejennings said in Organization of sample code:

        In the last month at my new job I've collected a few code snippets and sample scripts that are scattered between text files, OneNote entries, and saved E-mails. This is unsustainable, and before it snowballs out of control, I'm considering how best to manage this material. I'm curious of the tools you folks use (if any) to organize your code snippets and script samples or templates.

        GitLab and VSCode.

        You can categorize them by project, folder, etc.

        1 Reply Last reply Reply Quote 3
        • scottalanmillerS
          scottalanmiller
          last edited by

          GitLab or a Wiki

          JaredBuschJ 1 Reply Last reply Reply Quote 1
          • dafyreD
            dafyre
            last edited by dafyre

            BookStack might be okay for this, but I'd got for something like GitHub or GitLab.

            I'm probably going to hop on a paid GitHub description tomorrow. I've been threatening to do so for a while now.

            ObsolesceO 1 Reply Last reply Reply Quote 0
            • ObsolesceO
              Obsolesce @dafyre
              last edited by

              @dafyre said in Organization of sample code:

              BookStack might be okay for this, but I'd got for something like GitHub or GitLab.

              I'm probably going to hop on a paid GitHub description tomorrow. I've been threatening to do so for a while now.

              Why pay for GitHub when you can use GitLab?

              dafyreD 1 Reply Last reply Reply Quote 0
              • dafyreD
                dafyre @Obsolesce
                last edited by

                @tim_g said in Organization of sample code:

                @dafyre said in Organization of sample code:

                BookStack might be okay for this, but I'd got for something like GitHub or GitLab.

                I'm probably going to hop on a paid GitHub description tomorrow. I've been threatening to do so for a while now.

                Why pay for GitHub when you can use GitLab?

                That's kinda my thinking. I currently host my own Git server, but if I shut it down, it's one less system for me to worry about patching and such.

                Would also save me a few bucks a year.

                I may move a couple of projects to it and see.

                1 Reply Last reply Reply Quote 0
                • ObsolesceO
                  Obsolesce
                  last edited by

                  Hosted GitLab is free: https://about.gitlab.com/pricing/#saas

                  1 Reply Last reply Reply Quote 1
                  • JaredBuschJ
                    JaredBusch @scottalanmiller
                    last edited by

                    @scottalanmiller said in Organization of sample code:

                    GitLab or a Wiki

                    Or Wiki.js backed by a GitLab repo!

                    dafyreD 1 Reply Last reply Reply Quote 4
                    • dafyreD
                      dafyre @JaredBusch
                      last edited by

                      @jaredbusch said in Organization of sample code:

                      @scottalanmiller said in Organization of sample code:

                      GitLab or a Wiki

                      Or Wiki.js backed by a GitLab repo!

                      I liked that about Wiki.js.

                      JaredBuschJ 1 Reply Last reply Reply Quote 0
                      • JaredBuschJ
                        JaredBusch @dafyre
                        last edited by

                        @dafyre said in Organization of sample code:

                        @jaredbusch said in Organization of sample code:

                        @scottalanmiller said in Organization of sample code:

                        GitLab or a Wiki

                        Or Wiki.js backed by a GitLab repo!

                        I liked that about Wiki.js.

                        If our Wiki was just me, I would still be using it. But I really needed the WYSIWYG functionality of Bookstack for the other users. Markdown is hard to grasp for people that don't do anything but Word and Excel.

                        ObsolesceO 1 Reply Last reply Reply Quote 0
                        • ObsolesceO
                          Obsolesce @JaredBusch
                          last edited by

                          @jaredbusch said in Organization of sample code:

                          @dafyre said in Organization of sample code:

                          @jaredbusch said in Organization of sample code:

                          @scottalanmiller said in Organization of sample code:

                          GitLab or a Wiki

                          Or Wiki.js backed by a GitLab repo!

                          I liked that about Wiki.js.

                          If our Wiki was just me, I would still be using it. But I really needed the WYSIWYG functionality of Bookstack for the other users. Markdown is hard to grasp for people that don't do anything but Word and Excel.

                          For code snippets it's perfect. But really, VSCode and GitLab is just too easy. A wiki is nice if you want that kind of feature, but for just random categorized code snippets to copy/paste from, I'd rather have those in a file in my editor (vscode) synced to GitLab.

                          I moved away from a wiki that used Markdown, not because of Markdown (Markdown itself is easy and efficient), but due to the lack of features some platforms (that use Markdown) have.

                          Example, we used Mediawiki before, which was so inefficient for creating the kind of content we needed.

                          Now we use WordPress, and it's so easy, fast, and efficient to get the content up.

                          1 Reply Last reply Reply Quote 1
                          • dafyreD
                            dafyre
                            last edited by

                            I just shutdown my GOGS server and have all my important bits over on GitLab now.

                            dafyreD 1 Reply Last reply Reply Quote 1
                            • dafyreD
                              dafyre @dafyre
                              last edited by

                              @dafyre said in Organization of sample code:

                              I just shutdown my GOGS server and have all my important bits over on GitLab now.

                              https://gitlab.com/dafyre

                              1 Reply Last reply Reply Quote 3
                              • 1 / 1
                              • First post
                                Last post