Re:Ask HN: Which scripts are you most glad you've written?
by vegedor on Tuesday November 11, 2014 @04:28PM
(#8592297)
Definitely not the alarm for the next morning that took me half the night learning bash and fixing the alarm script. It looked awesome, though if I say so myself.
[ Parent
| on HN ]
Re:Ask HN: Which scripts are you most glad you've written?
by yzzxy on Tuesday November 11, 2014 @10:16PM
(#8593821)
While I don't like Windows much and dual boot it mainly out of necessity, it was pretty easy to whip up a trigger (in the GUI task scheduler) for a script to trigger alarm music even when the computer was sleeping.
The procedure goes something along the lines of "RTC trigger wakes up sleeping computer, computer waits to connect to network, opens spotify url of playlist." It lets me turn off the LED and fan nightmare that is my desktop and still use it as an alarm.