This file contains 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 | |
# Sets proxy settings. | |
# Run using `source` command. apt-get proxy settings requires sudo privileges. | |
# By nathanchrs. | |
# Configuration | |
# PROXY_HOST="" | |
# PROXY_USER="" | |
# PROXY_PASSWORD="" |
This file contains 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 | |
curl -sv --connect-timeout 15 --head -i 'https://www.google.com' > /dev/null |