Go offline with the Player FM app!
HPR4155: GNU sleep tips
Manage episode 427274844 series 108988
Sleep for 2 hours and 45 minutes:
sleep 2h 45m
Poor man's Pomodoro timer:
sleep 25m ; play bell.wav
Better one with tic toc:
(play tic.wav repeat 5000 trim 0 25:00 && play bell.wav)
Send a desktop notification from the command line:
notify-send "the message you want to show"
Pizza notifier:
sleep 15m ; notify-send "Pick up the pizza"
10 minute temperature probe display:
while temperature-probe ; do sleep 10m ; done
Download from websites in urls.txt with a 30-60 second delay:
for url in $( cat urls.txt ) ; do wget "$url" ; sleep $(( RANDOM % 31 + 30 )) ; done
Poor man's annoy-a-tron:
while true; do play -qn synth sin 9k trim 0 0.75 vol .5 ; sleep $((RANDOM % 4 + 3))m ; done
Other examples of using sleep from climagic:
https://twitter.com/search?q=from%3Aclimagic%20sleep&src=typed_query&f=live
4165 episodes
Manage episode 427274844 series 108988
Sleep for 2 hours and 45 minutes:
sleep 2h 45m
Poor man's Pomodoro timer:
sleep 25m ; play bell.wav
Better one with tic toc:
(play tic.wav repeat 5000 trim 0 25:00 && play bell.wav)
Send a desktop notification from the command line:
notify-send "the message you want to show"
Pizza notifier:
sleep 15m ; notify-send "Pick up the pizza"
10 minute temperature probe display:
while temperature-probe ; do sleep 10m ; done
Download from websites in urls.txt with a 30-60 second delay:
for url in $( cat urls.txt ) ; do wget "$url" ; sleep $(( RANDOM % 31 + 30 )) ; done
Poor man's annoy-a-tron:
while true; do play -qn synth sin 9k trim 0 0.75 vol .5 ; sleep $((RANDOM % 4 + 3))m ; done
Other examples of using sleep from climagic:
https://twitter.com/search?q=from%3Aclimagic%20sleep&src=typed_query&f=live
4165 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.