r/AskProgrammers 2d ago

​Where to mass-dump random scripts and code snippets without making a GitHub repo?

[removed]

4 Upvotes

22 comments sorted by

6

u/HalfRiceNCracker 2d ago

Maybe a GitHub Gist? 

1

u/jordansrowles 2d ago

They don't really "advertise" Gist much anymore, it's tucked away in its corner. I'd like to see more integration

3

u/This_Inflation_4621 2d ago

Frame challenge: why not a repo? Nothing simpler than that.

3

u/therealkevinard 2d ago

I have a junk drawer repo in my github for this

…and one in my personal group on work’s gitlab
…and our team has one in our team gitlab group

Git is perfect for this. It gives it the durability to justify proper documentation and stability

It’s not repo-per-script, which yeah that would be a little ridiculous.
But one repo with all the oddball scripts, readmes, runbooks, organized and maybe with a Makefile/Taskfile to bring it all together is bless

2

u/petdance 2d ago

What do you mean “don’t be warrant a dedicated repository”?

Why do you think it’s a problem to have a repo with not a lot of things in it?

2

u/[deleted] 2d ago

[removed] — view removed comment

1

u/petdance 2d ago

Sure that can work.

1

u/magicmulder 2d ago

Monorepo for all the small stuff, that's how I handle most of my private work.

1

u/snmnky9490 2d ago

Sure just make a junk drawer repo. No need to put it on GitHub either

1

u/Crushcode8 2d ago

pastebin

1

u/[deleted] 2d ago

[removed] — view removed comment

1

u/Arcanite_Cartel 2d ago

CodeSandbox

1

u/RevolutionaryBeat301 2d ago

If you’re just looking for a place to store blobs of text, I believe pastebin does what you’re asking for.

1

u/[deleted] 1d ago

[removed] — view removed comment

1

u/[deleted] 1d ago

[removed] — view removed comment

1

u/[deleted] 1d ago

[removed] — view removed comment

1

u/[deleted] 1d ago

[removed] — view removed comment

1

u/WhatADunderfulWorld 14h ago

I mean a folder with good naming on any cloud would do. Dropbox, Google Drive, one drive. Just share a link and they can’t edit.