News for hackers. Stuff that matters.
Re:Does anyone use sound effects in their dev environment? by nomel on Monday September 16, 2024 @03:16PM (#41559494)
I did something similar for finding which outlet a breaker went to. I connected my MacBook to the outlet, airplay to the TV so it was loud, then had it yell if the power was disconnected:

    while ! pmset -g batt | grep 'discharging'; do; echo waiting; sleep 1; done; say disconnected

There are no comments on this comment yet.