One-Line Countdown Timer
I don’t have any countdown timer app installed, but I have Ruby…
Published in
1 min readJul 14, 2014
And it takes less than a minute to write a simple countdown timer app in the irb console.
fin = Time.now + 5 * 60; while Time.now < fin; puts fin — Time.now; sleep 1; end
You can even set it to play some annoying sound afterwards.
; system "play -n synth 0.1 square 1228"