Make Me a Sandwich

You may be familiar with xkcd's comic #149, and the ensuing tee-shirt. This has been a bit of a running joke in the Butter office, often coming up when teaching someone the basics of linux commands. As it's one of our developer/project manager's, Eve's, last day today, I decided to put together a little parting gift in the form of a bash script.

sudo makemeasandwich

For anyone that's interested here's the code:

#!/bin/bash
if [ "$UID" -ne  0 ]; then
 echo "make your own damn sandwich.";
 exit $E_NOT_ROOT;
else
 echo '

                   _.---._
               _.-~       ~-._
           _.-~               ~-._
       _.-~                       ~---.
   _.-~                                 ~\
.-~                                    _.;
:-._                               _.-~ ./
`-._~-._                   _..__.-~ _.-~|
 /  ~-._~-._              / .__..--~----.
\_____(_;-._\.        _.-~_/       ~).. . \ 
   /(_____  \`--...--~_.-~______..-+_______)
 .(_________/`--...--~/    _/           /\
/-._     \_     (___./_..-~__.....__..-~./
`-._~-._   ~\--------~  .-~_..__.-~ _.-~
    ~-._~-._ ~---------   / .__..--~
        ~-._\.        _.-~_/
            \`--...--~_.-~
             `--...--~
'
fi

On a side note, I'll take this opportunity to wish Eve the best of luck for the future. Eve was Digital Butter's first employee, and our office is definitely not going to be the same without her. I know she will be missed by both our team and our clients.

Tags: bash
Comments (23)
  1. best essay writers online:
    Feb 09, 2015 at 11:31 AM

    I agree accompanying the enter. The best essay writers online are those who possess been at it for a during pronto. They care to possess greater enjoin of the phraseology further the means they introduce the volume in a sheet. I ample like them to novices.

  2. http://writemyessaypapers.org/:
    Feb 09, 2015 at 11:41 AM

    Your reference to http://writemyessaypapers.org/ was so on moment! I was on the edge of overall fear whereas you posted this concatenation on your blog. I had trio papers to do furthermore nay adequate term to experiment besides do them myself. This scene entirely turned this approximately as they researched wrote besides delivered my papers in nice cycle! Acknowledges!

  3. super sharp cheddar:
    Feb 19, 2015 at 02:02 PM

    Linux commands are like Chinese for me, and know nothing about the language. I am a computer science student and would like to know more on C language. Could you please refer me to any websites that can help me learn the language well?

  4. Solar Powered Car:
    Feb 24, 2015 at 01:18 AM

    If your looking for Online Illinois license plate sticker renewals then you have need to come to the right place.We offer the fastest Illinois license plate sticker renewals in the state. We are tied directly into the sate’s renewal database which allows us to process your request almost instantly.

  5. give you 72 dofollow blog commets Pr7 to Pr2 exclusive offers:
    Feb 24, 2015 at 11:36 PM

    If You Are Looking To Increase The Search Engine Page Rank Permanently And Online Visibility Of Your Website, Please Try Our HIGH Quality Actual Page Rank Pr2 To Pr7 Manual Blog Commenting Service. Google Love Unique Content, And If Your Backlinks Are Coming From High PR Pages With A Unique Content, You Will See Increase In The SERP And Online Visibility Of Your Website.

  6. Decorated Classroom Doors:
    Mar 02, 2015 at 01:43 AM

    Very nice website and articles. I will be realy very pleased to visit your website. Now I am found that we actually want. I check your website everyday and attempt to learn something from a blog. Thank you and looking forward to your new submit.

  7. Lentile de contact colorate:
    Apr 01, 2015 at 08:34 PM

    Before shopping, view coupon sites, including Coupons.com. Both manufacturer and retailer coupons are available, which could help you save a lot of money.

  8. zcode system review:
    Apr 01, 2015 at 09:08 PM

    Great Article it its really informative and innovative keep us posted with new updates. its was really valuable. thanks a lot.

  9. Calculatoare Second Hand:
    Apr 02, 2015 at 09:40 PM

    It is a great remarkable blog post, Given plenty of information and facts with it, These kinds of blog posts maintains the people interest on the website, and keep on writing a little more ...

  10. bucharest apartments for rent:
    Apr 04, 2015 at 11:30 PM

    Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point. You definitely know what youre talking about, why waste your intelligence on just posting videos to your blog when you could be giving us something enlightening to read.

  11. Realizare Site:
    Apr 06, 2015 at 05:04 AM

    I’ve been searching for some decent stuff on the subject and haven’t had any luck up until this point, You just got a new biggest fan!..

  12. dental implants port saint lucie:
    Apr 06, 2015 at 05:41 AM

    Excellent read, Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work.

  13. Imprimante Second Hand:
    Apr 06, 2015 at 03:50 PM

    You are allowed to post names, but not links, unless they are approved and on topic.

  14. Tractor de tuns iarba:
    Apr 06, 2015 at 04:08 PM

    I would love to stop by. But, I think it might have to wait until this summer. I did not know that Serlkay had ever expanded its size. I must say that a succesful family owned business in this day and age is a very refreshing sight! As well as this is a very refreshing site!

  15. Apartamente berceni 3 camere:
    Apr 06, 2015 at 04:51 PM

    It’s true that some parents do prefer their kids to be called Asperger’s than to be called autistic because it sounds more acceptable and it sounds like it has a better outcome.

  16. Calculatoare Second Hand:
    Apr 06, 2015 at 05:02 PM

    You’ve got some interesting points in this article. I would have never considered any of these if I didn’t come across this. Thanks!.

  17. Jucarii bebelusi:
    Apr 07, 2015 at 06:56 PM

    You will find typically they could become opportunity you could be building a brand-new certainly extraordinary, powerful & substantial details. exceptional know-how advantageous providing!

  18. about us:
    Apr 09, 2015 at 09:24 PM

    Do you mind updating your blog post with additional insight? It should be really useful for all of us.

  19. translate android app description:
    Apr 14, 2015 at 04:58 AM

    your blog post with additional insight? It should be really useful for all of us.

  20. English Arabic translation:
    Apr 14, 2015 at 04:58 AM

    exceptional know-how advantageous providing!

  21. translate to Arabic:
    Apr 14, 2015 at 04:59 AM

    You’ve got some interesting points in this article. I would have never considered any of these if I didn’t come across this. Thanks!.

  22. translate arabic:
    Apr 14, 2015 at 05:00 AM

    You’ve got some interesting points in this article. I would have never considered any of these if I didn’t come across this. Thanks!.

  23. asscher cut engagement rings:
    Apr 19, 2015 at 07:38 AM

    Your website is really cool and this is a great inspiring article.





Allowed tags: <b><i><br>Add a new comment: