Hacker News new | past | comments | ask | show | jobs | submit login

How do you implement it? Paper+Timer or electronic?



I have a tool called 'messagebox' that pops up a dialog, and a script 'now' which outputs pretty-formatted current time and date; doubles as a work log:

    #!/bin/bash
    
    if [ -n "$1" ]; then
        task="$@"
    else    
        task_file=$(mktemp)
        export task_file
        rlwrap bash -c 'read -p "current task: " -r task; echo $task > $task_file'
        task="$(<$task_file)"
        rm $task_file
    fi
    
    # don't keep a handle open to current directory
    cd "$HOME"
    
    echo "$(now): $task" >> ~/.pomodoro
    
    (
        sleep 25m
        messagebox 'Pop!'
    ) &
    
    echo "25 minutes starting now"


http://e.ggtimer.com/pomodoro recently discovered that myself, i find it useful, maybe other do as well.


http://tomatoes.heroku.com/ is my preferred tool


I'm happy to hear it, just one more info about Tomatoes: it's free software and you can get its source at http://github.com/potomak/tomatoes




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: