I was messing around last night with a simple applescript that pings devices on my network, the response then uses geektool to display the status...
![]()
Anyone else done something similar...Looking for some inspiration![]()
Indeed, just a loop that brings the geeklet down.@tomge, Neat.
Not sure how I would make use of it, good though.
How are you doing that?
Incrementing the distance of the geeklet from top++ in a small loop?
how to order this into?
1.EVENT name
2.location
3.date
4.notes
![]()
I was messing around last night with a simple applescript that pings devices on my network, the response then uses geektool to display the status...
Anyone else done something similar...Looking for some inspiration![]()
Those different colors is that 1 geeklet or multiple?
1 geeklet only
can you help me. 1 geeklet or multiple, to make things in order
#!/bin/bash
miasto="Ryki"
w3m -dump http://pogodynka.pl/polska/${miasto}_${miasto} | grep -A 5 "Teraz" | grep -A 3 "Temperatura" > tmp
echo "$miasto"
kierunki=("S" "SW" "W" "NW" "N" "NE" "E" "SE")
kierunek=`grep Kierunek tmp|sed 's/\(.*\)\([0-7]\)\(.*\)/\2/g'`
sed_cmd="s/\[$kierunek\]/${kierunki[$kierunek]}/"
cat tmp | sed ''$sed_cmd''
rm tmp
The radar image is neat...how did you script that?
http://image.weather.com/web/radar/us_se_9regradar_plus_usen.jpg
it's a geektool image. where the "se" between us_ and _9regradar means "southeast"
i found it somewhere in the middle of this forum and had to figure out where to change it to my region, through trial and error.
good luck.
cody
Anyone been able to build something that will pull in Google Reader Unread items?
I have tried various ways to get my Unread items from the reading-list feed, but for some reason I cannot get authenticated into Google reader.
Any help?
Oh, pulling the latest News from NetNewsWire would work as well. I can't get either to go.
I know there is already a way to get facebook notifications. Here is my version that skips the use of automator.
$ curl "http://your url here" -A "Mozilla/4.0" | grep 'title' | egrep '(commented|your Wall)' | sed -e 's/\<title\>//' -e 's/\<\/title\>//' -e "s/\&apos\;/'/" -e 's/ //' | head -n 4
The url you must have to use this can be obtained by clicking the notifications button on the lower right hand corner of any facebook page. From there click on show all. This should send you to a new page. Click the link for "Your notifications" on the right side of the screen. Now this should send you to a new page. Copy the url and paste that into your url here. To change the number of notifications shown change the last number in the code. It is currently set to show 4.
You must replace feed:// (from the facebook url) with http:// otherwise this will not work.
That should work to show facebook notifications if not write back and I'll try my best to help troubleshoot.
Thanks....you did most of the work...all I had to do was change "se" to "ne" to get the northeast image....now I'm getting greedy and trying to narrow it down to just my state or area...no success yet.
First go to your city's weather page on weather.com, and click on the 'map' tab.
Then select 'classic map' near the bottom of the page. Using the drop down menu under the map, choose the view that you want. Finally, copy the URL of that radar image.
For instance, here's mine, Albuquerque area:
http://i.imwx.com/web/radar/us_abq_metroradar_plus_usen.jpg