Nerdy Christmas (take 2)
Improving on last year’s version…

…and for the coding-inclined here comes the source
#!/bin/bash #lights_off # # *==< # /\ # / \ # / @ \ # / \ # / @ @ \ # || # # NERDY CHRISTMAS # AND # GEEKY NEW YEAR! # #lights_on # # *==< # /\ # / *\ # / @ \ # / * * \ # / @ * @ \ # || # # NERDY CHRISTMAS # AND # GEEKY NEW YEAR! # frows=14; stime=1; which tput >/dev/null || alias tput=“clear”; display(){ tput cup 0 0; grep -A$frows \#”$1″ “$0″ | tail -n$frows | sed ’s/#/\ /’; } animation(){ display lights_off && sleep $stime; display lights_on && sleep $stime } clear; yes | while read i; do animation; done;


wow, looks so cool!
Comment by tarot card — January 16, 2009 @ 4:20 am