public
Description: the lil' time tracker
Homepage:
Clone URL: git://github.com/ichverstehe/ltt.git
ichverstehe (author)
Fri Feb 06 06:54:11 -0800 2009
commit  37c25b1bd0ba2a0460fedaa3f7a00e05ce88e75e
tree    6d37e81aba72462d79121bacdbf930a50fdc720e
parent  b3433909690aa7b86c730255f1685ca2dcc1b256
ltt /
name age message
file README.md Loading commit data...
file Rakefile
file TODO
file app.rb
file config.ru
directory public/
directory test/
directory views/
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