‹ Jack's Brain

DrunkGuard

Sep 27, 2014

Wow. Git is so much better than SVN. It just makes more sense. I feel like being raised on SVN has been like training wheels, and now that I’m starting to use Git with GitHub in more complex way, I can actually go places on my metaphorical bicycle.

I like it.

Click to enlarge image

slowly because his PHP packages were bad. He got as far as yanking out all PHP packages, and halfway through removing all his Webtatic repos before he passed out. I can only imagine what waking up to that would have been like.

In response, I wrote DrunkGuard – a python script that uses yum’s plugin functionality to force a user to solve a few arithmetic problems before allowing them to use it, within a certain time window (by default, you’ll be quizzed between 8PM and 6AM Friday, Saturday, and Sunday). It’s up on GitHub if you want to check it out; install is pretty simple.