Cowlendar

Posted: September 29th, 2010 | Author: | Filed under: Code | Tags: , , | No Comments »

A cowlendar is what you get when you combine two Linux command line programs, cowsay and pal. Both of these are in the Debian repositories. Here’s an example command:

pal --nocolor | cowsay -n

And the result:

 ________________________________________
/      Su   Mo   Tu   We   Th   Fr   Sa  \
| Sep  19   20   21   22   23   24   25  |
| Oct  26   27   28  @29@  30   01   02  |
|      03   04   05   06  *07*  08   09  |
|      10   11   12   13  *14*  15   16  |
|      17   18   19   20   21   22   23  |
|                                        |
| * 09/29 call counselor                 |
| * 09/29 pay Laney $50                  |
| * 09/29 buy D. Hacker book             |
| * 10/07 ENGL1A: essay #2 due           |
| * 10/07 MATH3C: exam #2                |
\ * 10/14 ENGL1A: essay #3 in class      /
 ----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

I have this command in my ~/.bashrc so I see my cowlendar every time I open a terminal.



Leave a Reply