From d2e0e9ac85ca6eece7fc9ccd6062537da91680c4 Mon Sep 17 00:00:00 2001 From: rahulgidwani Date: Tue, 2 Feb 2016 13:24:42 -0800 Subject: [PATCH] New and improved excuses credit http://www.careerbuilder.com/share/aboutus/pressreleasesdetail.aspx?id=pr930&sd=1/28/2016&ed=01/28/2016 --- hangover.rb | 16 ++++++++++++---- hangover.sh | 16 ++++++++++++---- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/hangover.rb b/hangover.rb index 8578aaf..f50a290 100755 --- a/hangover.rb +++ b/hangover.rb @@ -18,10 +18,18 @@ number_of_boss = '+xxx' excuse = [ - 'Locked out', - 'Pipes broke', - 'Food poisoning', - 'Not feeling well' + 'I thought of quitting today, but then decided not to, so I came in late.', +'My hair caught on fire from my blow dryer.', +'I was detained by Homeland Security.', +'I had to chase my cows back into the field.', +'A black bear entered my carport and decided to take a nap on the hood of my car.', +'My lizard had to have emergency surgery in the morning and died during surgery. I had to mourn while deciding whether to have the lizard disposed of by the vet or bring the lizard corpse with me to work.', +'There was fresh powder on the hill. I had to go skiing.', +'There was a store grand opening and I wanted to get the opening day sales.', +'I had to finish watching “My Name is Earl.”', +'All of my clothes were stolen.', +'I was confused by the time change and unsure if it was “spring forward” or “fall back.”', +'A Vaseline truck overturned on the highway and cars were slipping left and right.' ].sample # Send a text message diff --git a/hangover.sh b/hangover.sh index 800a182..ae642ff 100755 --- a/hangover.sh +++ b/hangover.sh @@ -10,10 +10,18 @@ MY_NUMBER='+xxx' NUMBER_OF_BOSS='+xxx' EXCUSES=( - 'Locked out' - 'Pipes broke' - 'Food poisoning' - 'Not feeling well' +'I thought of quitting today, but then decided not to, so I came in late.' +'My hair caught on fire from my blow dryer.' +'I was detained by Homeland Security.' +'I had to chase my cows back into the field.' +'A black bear entered my carport and decided to take a nap on the hood of my car.' +'My lizard had to have emergency surgery in the morning and died during surgery. I had to mourn while deciding whether to have the lizard disposed of by the vet or bring the lizard corpse with me to work.' +'There was fresh powder on the hill. I had to go skiing.' +'There was a store grand opening and I wanted to get the opening day sales.' +'I had to finish watching “My Name is Earl.”' +'All of my clothes were stolen.' +'I was confused by the time change and unsure if it was “spring forward” or “fall back.”' +'A Vaseline truck overturned on the highway and cars were slipping left and right.' ) rand=$[ $RANDOM % ${#EXCUSES[@]} ]