public
Description: the lil' time tracker
Homepage:
Clone URL: git://github.com/ichverstehe/ltt.git
ltt /
name age message
file README.md Fri Jan 16 22:37:21 -0800 2009 add fish function [ichverstehe]
file Rakefile Fri Jan 16 22:10:34 -0800 2009 readme [ichverstehe]
file TODO Mon Jan 19 03:02:41 -0800 2009 update todo [ichverstehe]
file app.rb Fri Feb 06 06:54:11 -0800 2009 redirect to new url after chaning alias [ichverstehe]
file config.ru Fri Jan 16 21:43:39 -0800 2009 update rackup [ichverstehe]
directory public/ Mon Jan 26 12:29:30 -0800 2009 minor ui and hints and stuff and cheers! [ichverstehe]
directory test/ Mon Jan 26 12:29:30 -0800 2009 minor ui and hints and stuff and cheers! [ichverstehe]
directory views/ Mon Jan 26 12:29:30 -0800 2009 minor ui and hints and stuff and cheers! [ichverstehe]
README.md

the lil' (cute) time tracker

lolz

this is a replacement for my old system, with a workflow based on shuffling post-it's and calculating total hours and all kind of boring shit. this is teh eazy way:

  1. log in to the lil' tracker before you start working and track project X
  2. do that work stuff or smoke cigarettes or smth
  3. stop tracking project X

and the time you spent will be added to the lil'.

command line interface

oh yes, even easier.

$ ltt track project-x
$ vim /path/to/my/workz
$ ltt stop

that's it! here's a fish function that does the job (if you care about bash, write it yrself):

function ltt
  switch $argv[1]
    case track
      curl -X POST $LILURL/track/$argv[2] -w "%{http_code}"
      echo
    case stop
      curl -X POST $LILURL/stop -s
  end
end

setup

run it from the cli or configure passenger or however you roll, like this:

ruby app.rb -e production

you will have to add users manually. something like this:

sqlite3 db/production.db "INSERT INTO users (login, password) VALUES ('foo',
'bar)"

todo

  • write that cli wrapper
  • add the two calls to Digest::SHAlala for a little obscurity
  • check TODO, mhm.

license

the mit. and really, fuckin' google it yourself, I don't care.

(c) 2009 Harry Vangberg / Imperial Glamour