View Single Post
Old 09-19-2009, 06:46 PM   #1 (permalink)
Willravel
... a sort of licensed troubleshooter.
 
Willravel's Avatar
 
GeekTool for Mac

Tim: "Hey I heard you got a Mac. That's cool."
Eric: "Yeah, I've wanted one for a long time and it's been a lot of fun setting up."
Tim: "I prefer Ubuntu. I've been having a blast modifying it. I have the date and time integrated with the desktop."
Eric: "Yeah me too."
Tim: "WHA?!"

Yep.

GeekTool (don't DL v. 3.0, it's still buggy)
To save you some time, the terminal codes for time, day, month and date (respectively) are the following:
Code:
date "+%I:%M:%S %p"
date "+%A"
date "+%B"
date "+%d"
The weather is slightly more complicated. Visit yahoo weather, locate the URL, and locate your specific city code:
Code:
curl --silent "http://xml.weather.yahoo.com/forecastrss?p=YOURCITYCODE&u=c" | grep -E '(Current Conditions:|C<BR)' | sed -e 's/Current Conditions://' -e 's/<br \/>//' -e 's/<b>//' -e 's/<\/b>//' -e 's/<BR \/>//' -e 's/<description>//' -e 's/<\/description>//'
I've been having a blast screwing around with this thing.
Willravel is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62