Showing posts sorted by relevance for query "ascii art". Sort by date Show all posts
Showing posts sorted by relevance for query "ascii art". Sort by date Show all posts

Sunday, April 12, 2009

An Easter Story: More ASCII Art For Linux And Unix

Hey There,

It's yet another holiday that we haven't ASCII'ed yet, and we've got another script to print a somewhat-tame Easter story, and picture, to your terminal. Yet again, I've gone back to Joan Stark's ASCII Art Gallery to find a really good picture. And I don't just pick her site because it comes up as Google search result number one for every query I run; there actually is an enormous quantity of high quality ASCII art there. Check it out if you still haven't.

If you're interested in any of our other ASCII art holiday script postings, just check out this page, which is a general search for ASCII Art on our site and you're sure to find most of them there.

If the pictorial representation of the script output below isn't large enough, click on it once to be smacked in the face with the HUMONGOUS version ;)

easter ASCII art

For this installment, I've attached two scripts to the post. The first one is the straight-up bash script. The second is the same script, except with all the spaces padded with "X"'s. If you're having problem maintaining the spaces when you copy/paste the original script, just copy/paste the padded one and then (in vi, or whatever your favorite editor is) substitute "X" with a space character for all occurrences. In vi, that would be an "ex" command like:

[esc]:g/X/s// /g

or

[esc]:%s// /g

Enjoy and Happy Easter :)


Creative Commons License


This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License



REGULAR

#!/bin/bash

#
# easter.sh
#
# 2009 - Mike Golvach - eggi@comcast.net
#
# Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License
#

echo -en "...THE FIRST EASTER BUNNY... by Francine M. O'Connor\n (ASCII Art by joan stark)\n\n __ /^\\\\\n .' \ / :.\ This is the story of a long-eared rabbit\n / \ | :: \ who couldn't learn to do the bunny hop.\n / /. \ / ::: | His ears were floppy, his feet were sloppy,\n | |::. \ / :::'/ he'd hippity hop, then he'd trip and plop.\n | / \::. | / :::'/\n \`--\` \' \`~~~ ':'/\`\n / ( So this little rabbit developed the habit\n / 0 _ 0 \ of staying awake when the sun went down.\n \/ \_/ \/ He'd stay up all night, \n -== '.' | '.' ==- till the morning light, and \n /\ '-^-' /\ practice his hopping just outside of town.\n \ _ _ / \n .-\`-((\o/))-\`-. \n _ / //^\\ \ _ On the first Easter morn, \n.\"o\".( , .:::. , ).\"o\". just before dawn,\n|o o\\\\\ \:::::/ //o o| He was startled by a bright\n \ \\\\\ |:::::| // / and blinding light.\n \ \\\\\__/:::::\__// / And Jesus was there in the \n \ .:.\ \`':::'\` /.:. / shimmering glare,\n \':: |_ _| ::'/ smiling at that funny bunny's plight.\n jgs \`---\` \`\"\"\"\"\"\` \`---\`\n \n Don't worry, little lad, and don't be so sad, .-\"-.\n for humankind will celebrate this special day. .'=^=^='.\n You must bring the word to every beast and bird /=^=^=^=^=\\\\\n that I have risen and am in the world to stay. :^= HAPPY =^;\n |^ EASTER! ^|\n You should've seen that cottontail hop away, :^=^=^=^=^=^:\n feeling mighty proud to be the chosen one. \=^=^=^=^=/\n Though this story is quite old, it can now be retold \`.=^=^=.'\n to make little children smile on Easter morn. \`~~~\`\n"



PADDED
#!/bin/bash

#
# easter.padded.sh
#
# 2009 - Mike Golvach - eggi@comcast.net
#
# Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License
#

echo -en "...THEXFIRSTXEASTERXBUNNY...XbyXFrancineXM.XO'Connor\nXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX(ASCIIXArtXbyXjoanXstark)\n\nXXXXXX__XXXXXXXXXXXX/^\\\\\nXXXX.'XX\XXXXXXXXXX/X:.\XXXXXXXThisXisXtheXstoryXofXaXlong-earedXrabbit\nXXX/XXXXX\XXXXXXXXX|X::X\XXXXXXwhoXcouldn'tXlearnXtoXdoXtheXbunnyXhop.\nXX/XXX/.XX\XXXXXXX/X:::X|XXXXXXHisXearsXwereXfloppy,XhisXfeetXwereXsloppy,\nX|XXXX|::.X\XXXXX/X:::'/XXXXXXXhe'dXhippityXhop,XthenXhe'dXtripXandXplop.\nX|XXX/X\::.X|XXX/X:::'/\nX\`--\`XXX\'XX\`~~~X':'/\`\nXXXXXXXXX/XXXXXXXXX(XXXXXXXXXXXSoXthisXlittleXrabbitXdevelopedXtheXhabit\nXXXXXXXX/XXX0X_X0XXX\XXXXXXXXXXofXstayingXawakeXwhenXtheXsunXwentXdown.\nXXXXXX\/XXXXX\_/XXXXX\/XXXXXXXXHe'dXstayXupXallXnight,X\nXXXX-==X'.'XXX|XXX'.'X==-XXXXXXXXXtillXtheXmorningXlight,XandX\nXXXXXX/\XXXX'-^-'XXXX/\XXXXXXXXpracticeXhisXhoppingXjustXoutsideXofXtown.\nXXXXXXXX\XXX_XXX_XXX/XXXXXXXXXXXXX\nXXXXXXX.-\`-((\o/))-\`-.XXX\nXX_XXX/XXXXX//^\\XXXXXX\XXX_XXXXOnXtheXfirstXEasterXmorn,X\n.\"o\".(XXXX,X.:::.X,XXXX).\"o\".XXXXXjustXbeforeXdawn,\n|oXXo\\\\\XXXX\:::::/XXXX//oXXo|XXHeXwasXstartledXbyXaXbright\nX\XXXX\\\\\XXX|:::::|XXX//XXXX/XXXXXXandXblindingXlight.\nXX\XXXX\\\\\__/:::::\__//XXXX/XXXXAndXJesusXwasXthereXinXtheX\nXXX\X.:.\XX\`':::'\`XX/.:.X/XXXXXXXXshimmeringXglare,\nXXXX\'::X|_XXXXXXX_|X::'/XXXXXXsmilingXatXthatXfunnyXbunny'sXplight.\nXjgsX\`---\`X\`\"\"\"\"\"\`X\`---\`\nXXXXXXXXXXXXXXXXXXXXXXXXXX\nXXXXDon'tXworry,XlittleXlad,XandXdon'tXbeXsoXsad,XXXXXXXXXXX.-\"-.\nXXXXforXhumankindXwillXcelebrateXthisXspecialXday.XXXXXXXX.'=^=^='.\nXXXXYouXmustXbringXtheXwordXtoXeveryXbeastXandXbirdXXXXXX/=^=^=^=^=\\\\\nXXXXthatXIXhaveXrisenXandXamXinXtheXworldXtoXstay.XXXXXX:^=XHAPPYX=^;\nXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|^XEASTER!X^|\nXXXXYouXshould'veXseenXthatXcottontailXhopXaway,XXXXXXXX:^=^=^=^=^=^:\nXXXXfeelingXmightyXproudXtoXbeXtheXchosenXone.XXXXXXXXXXX\=^=^=^=^=/\nXXXXThoughXthisXstoryXisXquiteXold,XitXcanXnowXbeXretoldXX\`.=^=^=.'\nXXXXtoXmakeXlittleXchildrenXsmileXonXEasterXmorn.XXXXXXXXXXX\`~~~\`\n"




, Mike




Discover the Free Ebook that shows you how to make 100% commissions on ClickBank!



Please note that this blog accepts comments via email only. See our Mission And Policy Statement for further details.

Saturday, February 14, 2009

Valentine's Day Linux And Unix ASCII Art

Happy Valentine's Day :)

Although this holiday is heavily associated with a famous massacre and referred to by a good percentage of the general population as "Just in case you forgot, you're single" day, it's still up there with the biggies (If Hallmark ever figures out how to work Jesus into the celebration, they'll have a real hit on their hands ;)

No matter if you're in a relationship or find yourself alone this Valentine's day, you can make this holiday work for you. If you're involved, send a card (or do something nice) for your partner. If you're single, do something nice for yourself and enjoy this time in your life. Eventually, you will reminisce fondly about your independence. Sad, but true ;)

Now that I've spread the sweet perfume of romance in the air (or spread something ... thick ;) let's get to the pretty ASCII art. The ASCII art script, tagged to the bottom of this post, was picked up from Asciiworld.com, where they have a great collection of ASCII art which encompasses far more than just Valentine's day pictures. Go check out the ASCII World and see if you can't find something interesting to send to friends, family, even bitter enemies ;)

Happy Valentine's Day, again, and I hope you enjoy this bad boy. This time we added   HTML entities to maintain the spacing that Blogspot generally eradicates :)

NOTE: Click on the picture below for a whole lotta love ;)

Valentines Day ASCII Art

#!/bin/bash

#
# hvd.sh - Happy Valentine's Day To The Love Of My Life - My Wonderful Wife :)


echo -en "\thugs&kisses&hugs&kisses&hugs&kisses&hugs&kisses&hugs&kisses&\n\t&            hugs&kisses&hugs&kisses&hu         &hugs&kisses\n\ts&h        es&hugs&kisses&hugs&kiss                 gs&kisse\n\tes&h      sses&hugs&kisses&hugs&k                     s&kiss\n\tses&      isses&hugs&kisses&hugs            &kiss      s&kis\n\tsses      kisses&hugs&kisses&hu           ugs&kiss      s&ki\n\tisse      &kisses&hugs&kisses&h          &hugs&kiss     gs&k\n\tkiss      s&kisses&hugs&kisses&         es&hugs&kis     ugs&\n\t&kis      gs&kisses&hugs&kisses        sses&hugs&k      hugs\n\ts&ki      ugs&kisses&hugs&kisse       kisses&hugs       &hug\n\tgs&k      hugs&kisses&hugs&kiss      s&kisses&hu        s&hu\n\tugs&      &hugs&kisses&hugs&kis     ugs&kisses&         es&h\n\thugs      s&hugs&kisses&hugs& i     hugs&kisse          ses&\n\t&hug      es&hugs&kisses&hug  k      hugs&kis           sses\n\ts&hu      ses&hugs&kisses&h   &       hugs&             isse\n\tes&h      sses&hugs&kisse     s&                       &kiss\n\ts                             gs&ki                 hugs&kis\n\ts                             ugs&kisse         sses&hugs&ki\n\ti             ses&h                                        k\n\tk             sses&                                        &\n\t&kis      gs&kisses&hug   isses&hugs      s&hugs&kisse     s\n\ts&kis      gs&kisses&h   &kisses&hug      es&hugs&kisses   g\n\tgs&ki      ugs&kisses&   s&kisses&hu      ses&hugs&kisses  u\n\tugs&ki      ugs&kisse   ugs&kisses&h      sses&hugs&kisses h\n\thugs&k      hugs&kiss   hugs&kisses&      isses&h gs&kisses&\n\t&hugs&k      hugs&ki   s&hugs&kisses      kisses  ugs&kisses\n\ts&hugs&      &hugs&k   es&hugs&kisse              hugs&kisse\n\tes&hugs&      &hugs   sses&hugs&kiss      s&kiss  &hugs&kiss\n\tses&hugs      s&hug   isses&hugs&kis      gs&kiss s&hugs&kis\n\tsses&hugs      s&h   &kisses&hugs&ki      ugs&kisses&hugs& i\n\tisses&hug      es&   s&kisses&hugs&k      hugs&kisses&hug  k\n\tkisses&hug      e   ugs&kisses&hugs&      &hugs&kisses&h   &\n\t&kisses&hu          hugs&kisses&hugs      s&hugs&kisse     s\n\ts&kisses&hu        s&hugs&kisses                           g\n\tgs&kisses&h        es&hugs&kisse                           u\n\tugs&kisses&hugs&kisses&hugs&kisses&hugs&kisses&hugs&kisses&h\n"


, Mike




Discover the Free Ebook that shows you how to make 100% commissions on ClickBank!



Please note that this blog accepts comments via email only. See our Mission And Policy Statement for further details.

Wednesday, March 18, 2009

St. Patrick's Day ASCII Art For Linux And Unix

Happy Saint Patrick's Day! Actually, the timestamp on this post is for the day after and you may be reading this with a green-beer hangover. Blame me. It's the day-of, as I write, but I always write for tomorrow. Someday, my past will catch up with me and I'll begin writing in the present ;)

The piece of ASCII art that was the inspiration for our little script today ( or, in all honesty, the ASCII art I took and just perverted into a shell script ;) was found on Joan Stark's wonderful and massive ASCII Art Site. There's a lot of great stuff over there if you're into it. Definitely check it out, if you are.

From the description of the picture below, from her site:

The Claddagh is a visual portrayal of the eternal bond of friendship, loyalty, and love.
The HEART symbolizes love, life's finest impulse. From it, generosity and compassion flow.
The HANDS of friendship are clasped around the heart in a gesture of giving. As they cradle the heart gently, the hands are both protective and strong, like true friendship.
The CROWN is symbolic of loyalty. It represents the reward of love, the highest achievement the human spirit has yet accomplished.
To give the Claddagh is to forge the hands of love, friendship, and loyalty forever


Hopefully I'm jamming this out the door fast enough.

Happy St. Patty's Day! Or Happy The Day After!

Click the ASCII art picture below and marvel at the sheer volume of slashes and dots ;)




Creative Commons License


This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License

#!/bin/bash

#
# oneclad.sh -
#
# 2009 - Mike Golvach - eggi@comcast.net
#
# Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License
#

#!/bin/bash

echo -en " __.--'\"\"\"\"\"'--.__\n __.--' '--.__\n .-' '-.\n .' F R I E N D S H I P '.\n / L O Y A L T Y \\\\\\n /\` L O V E \`\\\\\n / _______ \\\\\\n / _.-'\` \`'-._ \\\\\\n / .' .:. .:. '. \\\\\\n : / ::::::::: \ :\n ; / ':::::::' \ ;\n | / ':::::' \ |\n | ; .:::::.:::.:::::. ; |\n | | ':::::::::::::::' | |\n | | .:::::::::::::::. | |\n | ; ':::::' : ':::::' ; |\n ; \ : / ;\n : .-\"^\`\\ .:. /\`^\"-. :\n \ .' ___\ .:' ':. /___ \`. /\n \ / /.---. O .---.\ \ /\n \ | // '-. _o/0\o_ .-' \\ | /\n \| ;| \ (0\|V|/0) / |; |/\n \.:.|| |\_) \~_~_~/ (_/| ||.:./\n \\\` | \ . \ ; .-.^.-. ; / . / | \`/\n '\_\ \\\\\\\\ \ \ \ / ' \ / / / // /_/'\n \\\\\\\\ \ \ \ \ / / / / //\n \`'-\_\_\ \ / /_/_/-'\`\n \` '. .' \`\n \`\n"


, Mike




Discover the Free Ebook that shows you how to make 100% commissions on ClickBank!



Please note that this blog accepts comments via email only. See our Mission And Policy Statement for further details.

Sunday, February 15, 2009

More Valentine's ASCII Art For Linux And Unix

Happy Day-After-Valentine's Day :)

Again; also Happy day-after-the-famous massacre and Happy day-after-"Just in case you forgot, you're single" day ;)

Since copy for this blog gets written a day in advance (at the latest) I split up my two favorite pieces of ASCII Valentine's art so that I could spend Valentine's day with my wife instead of having to take any time away to write copy for the day after, which is today, for those of you keeping score at home (???) You know what I mean.

I also found this ASCII picture on Asciiworld.com and, hopefully, all of you fans of ASCII art (I include myself) have been over there to check out the huge amount of great pix they have or will be doing so one day. Don't mention my name if you need to contact them, though. If they're selling anything and you make that mistake, they'll probably charge you double ;)

Hope you like this one. It gets harder to read the larger it is, but it's still pretty cool and, possibly, subliminal. Don't leave this anywhere you don't want to be loved ;)

Surgeon General's Warning: ASCII art may cause dyspepsia, dipsomania and/or spontaneous aggrivated peristalsis. Click the picture below with care, and make sure you're wearing clean skivvies ;)

More Valentines ASCII art

#!/bin/bash

#
# hvd2.sh - Happy Day-After-Valentine's Day To My Still Wonderful Wife :)

echo -en "::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\n::::::::::OOO\$MOOO::::::::::::OOOOOOOOOO::::::::::::::::::::::::::::::::::::\n::::::::OO\$MM MMMMOOOO::::OOOMMMMMMMMMMMOO:::::::::::::::OOOOOOO::::::::::::\n::::::OOMM   \$\$M\$MMM\$OO::OMMMMOM  OM\$\$\$\$MMOO::::::::::::::::O:::::::::::::::\n:::::OMMM  \$\$\$\$\$\$\$MMMMOOOOMMM\$\$  \$MM\$MMM\$MM\$O:::::::::::::::O:::::::::::::::\n::::OMMMM M\$MM\$MM\$\$\$MMMMMMMMMO  O\$\$\$\$M\$MM\$MMMO:::::::::::OOOOOOOO:::::::::::\n::::OM\$\$M M\$\$\$\$\$\$\$\$\$O\$MMMMMM\$  \$O\$\$\$\$MM\$M\$\$MMOO:::::::::::::::::::::::::::::\n::::OM\$O\$\$\$\$\$\$\$\$\$\$\$\$\$\$O\$MO\$\$O\$\$\$\$\$\$\$\$\$\$\$O\$\$MMOO:::OOOO::::::::::::::::::::::\n::::OM\$\$\$\$MMO\$\$\$\$\$\$\$O\$\$\$\$\$\$O\$\$O\$\$\$\$\$\$M\$M\$\$MM\$O:::O:::O::::::::::::::::::::::\n:::::M\$\$OO\$M\$\$\$\$O\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$M\$\$MOMM\$O:::O::O:::::::::::::::O:::::::\n:::::MMM\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$OO\$\$\$MMMMO::OOOOO:::::OOOO:O::::O::OOO:::\n::::::OMM\$\$O\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$M\$MMO:::::O:::::::O::O:O:::O::O::O:::\n:::::::OMM\$\$\$M\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$MMMMMMO::::::O:::::::O::O::O:O:::OOO::::\n::::::::OOMM\$\$M\$ \$\$\$\$\$\$\$\$\$\$\$\$\$\$\$ M\$\$\$MM\$OO::::OOOOO:::::::OOO:::O::::O::::::\n:::::::::OOM\$\$\$\$M \$\$\$\$\$\$\$\$\$\$MM\$ \$\$\$\$MM\$\$O::::O:::OOOOO::::::::::::::::OOO:::\n:::::::::::OMMM\$\$\$ \$\$\$\$\$\$\$\$\$\$\$ \$\$\$\$\$MMOO:::::OOOO:::::OOOOO:::::::::::::::::\n:::::::::::::O\$MM\$\$ \$\$\$\$\$\$\$\$\$ \$\$\$\$\$MMO:::::::::::::::::::::::::::::::::::O::\n::::::::::::::OOMMM\$  M\$\$\$\$  MM\$\$MMO::::::::::::::O:::::O:::OOO::O:::O:::O::\n::::::::::::::::OMM\$\$\$     \$M\$\$MMO::::::::::::::::OO:::OO::O::O::O:::O:::O::\n:::::::::::::::::OMM\$\$O\$\$\$\$M\$\$\$MM:::::::::::::::::::OOOO:::OOOO:::OOOO:::O::\n::::::::::::::::::O\$MM\$\$\$O\$\$\$MMM:::::::::::::::::::::OO:::::::::::::::::::::\n::::::::::::::::::::O\$MMM\$\$\$MMO::::::::::::::::O::::OO:::::::::::::::::::O::\n:::::::::::::::::::::OO\$\$MM\$O:::::::::::::::::::OOOOO:::::::::::::::::::::::\n:::::::::::::::::::::::OO\$OO::::::::::::::::::::::::::::::::::::::::::::::::\n"


, Mike




Discover the Free Ebook that shows you how to make 100% commissions on ClickBank!



Please note that this blog accepts comments via email only. See our Mission And Policy Statement for further details.

Monday, May 25, 2009

Memorial Day ASCII Art For Linux And Unix

Happy Memorial Day

I'm always curious about how to type that, since this Holiday is a way of keeping the memories of our fallen soldiers alive. We're celebrating (and I mean that in the most somber sense of the word) fellow countrymen who've died fighting wars for our country. In any event, we salute them. If an exclamation point is warranted, please feel free to mentally tag it on.

The piece of ASCII art that was the inspiration for my script today was, again, found on Joan Stark's wonderful and eclectic ASCII Art Site. There's a lot of great stuff over there, even ASCII animations.

A happy Memorial Day to you all, and a silent prayer that, one day, the list of our dead will no longer continue to grow.

Click the ASCII art US Flag below and remember

The United States Flag.  Memorial Day


Creative Commons License


This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License

#!/bin/bash

#
# memorial.sh -
#
# 2009 - Mike Golvach - eggi@comcast.net
#
# Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License
#

echo -en " (_)\n <___>\n | |______\n | |* * * )\n | | * * (_________\n | |* * * |* *|####)\n | | * * *| * | (________________\n | |* * * |* *|####|##############|\n | | * * *| * | | |\n | |* * * |* *|####|##############|\n | |~~~~~~| * | | |\n | |######|* *|####|##############|\n | | |~~~' | |\n | |######|########|##############|\n | | | | |\n | |######|########|##############|\n | |~~~~~~| | |\n | | |########|##############|\n | | '~~~~~~~~| |\n | | |##########JGS#|\n | | '~~~~~~~~~~~~~~~\n | |\n | |\n | |\n"


, Mike




Discover the Free Ebook that shows you how to make 100% commissions on ClickBank!



Please note that this blog accepts comments via email only. See our Mission And Policy Statement for further details.

Thursday, December 25, 2008

Happy Holidays - More ASCII Art

Happy Holidays to you all and Merry Christmas To Some Of You :)

Not much more needs to be said. I hope that you, like me, are spending some time with family and friends or, at least, writing a festive shell script ;)

As usual, click the picture below and it will appear larger than it is!


Happy holidays to one and all

Cheers,

NOTE: ASCII art copy write "Joan Stark" from her ASCII Art Christmas page

echo -ne "\n"
echo -ne " | | . , |_ . ,_ \_/ _,_, |__) _ _ _ _ / \,_\n"
echo -ne " |_|_|_|_/_)| |_|_| |_\_| | (_) |_|_ | _(/_(_|_(__(/_ \__/| |_\n"
echo -ne " __/\n"
echo -ne " __ ___\n"
echo -ne " (_ _ ,_-|-|_ _ ,_ _| | ,_ \_/ _,_, ,_ |__| _ _ ,_-|-\n"
echo -ne " (__(_|_|(_|_| |_ (_|_| |_(_|_ _|_| |_ | (_) |_|_|(_ | |_(/_(_|_|(_|_\n"
echo -ne "\n"
echo -ne " _..._\n"
echo -ne " _..._ .' _ '.\n"
echo -ne " .' _ './ (a) .-'-.\n"
echo -ne " / (e) .-'-. '-,-'\`\n"
echo -ne " | '-,--'\` /\n"
echo -ne " ; / ; |\n"
echo -ne " _ / |/ .\ _\n"
echo -ne " (_\ __..;__ \ ::\ ,/_)._\n"
echo -ne " _;\;\`\`\"\"----...___...---:\"\`\` .-'_ \`'. \ '::.()\__)\n"
echo -ne " (\())(\`._'- \`-._ ,:-\" '. '. - : ; '::\--;__\n"
echo -ne " _\()\`''----...__ \`-._ '-. '._ .' | .:::|()\_)\n"
echo -ne " (_/\`;-. jgs _ ()\`-. \`\"\"--...____..-'\` ;_ .:::| \`.\n"
echo -ne " \_) _;/_)/).;()'._ (\`\.-();/_).__ .::::/().-./\`)\n"
echo -ne " (_\\\`;(()(_/(()/(. __.--;();\`\_)()\__) .::()--;__:()\n"
echo -ne " '-;---()_;\_/()\"-._ (_/ (/ /()';();--._\_::'\`.();\_)\`\n"
echo -ne " ,() (_.-(); \._ \`\`\"\"(_.();_().(\`\.-();__)\`(_/ \`--.__\n"
echo -ne " (_/ (_/() \_) __/(_/|\();__\_)\` \_)\n"
echo -ne " \` (_/ \_)\`-._);\n"


, Mike




Please note that this blog accepts comments via email only. See our Mission And Policy Statement for further details.

Tuesday, June 2, 2009

Happy Birthday Ian! You're 6 Years Old Today :)

Hey There,

This post is dedicated to my son, Ian, who just turned 6 today (well, actually yesterday, but - as most regular readers know - I publish a day in advance. Makes life confusing sometimes ;)

The ASCII art I used as an inspiration for the scripts below was, again, grabbed from Joan Stark's ASCII Art Gallery, which is a great place to find quality ASCII art for almost any occasion.

The second bash script below, as usual, contains X's where spaces should be, so you don't get a bad pull from a copy/paste off of the web page.

Not much more to say except:

Click the greeting below to see it in IMAX ;)

Happy Big Number Six!

Cheers,


Creative Commons License


This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License



#!/bin/bash

#
# ibday.sh - Happy Birthday Ian!
#
# 2009 - Mike Golvach - eggi@comcast.net
#
# Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License
#

echo -ne "\n ~ ~\n * * * *\n * *\n ~ * * ~ * \n * ~ * * ~\n ) ( ) *\n * ~ (_) (_) (_) *\n * # ) ) # ( # *\n _ .-#(_)- -(_)# - - -(_)#-. _ \n * .' # # # # # # \`. ~ *\n : # # # : \n ~ :. # # # .: *\n * | \`-.__ __.-' | *\n | \`\`\`\`\`\"\"\"\"\"\"\"\"\"\"\"\`\`\`\`\` | *\n * | | ||\ |~)|~)\ / | \n | |~||~\|~ |~ | | ~\n ~ * | | * \n | |~)||~)~|~| ||~\|\ \ / | *\n * _.-| |~)||~\ | |~|| /|~\ | |-._ \n .' '. ~ ~ .' \`. *\n jgs : \`-.__ __.-' :\n \`. \`\`\`\`\`\"\"\"\"\"\"\"\"\"\"\"\`\`\`\`\` .'\n \`-.._ _..-'\n \`\`\`\`\`\"\"\"\"-----------\"\"\"\"\`\`\`\`\`\n\n # #\n # # ## ##### ##### # #\n # # # # # # # # # #\n ####### # # # # # # #\n # # ###### ##### ##### #\n # # # # # # #\n # # # # # # #\n \n ######\n # # # ##### ##### # # ##### ## # #\n # # # # # # # # # # # # # #\n ###### # # # # ###### # # # # #\n # # # ##### # # # # # ###### #\n # # # # # # # # # # # # #\n ###### # # # # # # ##### # # #\n \n ### # # #\n # # # ## #\n # # # # # #\n # # # # # #\n # ####### # # #\n # # # # ##\n ### # # # #\n \n # #\n ### ###\n # #\n \n # #\n # #\n # #\n ###\n"



#!/bin/bash

#
# xbday.sh - Happy Birthday Ian!
#
# 2009 - Mike Golvach - eggi@comcast.net
#
# Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License
#

echo -ne "\nXXXXXXXXXXX~XXXXXXXXXXXXXXXXXX~\nXXXXX*XXXXXXXXXXXXXXXXXXX*XXXXXXXXXXXXXXXX*XXXXXXX*\nXXXXXXXXXXXXXXXXXX*XXXXXXXXXXXXXXX*\nXX~XXXXXXX*XXXXXXXXXXXXXXXX*XXXXXXXXX~XXXX*XXXXXXXXXX\nXXXXXXXXXXXXXX*XXXXXXX~XXXXXXXX*XXXXXXXXXXXXXX*XXX~\nXXXXXXXXXXXXXXXXXX)XXXXXXXXX(XXXXXXXXX)XXXXXXXXXXXXXX*\nXXXX*XXXX~XXXXXXX(_)XXXXXXX(_)XXXXXXX(_)XXXX*\nXXXXXXXXXXX*XXXXXX#X)XXXXX)X#XXXXXXX(X#XXXXXXXXXXX*\nXXXXXXXXXXXXXX_X.-#(_)-X-(_)#X-X-X-(_)#-.X_XXXX\nXX*XXXXXXXXX.'XXXX#X#XXXXX#X#XXXXXXX#X#XXXX\`.XXX~XXXXX*\nXXXXXXXXXXX:XXXXXXXX#XXXXX#XXXXXXXXX#XXXXXXXX:XXX\nXXXX~XXXXXX:.XXXXXXX#XXXXX#XXXXXXXXX#XXXXXXX.:XXXXXX*\nXXXXXXXX*XX|X\`-.__XXXXXXXXXXXXXXXXXXXXX__.-'X|X*\nXXXXXXXXXXX|XXXXXX\`\`\`\`\`\"\"\"\"\"\"\"\"\"\"\"\`\`\`\`\`XXXXXX|XXXXXXXXX*\nXXXXX*XXXXX|XXXXXXXXX|X||\X|~)|~)\X/XXXXXXXXX|XXXX\nXXXXXXXXXXX|XXXXXXXXX|~||~\|~X|~XX|XXXXXXXXXX|XXXXXXX~\nXXX~XXX*XXX|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|X*X\nXXXXXXXXXXX|XXXXXX|~)||~)~|~|X||~\|\X\X/XXXXX|XXXXXXXXX*\nXXX*XXXX_.-|XXXXXX|~)||~\X|X|~||X/|~\X|XXXXXX|-._XX\nXXXXXX.'XXX'.XXXXXX~XXXXXXXXXXXX~XXXXXXXXXXX.'XXX\`.XX*\nXXjgsX:XXXXXX\`-.__XXXXXXXXXXXXXXXXXXXXX__.-'XXXXXX:\nXXXXXXX\`.XXXXXXXXX\`\`\`\`\`\"\"\"\"\"\"\"\"\"\"\"\`\`\`\`\`XXXXXXXXX.'\nXXXXXXXXX\`-.._XXXXXXXXXXXXXXXXXXXXXXXXXXXXX_..-'\nXXXXXXXXXXXXXX\`\`\`\`\`\"\"\"\"-----------\"\"\"\"\`\`\`\`\`\n\nXXXXXXXXXXX#XXXXX#\nXXXXXXXXXXX#XXXXX#XXXX##XXXX#####XXX#####XXXX#XXX#\nXXXXXXXXXXX#XXXXX#XXX#XX#XXX#XXXX#XX#XXXX#XXXX#X#\nXXXXXXXXXXX#######XX#XXXX#XX#XXXX#XX#XXXX#XXXXX#\nXXXXXXXXXXX#XXXXX#XX######XX#####XXX#####XXXXXX#\nXXXXXXXXXXX#XXXXX#XX#XXXX#XX#XXXXXXX#XXXXXXXXXX#\nXXXXXXXXXXX#XXXXX#XX#XXXX#XX#XXXXXXX#XXXXXXXXXX#\nXXXXX\nXXX######\nXXX#XXXXX#XXXXX#XXXX#####XXXX#####XX#XXXX#XX#####XXXXX##XXXXX#XXX#\nXXX#XXXXX#XXXXX#XXXX#XXXX#XXXXX#XXXX#XXXX#XX#XXXX#XXX#XX#XXXXX#X#\nXXX######XXXXXX#XXXX#XXXX#XXXXX#XXXX######XX#XXXX#XX#XXXX#XXXXX#\nXXX#XXXXX#XXXXX#XXXX#####XXXXXX#XXXX#XXXX#XX#XXXX#XX######XXXXX#\nXXX#XXXXX#XXXXX#XXXX#XXX#XXXXXX#XXXX#XXXX#XX#XXXX#XX#XXXX#XXXXX#\nXXX######XXXXXX#XXXX#XXXX#XXXXX#XXXX#XXXX#XX#####XXX#XXXX#XXXXX#\nXXXXX\nXXXXXXXXXXXXXXX###XXXXXX#XXXX#XXXXX#\nXXXXXXXXXXXXXXXX#XXXXXX#X#XXX##XXXX#\nXXXXXXXXXXXXXXXX#XXXXX#XXX#XX#X#XXX#\nXXXXXXXXXXXXXXXX#XXXX#XXXXX#X#XX#XX#\nXXXXXXXXXXXXXXXX#XXXX#######X#XXX#X#\nXXXXXXXXXXXXXXXX#XXXX#XXXXX#X#XXXX##\nXXXXXXXXXXXXXXX###XXX#XXXXX#X#XXXXX#\nXXXXX\nXXXXXXXXXXXXXXXXXXXXXX#XXX#\nXXXXXXXXXXXXXXXXXXXXX###X###\nXXXXXXXXXXXXXXXXXXXXXX#XXX#\nXXXXXXXXXXXXXXXXX\nXXXXXXXXXXXXXXXXXXXXX#XXXXX#\nXXXXXXXXXXXXXXXXXXXXX#XXXXX#\nXXXXXXXXXXXXXXXXXXXXXX#XXX#\nXXXXXXXXXXXXXXXXXXXXXXX###\n"




, Mike




Discover the Free Ebook that shows you how to make 100% commissions on ClickBank!



Please note that this blog accepts comments via email only. See our Mission And Policy Statement for further details.

Thursday, November 27, 2008

Happy Thanksgiving - Unix/Linux ASCII Art

Happy Turkey Day!

Here's hoping you're all enjoying a day off of work, have nothing whatsoever to do and fully plan on doing it ;)

Below, a little ASCII art script that should run on any Linux or Unix distro. I don't know who created the original ASCII picture and I give credit to whomever it was. If this is your turkey, send me an email and I'll be happy to credit you with the catch!

Happy Thanksgiving and take care :)

Click below to see this gobbler super-sized ;)

Happy Thanksgiving

...and click here to download the script just in case Blogspot completely destroys all the spacing or any special characters. We put the entire picture in one echo statement in a celebration of whatever anniversary of security through obfuscation this is.

May you be blessed enough to realize all you have to be thankful for.

#!/bin/bash

#
# htg.sh - Happy Thanksgiving :)
#

echo -e "\n ,+*^^*+___+++_\n ,*^^^^ )\n _+* ^**+_\n +^ _ _++*+_+++_, )\n _+^^*+_ ( ,+*^ ^ \+_ )\n { ) ( ,( ,_+--+--, ^) ^\\n { (@) } f ,( ,+-^ __*_*_ ^^\_ ^\ )\n {:;-/ (_+*-+^^^^^+*+*<_ _++_)_ ) ) /\n ( / ( ( ,___ ^*+_+* ) < < \\n U _/ ) *--< ) ^\-----++__) ) ) )\n ( ) _(^)^^)) ) )\^^^^^))^*+/ / /\n ( / (_))_^)) ) ) ))^^^^^))^^^)__/ +^^\n ( ,/ (^))^)) ) ) ))^^^^^^^))^^) _)\n *+__+* (_))^) ) ) ))^^^^^^))^^^^^)____*^\n \ \_)^)_)) ))^^^^^^^^^^))^^^^)\n (_ ^\__^^^^^^^^^^^^))^^^^^^^)\n ^\___ ^\__^^^^^^))^^^^^^^^)\\n ^^^^^\uuu/^^\uuu/^^^^\^\^\^\^\^\^\^\\n ___) >____) >___ ^\_\_\_\_\_\_\)\n ^^^//\\_^^//\\_^ ^(\_\_\_\)\n ^^^ ^^ ^^^ ^^\n"
banner happy;banner thanks;banner giving


, Mike




Please note that this blog accepts comments via email only. See our Mission And Policy Statement for further details.

Friday, August 29, 2008

Mac OS X Shell Scripting Tips For Young And Old

Hey there,

Today's post, as the title suggests, is veering slightly off the beaten path of this blog's general content. But, in keeping with this blog's tradition (and mission) of exploring all things Linux and Unix, it's not too far of a stretch. Hopefully the "Mac" in the title didn't put anyone off (Like, say "Vista," might ;). We're actually going to be looking at their underlying Linux subsystem, which is where we come full circle and it all makes sense. Mac has been fronting their BSD'ish CLI for quite a while now and, if you can use RedHat, Suse, FreeBSD or any of the other myriad varieties of Linux on the market today, OS X's insides should be easy enough for you to figure out. I'm happy, also, that Mac has a Linuxy ( Is that a word? judges? ;) command line interface. The marrying of the fancy windows interface with the bare bones power of Linux should make it easier for the next generation of computer-savvy users to not only enjoy the pretty pictures ( and the funny sounds they make when you click on them with a pointing device), but also (by necessity) possess a rudimentary knowledge of the more powerful underpinnings of all that Window dressing.

Either that or they'll be highly proficient in Fake-DOS v49.x and, if something goes horribly horribly wrong, all the jobs in the tech sector will be for BAT file programmers. I secretly wanted to be one when I started out in this business. If someone threw me enough dough, I'd still do it. Can you imagine getting paid to barely be able to do anything? ;) No offense to Windows fans out there. I, admittedly, use it to run PuTTY, Cygwin, ActiveState Perl and many other useful programs and find it to be an excellent repository for all my log files and script backups... Getting off track; sorry ;)

So, why the Mac? Yesterday, my son ( 5 years old and still kicking - literally ;) started kindergarten. I went to the orientation, because I didn't want to miss out on a milestone in my son's life just so I could catch the early train home, and - to my amazement - they actually had 3 Mac's in the classroom. Computer training (to what degree, I'm unsure) is now part of the curriculum in "kindergarten." This may come as no surprise to a lot of you, but I (being the almost-old fogy that I am) was blown away. I remember kindergarten (well, ...some of it, anyway ;) and I have hazy recollections of dealing with wooden blocks (sometimes with letters and numbers painted on the sides), stuffed animals, monkey bars, crayons, paper and absolutely nothing more "technical" than the interpretation of another person's tone of voice ;) I actually was introduced to computing in the 7th or 8th grade when our school went all out and picked up 3 or 4 TRS-80's from Radio Shack. My first program was a simple if/else clause following a question and "input prompt." My only other masterpiece was an ascii art drawing of a really long diagonal line ;)

Anyway, seeing my kid go off to school - for the first time on his own - in the big yellow bus this morning still haunts me. Not in a bad way. More of an onset of realizations that things are much different now than they were when I was young, that my kids are going to grow up and eventually move out on their own and fiercely demand their independence (even though, for now, they're still sticking like glue ;), that I'll eventually really miss the way things are now and that I waste far too much time "not" paying attention to the most important things in my life. So this little OS X crib-sheet is my way of giving my son something extra (taking time away from my work to give to my son, instead of the other way around which, although considered normal, seems increasingly counter to the development of a healthy relationship with anyone; let alone your own flesh and blood) even when I can't be there with him in person.

Here's to you, Ian. Hopefully, you'll find these tips helpful, easy to follow (hint: don't ask the "teacher" for help with these ;) and you won't use them to bring those Mac's down to whatever their equivalent of a blue-screen is ;) Either way, you'll make me proud :) I love you unconditionally and, if you just want to stop reading at this point, make sure you check out number 10 on the list below before you check out completely :)

NOTE: These links (except the last) all point back to MacOSXHints.com. Although I would love to (I actually do own a G4, with OS X Leopard, that's sitting in storage ;), I can't take credit for them. From what I've found tinkering around with other people's boxes, I could probably write a thing or two, based on recollection, and have it work out correctly, but - for now - I'll leave it to the folks who really know what they're doing with OS X.

Enjoy,

My Lifted List Of Probably Fun Things To Try On An Existing OS X Macintosh (especially a public one ;)

1. Grab all the emails from an address book

2. Show all events in the Calendar's search results

3. Install the FISH shell

4. Move your cursor without moving the Zoomed-In screen

5. Create a Dock bookmark to show all Safari bookmarks

6. Become root using sudo with no password

7. Professor Fizzwizzle and the Molten Mystery - A Fun Puzzle Game

8. Easily add iTunes lyrics to songs via AppleScript

9. Create a visual catalogue of setups and dialogues

10. Send Carly (of iCarly.com) a personal Txt Message <-- He loves that show, although he may hate me by the time he gets around to reading this ;)

, Mike




Please note that this blog accepts comments via email only. See our Mission And Policy Statement for further details.

Saturday, July 26, 2008

More Linux and Unix Laughs For The Weekend

A fine Saturday to you,

Continuing the long tradition (this is the 3rd week in a row now ;) of throwing together some lighter stuff for the weekends, I collected a whole slew of new Linux and Unix related jokes found out there on the web. Today's fare just so happens to be more microsoft-bashing than actual Linux/Unix humor, but that aspect of the plethora of jokes available out there is expected. Users of the competing operating systems have been at each other's jugulars for a long time now. Obviously, I prefer the *nix operating systems to Windows and Mac (although I dig the OS X (and up) underlying BSD-ish OS). I must admit, however, that I do, very often, use Windows to run terminal software so that I can connect to my *nix boxes ;)

Most of this material is from a long running thread at The Ubuntu Forums. The apt-get joke is actually classified as an "Easter egg" and I found that at eegs.com. I'd recommend checking either site out. From the Ubuntu forum, I pulled my favorites, but you might like some of the other stuff on the 9 pages (and counting). The Easter egg site is pretty cool, too. Lots of stuff that isn't necessarily funny, but kind of cool and obscure.

Please note also, that the "sudoit" image comes from xkcd.com and was created by Randall Munroe. I had originally just attributed it to the message board, but thanks to the astute reader who knew where it "originally" came from and was kind enough to point this out. Attribution for this work will be repeated directly beneath the illustration.


I've split these jokes up into 3 sections: MS Bashing, Straight-Up Jokes That Don't Involve Bill Gates and The Easter Egg. For all the pictures, you can click on them to get to a larger (and perhaps more readable) version.

Here's hoping your weekend is pleasant and at least one of these jokes make you laugh quietly to yourself. LOL if you must ;)

Cheers,

Part 1 - MS Bashing:

Macs are for those who don't want to know why their computer works.
Linux is for those who want to know why their computer works.
DOS is for those who want to know why their computer doesn't work.
Windows is for those who don't want to know why their computer doesn't work.

"When you say 'I wrote a program that crashed Windows', people just stare at you blankly and say 'Hey, I got those with the system, *for free*'." -- Linus Torvalds

Have you ever noticed that at trade shows Microsoft is always the one giving away stress balls?

A Penguin Guzzling Down Windows

Part 2 - Straight-Up Jokes That Don't Involve Bill Gates:

Hardware: The part of the computer you kick when the software stops working.

A Geek's one night stand:

whois && gawk && uname && talk && date && wine && touch && unzip && strip && touch && finger && mount && fsck && more && yes; yes; more; yes; umount && make clean && sleep


host # cat "door: paws too slippery"
cat: cannot open door: paws too slippery

host # touch /woman
touch: cannot touch `woman': Permission denied

sudo chown -R us ./allyourbase <-- For information about why this is slightly amusing, check out the "All Your Base Are Belong To Us" page on Wikipedia. They actually have a very in-depth history of this mangled video game dialogue translation :)

If sudo was used in our daily lives
(c) Randall Munroe xkcd.com

Part 3 - The Easter Egg:

The Advanced Package Tool (APT) is a part of the software management system for Debian. Analogous to RedHat's RPM, but infinitely more capable, APT features automatic dependency handling and much more. If you're not a Linux type, it's like Windows Update for adults.
1. Login to a shell as root.
2. Type "apt-get moo" and press ENTER.
3a. An ASCII-art drawing of a cow will be displayed, with "Have you mooed today?".
3b. If you use just "apt-get", a help file is shown with the various switches available. At the very end it says "This APT has Super Cow Powers".

, Mike

Sunday, August 24, 2008

The Hacker Test: More Linux and Unix Humor

Good Morning! (I count morning as "whenever you wake up (especially if you're tethered to a pager)." Today, Morning began at 7:03pm CST :)

For this Sunday's Linux and Unix humor break, I found this dated (yet still relevant) joke on the net and, not being able to believe I found it, downloaded the page immediately. This morning, when I woke up, I checked again and the page where I found the Hacker Test actually does exist! This is important because, when you don't sleep regularly, reality may or may not be valid. Just because something happens to me in the middle of the "day" doesn't mean I'm not dreaming ;) Check out the rest of the long list of jokes and Susan Stepney's web site. It's a great collection of information. Fun, entertaining and informative. I don't know Susan personally, but I dig her site and wish her the best. At the very least, check out the jokes. There are plenty of goods ones to be found there. The world needs more educators with a sense of humor :)

Note that I've included the "request for attribution," preceding the test, directly from her site, and only slightly modified it so that the relative links actually point to where they need to when the material is viewed from this blog.

Hope this makes you laugh, at least a little, and here's to enjoying breakfast as the sun sets :)




This test exists in many variants,
reflecting the changing interests of nerds over time -- I manage a good
score on all of them. (And yes, by 'good' I do mean 'high' :-). I got the
following off the Net, but without an attribution. If you know it, could
you email it to me for inclusion?
Thanks. It shows its age in some of the questions, but that's just part of
the fun. If you like this, there is also The Nerd Test
.




The Hacker Test - Version 1.0



Preface: 06.16.89



This test was conceived and written by Felix Lee, John Hayes and Angela 
Thomas at the end of the spring semester, 1989. It has gone through
many revisions prior to this initial release, and will undoubtedly go
through many more.


(Herewith a compendium of fact and folklore about computer hackerdom, 
cunningly disguised as a test.)


Scoring - Count 1 for each item that you have done, or each 
question that you can answer correctly.


If you score is between:                    You are

0x000 and 0x010 -> Computer Illiterate
0x011 and 0x040 -> a User
0x041 and 0x080 -> an Operator
0x081 and 0x0C0 -> a Nerd
0x0C1 and 0x100 -> a Hacker
0x101 and 0x180 -> a Guru
0x181 and 0x200 -> a Wizard


Note: If you don't understand the scoring, stop here. 


And now for the questions... 





0001 Have you ever used a computer?
0002 ... for more than 4 hours continuously?
0003 ... more than 8 hours?
0004 ... more than 16 hours?
0005 ... more than 32 hours?

0006 Have you ever patched paper tape?

0007 Have you ever missed a class while programming?
0008 ... Missed an examination?
0009 ... Missed a wedding?
0010 ... Missed your own wedding?

0011 Have you ever programmed while intoxicated?
0012 ... Did it make sense the next day?

0013 Have you ever written a flight simulator?

0014 Have you ever voided the warranty on your equipment?

0015 Ever change the value of 4?
0016 ... Unintentionally?
0017 ... In a language other than Fortran?

0018 Do you use DWIM to make life interesting?

0019 Have you named a computer?

0020 Do you complain when a "feature" you use gets fixed?

0021 Do you eat slime-molds?

0022 Do you know how many days old you are?

0023 Have you ever wanted to download pizza?

0024 Have you ever invented a computer joke?
0025 ... Did someone not 'get' it?

0026 Can you recite Jabberwocky?
0027 ... Backwards?

0028 Have you seen "Donald Duck in Mathemagic Land"?

0029 Have you seen "Tron"?

0030 Have you seen "Wargames"?

0031 Do you know what ASCII stands for?
0032 ... EBCDIC?

0033 Can you read and write ASCII in hex or octal?
0034 Do you know the names of all the ASCII control codes?

0035 Can you read and write EBCDIC in hex?

0036 Can you convert from EBCDIC to ASCII and vice versa?

0037 Do you know what characters are the same in both ASCII and EBCDIC?

0038 Do you know maxint on your system?

0039 Ever define your own numerical type to get better precision?

0040 Can you name powers of two up to 2**16 in arbitrary order?
0041 ... up to 2**32?
0042 ... up to 2**64?

0043 Can you read a punched card, looking at the holes?
0044 ... feeling the holes?

0045 Have you ever patched binary code?
0046 ... While the program was running?

0047 Have you ever used program overlays?

0048 Have you met any IBM vice-president?
0049 Do you know Dennis, Bill, or Ken?

0050 Have you ever taken a picture of a CRT?
0051 Have you ever played a videotape on your CRT?

0052 Have you ever digitized a picture?

0053 Did you ever forget to mount a scratch monkey?

0054 Have you ever optimized an idle loop?

0055 Did you ever optimize a bubble sort?

0056 Does your terminal/computer talk to you?

0057 Have you ever talked into an acoustic modem?
0058 ... Did it answer?

0059 Can you whistle 300 baud?
0060 ... 1200 baud?

0061 Can you whistle a telephone number?

0062 Have you witnessed a disk crash?
0063 Have you made a disk drive "walk"?

0064 Can you build a puffer train?
0065 ... Do you know what it is?

0066 Can you play music on your line printer?
0067 ... Your disk drive?
0068 ... Your tape drive?

0069 Do you have a Snoopy calendar?
0070 ... Is it out-of-date?

0071 Do you have a line printer picture of...
0072 ... the Mona Lisa?
0073 ... the Enterprise?
0074 ... Einstein?
0075 ... Oliver?
0076 Have you ever made a line printer picture?

0077 Do you know what the following stand for?
0078 ... DASD
0079 ... Emacs
0080 ... ITS
0081 ... RSTS/E
0082 ... SNA
0083 ... Spool
0084 ... TCP/IP

Have you ever used
0085 ... TPU?
0086 ... TECO?
0087 ... Emacs?
0088 ... ed?
0089 ... vi?
0090 ... Xedit (in VM/CMS)?
0091 ... SOS?
0092 ... EDT?
0093 ... Wordstar?

0094 Have you ever written a CLIST?

Have you ever programmed in
0095 ... the X windowing system?
0096 ... CICS?

0097 Have you ever received a Fax or a photocopy of a floppy?

0098 Have you ever shown a novice the "any" key?
0099 ... Was it the power switch?

Have you ever attended
0100 ... Usenix?
0101 ... DECUS?
0102 ... SHARE?
0103 ... SIGGRAPH?
0104 ... NetCon?

0105 Have you ever participated in a standards group?

0106 Have you ever debugged machine code over the telephone?

0107 Have you ever seen voice mail?
0108 ... Can you read it?

0109 Do you solve word puzzles with an on-line dictionary?

0110 Have you ever taken a Turing test?
0111 ... Did you fail?

0112 Ever drop a card deck?
0113 ... Did you successfully put it back together?
0114 ... Without looking?

0115 Have you ever used IPCS?

0116 Have you ever received a case of beer with your computer?

0117 Does your computer come in 'designer' colors?

0118 Ever interrupted a UPS?

0119 Ever mask an NMI?

0120 Have you ever set off a Halon system?
0121 ... Intentionally?
0122 ... Do you still work there?

0123 Have you ever hit the emergency power switch?
0124 ... Intentionally?

0125 Do you have any defunct documentation?
0126 ... Do you still read it?

0127 Ever reverse-engineer or decompile a program?
0128 ... Did you find bugs in it?

0129 Ever help the person behind the counter with their terminal/computer?

0130 Ever tried rack mounting your telephone?

0131 Ever thrown a computer from more than two stories high?

0132 Ever patched a bug the vendor does not acknowledge?

0133 Ever fix a hardware problem in software?
0134 ... Vice versa?

0135 Ever belong to a user/support group?

0136 Ever been mentioned in Computer Recreations?

0137 Ever had your activities mentioned in the newspaper?
0138 ... Did you get away with it?

0139 Ever engage a drum brake while the drum was spinning?

0140 Ever write comments in a non-native language?

0141 Ever physically destroy equipment from software?

0142 Ever tried to improve your score on the Hacker Test?

0143 Do you take listings with you to lunch?
0144 ... To bed?

0145 Ever patch a microcode bug?
0146 ... around a microcode bug?

0147 Can you program a Turing machine?

0148 Can you convert postfix to prefix in your head?

0149 Can you convert hex to octal in your head?

0150 Do you know how to use a Kleene star?

0151 Have you ever starved while dining with philosophers?

0152 Have you solved the halting problem?
0153 ... Correctly?

0154 Ever deadlock trying eating spaghetti?

0155 Ever written a self-reproducing program?

0156 Ever swapped out the swapper?

0157 Can you read a state diagram?
0158 ... Do you need one?

0159 Ever create an unkillable program?
0160 ... Intentionally?

0161 Ever been asked for a cookie?

0162 Ever speed up a system by removing a jumper?

* Do you know...

0163 Do you know who wrote Rogue?
0164 ... Rogomatic?

0165 Do you know Gray code?

0166 Do you know what HCF means?
0167 ... Ever use it?
0168 ... Intentionally?

0169 Do you know what a lace card is?
0170 ... Ever make one?

0171 Do you know the end of the epoch?
0172 ... Have you celebrated the end of an epoch?
0173 ... Did you have to rewrite code?

0174 Do you know the difference between DTE and DCE?

0175 Do you know the RS-232C pinout?
0176 ... Can you wire a connector without looking?

* Do you have...

0177 Do you have a copy of Dec Wars?
0178 Do you have the Canonical Collection of Lightbulb Jokes?
0179 Do you have a copy of the Hacker's dictionary?
0180 ... Did you contribute to it?

0181 Do you have a flowchart template?
0182 ... Is it unused?

0183 Do you have your own fortune-cookie file?

0184 Do you have the Anarchist's Cookbook?
0185 ... Ever make anything from it?

0186 Do you own a modem?
0187 ... a terminal?
0188 ... a toy computer?
0189 ... a personal computer?
0190 ... a minicomputer?
0191 ... a mainframe?
0192 ... a supercomputer?
0193 ... a hypercube?
0194 ... a printer?
0195 ... a laser printer?
0196 ... a tape drive?
0197 ... an outmoded peripheral device?

0198 Do you have a programmable calculator?
0199 ... Is it RPN?

0200 Have you ever owned more than 1 computer?
0201 ... 4 computers?
0202 ... 16 computers?

0203 Do you have a SLIP line?
0204 ... a T1 line?

0205 Do you have a separate phone line for your terminal/computer?
0206 ... Is it legal?

0207 Do you have core memory?
0208 ... drum storage?
0209 ... bubble memory?

0210 Do you use more than 16 megabytes of disk space?
0211 ... 256 megabytes?
0212 ... 1 gigabyte?
0213 ... 16 gigabytes?
0214 ... 256 gigabytes?
0215 ... 1 terabyte?

0216 Do you have an optical disk/disk drive?

0217 Do you have a personal magnetic tape library?
0218 ... Is it unlabelled?

0219 Do you own more than 16 floppy disks?
0220 ... 64 floppy disks?
0221 ... 256 floppy disks?
0222 ... 1024 floppy disks?

0223 Do you have any 8-inch disks?

0224 Do you have an internal stack?

0225 Do you have a clock interrupt?

0226 Do you own volumes 1 to 3 of _The Art of Computer Programming_?
0227 ... Have you done all the exercises?
0228 ... Do you have a MIX simulator?
0229 ... Can you name the unwritten volumes?

0230 Can you quote from _The Mythical Man-month_?
0231 ... Did you participate in the OS/360 project?

0232 Do you have a TTL handbook?

0233 Do you have printouts more than three years old?

* Career

0234 Do you have a job?
0235 ... Have you ever had a job?
0236 ... Was it computer-related?

0237 Do you work irregular hours?

0238 Have you ever been a system administrator?

0239 Do you have more megabytes than megabucks?

0240 Have you ever downgraded your job to upgrade your processing power?

0241 Is your job secure?
0242 ... Do you have code to prove it?

0243 Have you ever had a security clearance?

* Games

0244 Have you ever played Pong?

Have you ever played
0246 ... Spacewar?
0247 ... Star Trek?
0248 ... Wumpus?
0249 ... Lunar Lander?
0250 ... Empire?

Have you ever beaten
0251 ... Moria 4.8?
0252 ... Rogue 3.6?
0253 ... Rogue 5.3?
0254 ... Larn?
0255 ... Hack 1.0.3?
0256 ... Nethack 2.4?

0257 Can you get a better score on Rogue than Rogomatic?

0258 Have you ever solved Adventure?
0259 ... Zork?

0260 Have you ever written any redcode?

0261 Have you ever written an adventure program?
0262 ... a real-time game?
0263 ... a multi-player game?
0264 ... a networked game?

0265 Can you out-doctor Eliza?

* Hardware

0266 Have you ever used a light pen?
0267 ... did you build it?

Have you ever used
0268 ... a teletype?
0269 ... a paper tape?
0270 ... a decwriter?
0271 ... a card reader/punch?
0272 ... a SOL?

Have you ever built
0273 ... an Altair?
0274 ... a Heath/Zenith computer?

Do you know how to use
0275 ... an oscilliscope?
0276 ... a voltmeter?
0277 ... a frequency counter?
0278 ... a logic probe?
0279 ... a wirewrap tool?
0280 ... a soldering iron?
0281 ... a logic analyzer?

0282 Have you ever designed an LSI chip?
0283 ... has it been fabricated?

0284 Have you ever etched a printed circuit board?

* Historical

0285 Have you ever toggled in boot code on the front panel?
0286 ... from memory?

0287 Can you program an Eniac?

0288 Ever seen a 90 column card?

* IBM

0289 Do you recite IBM part numbers in your sleep?
0290 Do you know what IBM part number 7320154 is?

0291 Do you understand 3270 data streams?

0292 Do you know what the VM privilege classes are?

0293 Have you IPLed an IBM off the tape drive?
0294 ... off a card reader?

0295 Can you sing something from the IBM Songbook?

* Languages

0296 Do you know more than 4 programming languages?
0297 ... 8 languages?
0298 ... 16 languages?
0299 ... 32 languages?

0300 Have you ever designed a programming language?

0301 Do you know what Basic stands for?
0302 ... Pascal?

0303 Can you program in Basic?
0304 ... Do you admit it?

0305 Can you program in Cobol?
0306 ... Do you deny it?

0307 Do you know Pascal?
0308 ... Modula-2?
0309 ... Oberon?
0310 ... More that two Wirth languages?
0311 ... Can you recite a Nicklaus Wirth joke?

0312 Do you know Algol-60?
0313 ... Algol-W?
0314 ... Algol-68?
0315 ... Do you understand the Algol-68 report?
0316 ... Do you like two-level grammars?

0317 Can you program in assembler on 2 different machines?
0318 ... on 4 different machines?
0319 ... on 8 different machines?

Do you know
0320 ... APL?
0321 ... Ada?
0322 ... BCPL?
0323 ... C++?
0324 ... C?
0325 ... Comal?
0326 ... Eiffel?
0327 ... Forth?
0328 ... Fortran?
0329 ... Hypertalk?
0330 ... Icon?
0331 ... Lisp?
0332 ... Logo?
0333 ... MIIS?
0334 ... MUMPS?
0335 ... PL/I?
0336 ... Pilot?
0337 ... Plato?
0338 ... Prolog?
0339 ... RPG?
0340 ... Rexx (or ARexx)?
0341 ... SETL?
0342 ... Smalltalk?
0343 ... Snobol?
0344 ... VHDL?
0345 ... any assembly language?

0346 Can you talk VT-100?
0347 ... Postscript?
0348 ... SMTP?
0349 ... UUCP?
0350 ... English?

* Micros

0351 Ever copy a copy-protected disk?
0352 Ever create a copy-protection scheme?

0353 Have you ever made a "flippy" disk?

0354 Have you ever recovered data from a damaged disk?

0355 Ever boot a naked floppy?

* Networking

0356 Have you ever been logged in to two different timezones at once?

0357 Have you memorized the UUCP map for your country?
0358 ... For any country?

0359 Have you ever found a sendmail bug?
0360 ... Was it a security hole?

0361 Have you memorized the HOSTS.TXT table?
0362 ... Are you up to date?

0363 Can you name all the top-level nameservers and their addresses?

0364 Do you know RFC-822 by heart?
0365 ... Can you recite all the errors in it?

0366 Have you written a Sendmail configuration file?
0367 ... Does it work?
0368 ... Do you mumble "defocus" in your sleep?

0369 Do you know the max packet lifetime?

* Operating systems

Can you use
0370 ... BSD Unix?
0371 ... non-BSD Unix?
0372 ... AIX
0373 ... VM/CMS?
0374 ... VMS?
0375 ... MVS?
0376 ... VSE?
0377 ... RSTS/E?
0378 ... CP/M?
0379 ... COS?
0380 ... NOS?
0381 ... CP-67?
0382 ... RT-11?
0383 ... MS-DOS?
0384 ... Finder?
0385 ... PRODOS?
0386 ... more than one OS for the TRS-80?
0387 ... Tops-10?
0388 ... Tops-20?
0389 ... OS-9?
0390 ... OS/2?
0391 ... AOS/VS?
0392 ... Multics?
0393 ... ITS?
0394 ... Vulcan?

0395 Have you ever paged or swapped off a tape drive?
0396 ... Off a card reader/punch?
0397 ... Off a teletype?
0398 ... Off a networked (non-local) disk?

0399 Have you ever found an operating system bug?
0400 ... Did you exploit it?
0401 ... Did you report it?
0402 ... Was your report ignored?

0403 Have you ever crashed a machine?
0404 ... Intentionally?

* People

0405 Do you know any people?
0406 ... more than one?
0407 ... more than two?

* Personal

0408 Are your shoelaces untied?

0409 Do you interface well with strangers?

0410 Are you able to recite phone numbers for half-a-dozen computer systems
but unable to recite your own?

0411 Do you log in before breakfast?

0412 Do you consume more than LD-50 caffeine a day?

0413 Do you answer either-or questions with "yes"?

0414 Do you own an up-to-date copy of any operating system manual?
0415 ... *every* operating system manual?

0416 Do other people have difficulty using your customized environment?

0417 Do you dream in any programming languages?

0418 Do you have difficulty focusing on three-dimensional objects?

0419 Do you ignore mice?

0420 Do you despise the CAPS LOCK key?

0421 Do you believe menus belong in restaurants?

0422 Do you have a Mandelbrot hanging on your wall?

0423 Have you ever decorated with magnetic tape or punched cards?
0424 Do you have a disk platter or a naked floppy hanging in your home?

0425 Have you ever seen the dawn?
0426 ... Twice in a row?

0427 Do you use "foobar" in daily conversation?
0428 ... "bletch"?

0429 Do you use the "P convention"?

0430 Do you automatically respond to any user question with RTFM?
0431 ... Do you know what it means?

0432 Do you think garbage collection means memory management?

0433 Do you have problems allocating horizontal space in your room/office?

0434 Do you read Scientific American in bars to pick up women?

0435 Is your license plate computer-related?

0436 Have you ever taken the Purity test?

0437 Ever have an out-of-CPU experience?

0438 Have you ever set up a blind date over the computer?

0439 Do you talk to the person next to you via computer?

* Programming

0440 Can you write a Fortran compiler?
0441 ... In TECO?

0442 Can you read a machine dump?
0443 Can you disassemble code in your head?

Have you ever written
0444 ... a compiler?
0445 ... an operating system?
0446 ... a device driver?
0447 ... a text processor?
0448 ... a display hack?
0449 ... a database system?
0450 ... an expert system?
0451 ... an edge detector?
0452 ... a real-time control system?
0453 ... an accounting package?
0454 ... a virus?
0455 ... a prophylactic?

0456 Have you ever written a biorhythm program?
0457 ... Did you sell the output?
0458 ... Was the output arbitrarily invented?

0459 Have you ever computed pi to more than a thousand decimal places?
0460 ... the number e?

0461 Ever find a prime number of more than a hundred digits?

0462 Have you ever written self-modifying code?
0463 ... Are you proud of it?

0464 Did you ever write a program that ran correctly the first time?
0465 ... Was it longer than 20 lines?
0466 ... 100 lines?
0467 ... Was it in assembly language?
0468 ... Did it work the second time?

0469 Can you solve the Towers of Hanoi recursively?
0470 ... Non-recursively?
0471 ... Using the Troff text formatter?

0472 Ever submit an entry to the Obfuscated C code contest?
0473 ... Did it win?
0474 ... Did your entry inspire a new rule?

0475 Do you know Duff's device?

0476 Do you know Jensen's device?

0477 Ever spend ten minutes trying to find a single-character error?
0478 ... More than an hour?
0479 ... More than a day?
0480 ... More than a week?
0481 ... Did the first person you show it to find it immediately?

* Unix

0482 Can you use Berkeley Unix?
0483 .. Non-Berkeley Unix?

0484 Can you distinguish between sections 4 and 5 of the Unix manual?

0485 Can you find TERMIO in the System V release 2 documentation?

0486 Have you ever mounted a tape as a Unix file system?

0487 Have you ever built Minix?

0488 Can you answer "quiz function ed-command" correctly?
0489 ... How about "quiz ed-command function"?

* Usenet

0490 Do you read news?
0491 ... More than 32 newsgroups?
0492 ... More than 256 newsgroups?
0493 ... All the newsgroups?

0494 Have you ever posted an article?
0495 ... Do you post regularly?

0496 Have you ever posted a flame?
0497 ... Ever flame a cross-posting?
0498 ... Ever flame a flame?
0499 ... Do you flame regularly?

0500 Ever have your program posted to a source newsgroup?

0501 Ever forge a posting?
0502 Ever form a new newsgroup?
0503 ... Does it still exist?

0504 Do you remember
0505 ... mod.ber?
0506 ... the Stupid People's Court?
0507 ... Bandy-grams?

* Phreaking

0508 Have you ever built a black box?

0509 Can you name all of the 'colors' of boxes?
0510 ... and their associated functions?

0511 Does your touch tone phone have 16 DTMF buttons on it?

0512 Did the breakup of MaBell create more opportunities for you?





If you have any comments of suggestions regarding the HACKER TEST,
Please send them to: hayes@psunuce.bitnet
or jwh100@psuvm.bitnet / jwh100@psuvmxa.bitnet
or jwh100@psuvm.psu.edu / jwh100@psuvmxa.psu.edu
or ...!psuvax1!psuvm.bitnet!jwh100





, Mike




Please note that this blog accepts comments via email only. See our Mission And Policy Statement for further details.

Tuesday, November 4, 2008

Really Simple Keyless Steganography For Linux And Unix

IMPORTANT NOTE: A reader has noted that Blogspot elected to change all my bitmap images to jpg format without renaming them, which, of course, removes the hidden message just as surely as resizing does. Apologies for any confusion. I will refrain from posting bitmaps in the future. At least when their actually "remaining" bitmaps is of importance!

Hey again,

Today we're going to take a look at a topic that most people are probably familiar with to one degree or another. To use the dictionary definition, steganography is the art of "hiding a secret message within a larger one in such a way that others can not discern the presence or contents of the hidden message."

I'm sure the title of today's post probably put off more than a few purists who subscribe to the more exact definition that steganography is "the art of writing in cipher, or in characters which are not intelligible except to persons who have the key." If you define steganography that strictly, there can be no such thing as keyless steganography, except in the land where the oxymoron is king ;)

Later in the week, we'll be looking at "really" hiding a message inside another message (or PDF, or picture, etc, as the case may be) so that it can't be encoded or decoded without a key. For now, we're going to look at just how easily one can pass a message along (inside a bitmap image) without using a key. The beauty of this method is that it's incredibly easy to implement and hard to notice if one isn't looking for it.

For our example today, we'll take a standard Windows bitmap tile: The cute, pouting little kitten. Knowing that the little kitty on the right (below) is actually an agent for the delivery of a blatant hidden message, it probably looks a lot more menacing now, right?

innocent kitty stealth kitty


Okay, it doesn't look all that different than the original picture. However, if you blow up the top left section of the bitmap, you can see the difference (Remember; this is a hackish way of hiding a message that is just begging to be found out, so we can make a point ;)

innocent kitty blowup stealth kitty blowup


Now, you should be fairly confident that the kitten on the right is a bit more vicious than the kitten on the left (in the original pictures). We should note that the blown-up sections of the pictures, and even resizing the original bitmap (below), will completely erase our message (This is generally true of most steganographic methods).

stealth kitty large

So what's the secret to lame steganography? It's exactly that: completely lame ;) We could have actually taken some time and spaced the message out somewhat and made it much harder to see the difference in the altered image, but, again, we're trying to make the difference obvious (although not totally).

The secret to doing this sort of "lame steganography" is simple (raw) editing of the binary file. Using "vi" (available on virtually every distro of Linux and Unix imaginable) is one simple way to accomplish this. If you use "vi" to "read" the second kitty (the rightmost in the first set of pictures), you'll notice the message near the end:

<J"?ÅOY?'BiâXÅqdaeY/¤I>O¬¬>->O¬êSl"I>I>O>c,/¤ñÄI>o'_¼ì£,¼,_lIc£(",¼IOH<%>m"i£ª£òíl¼&ja fb` ?%jD,E3Öÿ²_O_II^£+zâ@á8åafri>¦zÆY("frSöÆ'é»jO-YO_#Y
¼I>OIIOÆ,£acIÄY?Ah>NíoåNåkO.åI"¥YCAÅYåqHr OE"&j?'IIE3Nåìä+IçIIJ$!A( THIS CAT WANTS TO EAT YOU ALIVE<I>ê,O"E,`'O>E,l"Ez^r%zE,I>ò¼`'ÑÄo'_Ä'åôåé»?'c£
Y/Oê»<ê3i>L¼ª£I"
å+,§,BA#AEjçSE«-ídQñoÄa¤Y,¼Äqi£?Y±_0Y?I+¼IOOIkIH"A0+r£Qfr<OOåíÜIO-I¬O+z?9dQÅigr+¼?¬Ç'f,É,II3_Ñås_"_S_


Another, more elegant way to do it, is with any hex editor (for instance, Ultra Edit). Just like with vi, you can add the message and read it very simply (in the ASCII conversion column). This is how the output looks in Ultra Edit in the original file:

¡ ‹ì›¼ÏÄRÕ¯´+´¦Š"aYåy&z„qâH+‹


and with the hidden message (hidden in the kitty on the right):

THIS CAT WANTS TO EAT YOU ALIVE‹


You see what I'm saying? That cat is just downright mean ;)

As promised, later this week, we'll take a look at some more advanced forms of steganography. In the meantime, the odds are that no one (except the person you tell) will notice this sort of secret-message-passing. And the best part is that you don't need to invest in any extra software to get the job done :)

Cheers,

, Mike




Iker Landajuela had this suggestion as an alternate solution to getting at information hidden in hex files!


To watch for string inside a BMP picture we can execute:

$ hexdump -C hiddenimage.bmp | grep "hidden message"


Please note that this blog accepts comments via email only. See our Mission And Policy Statement for further details.