Measure your working time on windows since the last login. Written in Ruby and runs under cygwin. Read my blog entry for workingtime.rb as well.
Install cygwin with ruby
In your cygwin bash:
mkdir -p ~/tools
cd ~/tools
git clone git://http://github.com/jensjaeger/workingtime.git "wt"
echo "alias wt='~/tools/wt/workingtime.rb'" >> ~/.bashrc
restart your bash
Just type: "wt" in your cygwin bash.
The script is based on the windows command systeminfo. Systeminfo returns values in the language of the operating system. So this works only with a german windows. Replace "Systembetriebszeit" with whatever your systeminfo command returns for the uptime.
This script was created by Jens Jäger