This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
ltt /
| name | age | message | |
|---|---|---|---|
| |
README.md | Fri Jan 16 22:37:21 -0800 2009 | |
| |
Rakefile | Fri Jan 16 22:10:34 -0800 2009 | |
| |
TODO | Mon Jan 19 03:02:41 -0800 2009 | |
| |
app.rb | Fri Feb 06 06:54:11 -0800 2009 | |
| |
config.ru | Fri Jan 16 21:43:39 -0800 2009 | |
| |
public/ | Mon Jan 26 12:29:30 -0800 2009 | |
| |
test/ | Mon Jan 26 12:29:30 -0800 2009 | |
| |
views/ | Mon Jan 26 12:29:30 -0800 2009 |
README.md
the lil' (cute) time tracker

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:
- log in to the lil' tracker before you start working and track project X
- do that work stuff or smoke cigarettes or smth
- 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







