..bits & bytes teleported

Tuesday Jul 22, 2008

 _____________________________________________________________
/ Your mind is the part of you that says,                     \
|         "Why'n'tcha eat that piece of cake?"                |
| ... and then, twenty minutes later, says,                   |
|         "Y'know, if I were you, I wouldn't have done that!" |
|                 -- Steven and Ondrea Levine                 |
|                                                             |
\ [fortune] http://iheartquotes.com/fortune/show/46671        /
 -------------------------------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
Just append these lines to your '.bashrc' and everytime you login, you will be greeted with a cow (cowsay) blurting out a random quote from  http://www.iheartquotes.com/
# Pull quotes from the API
# Source: http://www.iheartquotes.com/api

alias getfortune='wget --timeout=3 -O - -q'
alias fortune='getfortune http://www.iheartquotes.com/api/v1/random'
alias myfortune='getfortune http://www.iheartquotes.com/api/v1/random?source=joel_on_software+paul_graham+prog_style'
fortune | cowsay -n

You may also enjoy this: http://ubuntuforums.org/archive/index.php/t-39572.html
Comments:

Post a Comment:
Comments are closed for this entry.