I hereby claim:
- I am aukjan on github.
- I am aukjan (https://keybase.io/aukjan) on keybase.
- I have a public key ASA92iaFHgLMqVajYHS3d4tnQZMvW6UTQlLI8fd9cc2elwo
To claim this, I am signing this object:
| # Description: Boxstarter Script | |
| # Author: Jess Frazelle <[email protected]> | |
| # Last Updated: 2017-09-11 | |
| # | |
| # Install boxstarter: | |
| # . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
| # | |
| # You might need to set: Set-ExecutionPolicy RemoteSigned | |
| # | |
| # Run this boxstarter by calling the following from an **elevated** command-prompt: |
| #!/bin/bash | |
| [[ -d ${HOME}/log ]] || mkdir -p ${HOME}/log | |
| echo "$(date) [START] Starting WIFI Watch" >> ${HOME}/log/wifi_reset.log | |
| while [ 1 ] | |
| do | |
| ping -c 5 -t 10 8.8.8.8 || ( | |
| echo "$(date) [RESET] Resetting WIFI connection " >> ${HOME}/log/wifi_reset.log | |
| networksetup -setairportpower en0 off | |
| sleep 5 | |
| networksetup -setairportpower en0 on |
I hereby claim:
To claim this, I am signing this object:
| """ | |
| Requeriments: | |
| $ sudo pip install boto dnspython | |
| Edit ~/.boto to use your AWS credentials | |
| """ | |
| import time | |
| import sys |