Skip to content

Instantly share code, notes, and snippets.

@eggplants
Created June 23, 2019 22:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eggplants/544444192fb9bae37585297f06853546 to your computer and use it in GitHub Desktop.
Save eggplants/544444192fb9bae37585297f06853546 to your computer and use it in GitHub Desktop.
require "time";o=Time.now;loop do;print (dt=Time.now-o).to_i%1800==0? 7.chr:Time.at(dt.to_i-32400).strftime("SPENT TIME::%Hh:%Mm:%Ss");p(\r);sleep(1);end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment