Artwork

Content provided by HPR Volunteer and Hacker Public Radio. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by HPR Volunteer and Hacker Public Radio or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!

HPR4155: GNU sleep tips

 
Share
 

Manage episode 427274844 series 108988
Content provided by HPR Volunteer and Hacker Public Radio. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by HPR Volunteer and Hacker Public Radio or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

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

  continue reading

4165 episodes

Artwork

HPR4155: GNU sleep tips

Hacker Public Radio

23 subscribers

published

iconShare
 
Manage episode 427274844 series 108988
Content provided by HPR Volunteer and Hacker Public Radio. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by HPR Volunteer and Hacker Public Radio or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

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

  continue reading

4165 episodes

All episodes

×
 
Loading …

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.

 

Quick Reference Guide