A Collection of Weird, Useless, and Oddly Helpful Repos

ยท

4 min read

After reading and thoroughly enjoying this Medium blog post with some friends one afternoon, I wondered if I could find other weird programs and funny repositories.

Although I was initially searching for mostly useless, purely entertaining repos, I came across one that was strangely helpful (Oh Shit, Git!?).

Here are five of the results of my search.


Git Gud

Simple, to-the-point, beautiful. Tell yourself (or a friend) to "git gud" in the console:

fsufitch@awesome:~$ git gud
You are now so gud!
fsufitch@awesome:~$ git rekt
You got #rekt!

If you, like me, are feeling dramatic, you can take it one step further:

fsufitch@awesome:~$ git gud Filip --super
 _____ _ _ _         _                                                                         _ _ 
|  ___(_) (_)_ __   (_)___   _ __   _____      __  ___ _   _ _ __   ___ _ __    __ _ _   _  __| | |
| |_  | | | | '_ \  | / __| | '_ \ / _ \ \ /\ / / / __| | | | '_ \ / _ \ '__|  / _` | | | |/ _` | |
|  _| | | | | |_) | | \__ \ | | | | (_) \ V  V /  \__ \ |_| | |_) |  __/ |    | (_| | |_| | (_| |_|
|_|   |_|_|_| .__/  |_|___/ |_| |_|\___/ \_/\_/   |___/\__,_| .__/ \___|_|     \__, |\__,_|\__,_(_)
            |_|                                             |_|                |___/               
fsufitch@awesome:~$ git rekt Ted --super
 _____        _               _                                   _  _            _    _   _ 
|_   _|__  __| |   __ _  ___ | |_   ___ _   _ _ __   ___ _ __   _| || |_ _ __ ___| | _| |_| |
  | |/ _ \/ _` |  / _` |/ _ \| __| / __| | | | '_ \ / _ \ '__| |_  ..  _| '__/ _ \ |/ / __| |
  | |  __/ (_| | | (_| | (_) | |_  \__ \ |_| | |_) |  __/ |    |_      _| | |  __/   <| |_|_|
  |_|\___|\__,_|  \__, |\___/ \__| |___/\__,_| .__/ \___|_|      |_||_| |_|  \___|_|\_\\__(_)
                  |___/                      |_|

FuckItJs

This "Javascript Error Steamroller" sweeps mistakes under the rug faster than you can say console.log. My favorite thing about this repository is the README.md. This definitely passed the vibe check:

FuckIt(path_to_your_shitty_script_file)

This will keep evaluating your code until all errors have been sliced off like mold on a piece of perfectly good bread. Whether or not the remaining code is even worth executing, we don't know. We also don't particularly care.

FuckIt returns a promise that will be resolved once your godforsaken code actually makes it to the finish line. You can use this callback to chain additional FuckIt calls, since we all know calling it once won't do enough damage to the Internet.

As one of my mentors would say, "Be a baddie. Write bad code." I'm convinced these guys are friends.


Oh Shit, Git!?

This one ended up in my bookmarks. Have you ever royally messed up your Git commands, gotten hopelessly stuck, and ended up in the deep dark bottomless pit that is Git? This is the solution.

Here's a gem from the site:

Oh shit, I did something terribly wrong, please tell me git has a magic time machine!?!

git reflog
# you will see a list of every thing you've
# done in git, across all branches!
# each one has an index HEAD@{index}
# find the one before you broke everything
git reset HEAD@{index}
# magic time machine

You can use this to get back stuff you accidentally deleted, or just to remove some stuff you tried that broke the repo, or to recover after a bad merge, or just to go back to a time when things actually worked. I use reflog A LOT. Mega hat tip to the many many many many many people who suggested adding it!


Thanos NodeJS

If your project is bulky, with tons of files taking up too much space, this is the package for you!

Do you have too many pesky packages on you dev machine just wasting space?

Do you need help reducing the size of node dependencies but just can't decide where to start?

Do you want to move back to a simpler time?

You have come to the right place. Thanos-NodeJS will delete half of your files. It will do the deleting for you!!!

Reduce the file size of your project down to 50%, by randomly deleting half of the files.

You probably didn't need those files, anyway.


Bash WTF

I'm gonna preface this section by saying I initially thought this was actually going to be a helpful repository. Maybe I'll get to type wtf in the CLI and be told what the **** just happened. That's logical, right? Seeing as the repo's description is:

A command for when you have no idea wtf just happened

I was wrong. But I think I prefer what the command actually does.

Command Example

Honestly, I feel validated.


That's all for now! One day I'll continue my search and post more of these, but today I have other responsibilities and should probably stop procrastinating.

ย