Fixed Gear Calculator

This is a little project I did in an afternoon. I wasn’t really happy with the way any of the other ones worked. They were all too complex to fill out, or gave bad out, or were just programmed poorly, etc, etc.

So, like so many things, I couln’t find what I wanted, so I made my own. Just fill it out the fields and hit Calculate.

Note: This is is like uber version 1. I’ve got some more features planned for it soon :)

Demo

GeekTool Scripts

UPDATE 12/18/09: New link added
UPDATE 12/19/09: v0.7 Release. Includes Network monitoring, bugfixes.

This are an ever growing compilation of scripts and code snippets that I have written or collected in a format that’s easy to understand and use. If you need any help feel free to email me at nic@nicinabox.com.

I encourage you to checkout some of the Desktop screenshots on Flickr (some are very nice!) for ideas.If you have a script or something clever you’d like to add to this collection, please contact me.

Current Version: 0.7 (12/19/09)

  HUD-latest.zip (48.6 KiB, 1,467 hits)

Includes:

  • Network info
  • Unread Gmail
  • Uptime
  • Calendar (with current day denoted)
  • Weather
  • System Stats
  • Network monitoring

Network Info

ifconfig en1 | grep "inet " | awk '{print $2}'
161.45.27.132

Unread Gmail

chkgmail
4 Unread

Uptime

uptime | awk '{print "Uptime : " $3 " " $4 " " $5 }' | sed -e 's/.$//g'
Uptime : 1 day, 17:54

Calendar

cal | awk -v cday=`date "+%d"` '{ fill=(int(cday)>9?"":" "); \
a=$0; sub(" "fill int(cday)" ","["fill int(cday)"]",a); print a }'
     March 2009
Su Mo Tu We Th Fr Sa
 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

Weather

weather -cm 37130
55F | 81F
Fair
weather 37130
80F

System Stats

top -orsize -FR -l1 | grep % | grep -v Load | grep -v COMMAND | cut -c 7-19,64-69
firefox-bi     281M
kernel_tas     160M
iTunes         113M
WindowServ      63M
Finder          61M
Quicksilve      56M
mds             47M
Last.fm         42M
ForkLift        37M
TextMate        31M
Font Book       27M
YouControl      21M
GrowlHelpe      19M
coreservic      18M
GeekTool        16M
Spotlight       14M
mysqld          12M
ATSServer       12M
Dock            12M

Recent music Plays

curl -s http://localhost/tunes.php
4:58 Sigur Rós : Untitled #6 Reversed
4:56 Talkdemonic : Indian Angel
4:46 Caspian : Moksha
4:42 The Album Leaf : Another Day
4:35 A Silver Mt. Zion : For Wanda
4:30 Mogwai : I Know You Are but What Am I
4:17 Mono & World's End Girlfriend : Palmless Prayer / Mass Murder Refrain (#2)
3:55 Godspeed You! Black Emperor : Motherfucker=Redeemer (Part One)
3:52 Rachel's : The Last Light
3:49 Set Fire to Flames : Small Steps Against Inertia/Echo Of A Dead

The Coalition to Save Our Schools

CSOS is an organization against the TN TBR schools system. This site was created as a media and information outlet for them.

Web 2.0 Color Palette

This is a Web 2.0 color palette that I’ve compiled in hopes of making having quick access to great colors. Feel free to use for any of your needs

>> Demo

Recent Last.fm Plays

This script uses the Last.fm API to get your 10 most recent played tracks. It dynamically displays and links to last.fm

Demo