|
|
Fortune? Bah
How very 1988.
How about something a bit more fun (not to mention up-to-date)? I discovered my new favorite site this week, and it immediately sprang to mind when I read this. Fortune is just so.. tired. Firstly, check out http://www.thesimpsonsquotes.com. Then, check out http://www.thesimpsonsquotes.com/add_random_quotes.html. After checking that the code provided on the site offers you a handy GET var to change the number of quotes that come back, my mind immediately started cranking.. So, I used a bit of curl/perl to create myself a random password generator for my Samba PDC.. But, I digress. Using a bit of that perl code, I've modded this hint to make it do random SIMPSONS quotes, instead of used up old bloody Fortune quotes. Be the first kid on your block to have random Simpsons .sigs!! First, the perl:
Save this as /Users/username/bin/simpson_quote.pl
Back out to the shell and run (make the perl script an executable).
Then, follow the normal instructions from the hint (and the comments, if you like, a big thank you to the person who submitted the ___m thing.. badass!). Just substitute with (the --with-name bit is optional.. it just leaves in the starting bit with Character Name: rather than leaving it off)
I just set it up myself, and hopefully I've actually written the instructions correctly.. I'll check back here for questions, comments. Have fun! And remember... --- Milhouse: Why do you have a social worker? I am the one with stigmata. PS - Cheers to the original author. Handy little AScript. ;)
Fortune? Bah (oops!)
BTW, I found a little problem. Some of the quotes have a trailing "<br>". So, to protect from this I changed line 12 to read: |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.27 seconds |
|