Skip to content

Instantly share code, notes, and snippets.

@khahux
Created August 13, 2019 05:32
Show Gist options
  • Save khahux/e27ea440098de4c66aa4617debf72f52 to your computer and use it in GitHub Desktop.
Save khahux/e27ea440098de4c66aa4617debf72f52 to your computer and use it in GitHub Desktop.
Mac屏幕闪烁
for i in 1 2 3 4
do
pmset displaysleepnow
sleep 1
caffeinate -u -t 1
sleep 2
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment