7
  1. Currency conversion through Google

    curl --silent 'http://www.google.com/finance/converter?a=1&from=USD&to=INR' | grep "<span class=bld>.*</span>" | sed -e "s/.*<span class=bld>\(.*\) INR<\/span>.*/\1/" | awk '{printf "₹ %.2f\n", $1}'

  2. Weather through Yahoo!

    file:///tmp/weather-urbana.png

    echo "Urbana";curl --silent "http://weather.yahoo.com/united-states/illinois/urbana-2510436/" | grep "forecast-icon" | sed "s/.*background\:url(\'\(.*\)\')\;\ _background.*/\1/" | xargs curl --silent -o /tmp/weather-urbana.png\

    export TZ=America/Chicago;echo "`date +'%a %d, %l:%M %p'`";unset TZ;

    YC=`curl --silent "http://weather.yahooapis.com/forecastrss?p=USIL1191&u=f" | grep "yweather:condition"`;TX=`echo $YC | awk 'BEGIN { FS = "[\"]" } ; /yweather:condition/ { print $2 } '`;YCF=`echo $YC | awk 'BEGIN { FS = "[\"]" } ; /yweather:condition/ { print $6 } '`;YCC=`echo $YCF | awk '{printf "%.0f\n", (($1-32)*5/9)}'`;TX="$TX\n$YCF ℉ / $YCC ℃";echo $TX;

  3. Calendar though Command Line

    cal_head='cal | head -1'; cal_tail='cal | tail -7'; today='date "+%e"'; echo "$cal_head"; echo "${cal_tail/${today}/\033[1;32m${today}\033[0m}";

  4. iCal Events through icalBuddy

    /usr/local/bin/icalBuddy -npn -nc -b "" -iep "title,datetime" -ps "| |" -df "%d" eventsToday+31

  5. Processes though Command Line

    ps -amcwwwxo "command %mem %cpu" | grep -v grep | head -10

  6. PDNSD Cache DNS Server Logs: PDNSD is a local dns server which caches dns records. It also helps me keep a log of all websites called by all applications.

  7. WebServer Status: I have actually tied this up with Prey configured to my personal website.


Geeklet files to download

Comments

Log in to comment or register here.