in Coding

DrunkGuard

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.

Also, I had a recent discussion with a friend where he lamented his poor drunk decision making – while utterly smashed, he had determined that his site was clearly loading DrunkGuardslowly 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.

Write a Comment

Comment