Created
May 28, 2016 23:55
-
-
Save paulmolluzzo/482c6c2700fe9066a8c25586a9d5eb63 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
# power cycle wifi because Apple laptops crap out when waking from sleep | |
# might need to replace 'airport' with 'en0' - the first attempt will stdout the one that worked | |
alias wtf='networksetup -setairportpower airport off; networksetup -setairportpower airport on' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment