Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicinabox/geektool-scripts
A collection of geektool scripts, moved from nicinabox.com
https://github.com/nicinabox/geektool-scripts
Last synced: about 1 month ago
JSON representation
A collection of geektool scripts, moved from nicinabox.com
- Host: GitHub
- URL: https://github.com/nicinabox/geektool-scripts
- Owner: nicinabox
- Created: 2010-04-17T20:22:21.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-08-16T15:17:33.000Z (over 13 years ago)
- Last Synced: 2023-03-11T01:38:19.725Z (over 1 year ago)
- Language: Perl
- Homepage: http://nicinabox.com
- Size: 296 KB
- Stars: 34
- Watchers: 3
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.textile
Awesome Lists containing this project
README
h1. Installing
@Current version: 0.7@
Note: this step can be skipped if you’re using the gem.
Copy files to a directory in your PATH. I recommend @/usr/local/bin@. This will make the commands accessible by just typing the name of it. Be sure to give them permissions (755 should be fine).
h2. Uptime
Displays your system's uptime.
uptime | awk '{print "Uptime : " $3 " " $4 " " $5 }' | sed -e 's/.$//g'
Uptime : 25 days, 8:28h2. Network Info
h3. Internal IP
Displays your Wifi or Ethernet IP. Also see "IP script":#script_ip
ifconfig en1 | grep "inet " | awk '{print $2}'
192.168.1.2h3. External IP
Displays your external IP
curl -s www.whatismyip.com/automation/n09230945.asp | awk {'print "External : " $1'}
External: 72.45.123.12h2. Calendar
cal | sed "s/^/ /;s/$/ /;s/ $(date +%e) / $(date +%e | sed 's/./#/g') /"
July 2009
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 ## 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31h2. Memory Usage
Prints out total Memory Usage
top -l 1 | awk '/PhysMem/ {print "Used: " $8}'
top -l 1 | awk '/PhysMem/ {print "Inactive: " $6+$10"M"}'
Used: 1769M
Inactive: 688Mh2. CPU (horizontal)
top -l 1| awk '/CPU usage/ {print $6, $7, $8, $9, $10, $11, $12, $13}'
CPU usage: 22.22% user, 71.11% sys, 6.67% idleh2. CPU (vertical)
echo CPU usage
top -l 1| awk '/CPU usage/ {print $8, $9}'
top -l 1| awk '/CPU usage/ {print $10, $11}'
top -l 1| awk '/CPU usage/ {print $12, $13}'
CPU usage
22.22% user,
71.11% sys,
6.67% idleh2. Weather
"Yweather":http://code.google.com/p/yweather/downloads/list is recommended for this. Because Yweather creates a local copy of the weather from Yahoo, it needs write permissions. Please place the script somewhere it can do this (ie, @/Users/nic/bin/yweather.pl@)
Yweather is not included in this package, but you can "download it from Google Code":http://code.google.com/p/yweather/downloads/list. *Please read the help file when using this script. I did not write it and will not provide support for it.*
h3. Current Temperature
/Users/nic/bin/yweather.pl -ft181Current Conditions
/Users/nic/bin/yweather.pl -ft1Partly Cloudyh2. Unread Gmail
This script requires a username and password. You must edit it before use. Replace @USERNAME@ & @PASSWORD@ with your username and password.
_Credits to Greg Newman for this script_gmail3 Unreadh2(#script_ip). IP Address
ipaddress
Ethernet : INACTIVE
Airport : 161.45.27.132h2. Remember the Milk
"More info":http://www.rutschle.net/rtm/ for this script. There have been instances where users have needed Xcode for Perl to compile modules correctly.
h3. Install
sudo cpan install WebService::RTMAgenth3. Setup
rtm --authoriseCopy and paste the link into your browser and authorize it. Use @rtm --help@ for more info
h3. Usage
todo
- Overdue -
Turn in Fall Net tech and LTL list to payroll
Format computers in Smith for Cummings- Next 7 Days -
Turn in Payroll- Other -
resnet payroll system
Internship Journal
Buy 4 quarts oilh2. Current Wifi Network
airportNetwork: DD-WRTh2. Timezones
A few examples are provided in the @tzones@ file. You will need to edit this file to add more timezones.
tzones
Hawaii : 04:04 PM Fri
UK : 02:04 AM Sat
London : 03:04 AM Sat
Sweden : 04:04 AM Sat
Germany : 04:04 AM Sat
Maylasia : 10:04 AM Sath2. Network Traffic
_Credits to "Chris Helming":mailto:[email protected]_
network
In: 598 kb/s
Out: 13 kb/s