From time to time everybody has boring work that must be taken care of. I often use the pomodoro technique to stay focused and get it done, so that I can move on to the more inspiring things in life.
Sometimes though, there's no kitchen timer available. Like today.
This is how you can create the world's smallest (66 bytes) pomodoro timer in ten seconds on your PC:
- Open a CMD window.
- Type in the following:
copy con: pomodoro.bat
@echo off
echo Started %TIME%
sleep 1500
echo Time's up!! ^G^G^G [press Ctrl-G three times here]
^Z [press Ctrl-Z here, then press enter] - You may also need to create sleep.bat. Type in the following:
copy con: sleep.bat
@ping -n %1 127.0.0.1 > nul
^Z [press Ctrl-Z here, then press enter]