Last active
March 18, 2024 19:50
-
-
Save jacobmoyle/04a9635ede97ee969b2c to your computer and use it in GitHub Desktop.
Cycles your shoddy mac wifi. Original author unknown, maybe a teach or a student peer?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # fuckingwifi cycles wifi on and off to reset | |
| fuckingwifi () { | |
| networksetup -setairportpower en0 off | |
| sleep 1 | |
| echo "Fucking WiFi..." | |
| sleep 1 | |
| echo "I swear to god, if Steve Jobs wasn't dead..." | |
| sleep 1 | |
| echo "I'd punch him in his stupid turtleneck..." | |
| networksetup -setairportpower en0 on | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment