<?phpxml version="1.0" encoding="utf-8"?>
<rss version="2.0" 
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<channel>
<title>Geeklets / dvil88 / Voted News</title>
<link>http://www.macosxtips.co.uk/geeklets</link>
<description>Share and vote on Geeklets for GeekTool</description>
<pubDate>Fri, 08 Jan 2010 04:34:11 -0800</pubDate>
<language>en</language>
<item>
<title><![CDATA[IP Status (Public IP, LAN IP, WAN IP, SSID Name)]]></title>
<link>http://www.macosxtips.co.uk/geeklets/system/ip-status-public-ip-lan-ip-wan-ip-ssid-name/</link>
<comments>http://www.macosxtips.co.uk/geeklets/system/ip-status-public-ip-lan-ip-wan-ip-ssid-name/</comments>
<pubDate>Fri, 08 Jan 2010 05:34:11 -0800</pubDate>
<dc:creator>realityloop</dc:creator>
<category>System</category>
<guid>http://www.macosxtips.co.uk/geeklets/system/ip-status-public-ip-lan-ip-wan-ip-ssid-name/</guid>
<description><![CDATA[This uses a shell script to list your public facing IP addresses, as well as en0 (ethernet) and en1 (AirPort). For AirPort, if the system is connected to a network, it will also list the SSID.<br /><br />The needed shell script is here:<br /><br /><br />#!/usr/bin/perl                                                                                                         <br /># a little script to get your network status                                                                            <br /><br />$en0_info = `ifconfig en0 | grep "inet" | grep -v 127.0.0.1`;<br />$en1_info = `ifconfig en1 | grep "inet" | grep -v 127.0.0.1`;<br />$ext_info = `curl --silent http://checkip.dyndns.org | awk '{printf $6}' | cut -f 1 -d "&lt;" | tr -d 'n'`;<br />$airport_network = `/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport -I | awk -F: '/ SSID/ {print $2}'`;<br /><br />if($ext_info)<br />{<br />	$output .= "External: $ext_info   ";<br />}<br />else<br />{ $output .= "External: OFFLINE   ";}<br /><br /><br />if($en0_info)<br />{<br />    $en0_info =~ /inet (.*) netmask/s;<br />    $output .= "Ethernet: $1   ";<br />}<br />else<br />{ $output .= "Ethernet: INACTIVE   ";}<br /><br /><br />if($en1_info)<br />{<br />    $en1_info =~ /inet (.*) netmask/s;<br />    $en1_info = $1;<br />    $output .= "Airport: $en1_info    SSID: $airport_network    ";<br />}<br />else<br />{ $output .= "Airport: INACTIVE    ";}<br /><br /><br />print "$output";<br /><br/><br/>4 Vote(s) ]]></description>
</item>

<item>
<title><![CDATA[Calendar with colored day]]></title>
<link>http://www.macosxtips.co.uk/geeklets/system/calendar-with-colored-day/</link>
<comments>http://www.macosxtips.co.uk/geeklets/system/calendar-with-colored-day/</comments>
<pubDate>Wed, 06 Jan 2010 13:40:47 -0800</pubDate>
<dc:creator>dvil88</dc:creator>
<category>System</category>
<guid>http://www.macosxtips.co.uk/geeklets/system/calendar-with-colored-day/</guid>
<description><![CDATA[This is a simple script in php to get a calendar with today's day colored.<br /><br /><img src="http://img20.imageshack.us/img20/8083/calk.png" /><br /><br />PHP script:<br /><br /><a href="http://pastebin.com/f56e5608f">http://pastebin.com/f56e5608f</a><br /><br />With this you get a calendar starting in Monday or Sunday with today's date in red, to change the color you only have to change '31' (red) in <b>echo chr(27),'[','31m',$color_day,chr(27),'[','0m';</b><br /><br />Here you have a complete guide with commands of ANSI/VT100:<br /><br /><a href="http://www.termsys.demon.co.uk/vtansi.htm">http://www.termsys.demon.co.uk/vtansi.htm</a><br /><br />The geeklet is configured to execute the script in /var/calendar.php, you can change it to another directory.<br /><br />Enjoy it!<br/><br/>22 Vote(s) ]]></description>
</item>

</channel>
</rss>
