Skip to content

Instantly share code, notes, and snippets.

View bi40's full-sized avatar
🎯
Focusing

Bilel.L bi40

🎯
Focusing
  • Paris
View GitHub Profile
@bi40
bi40 / set-proxy
Created December 2, 2019 15:22 — forked from nathanchrs/set-proxy
Bash script to set proxy on Linux
#!/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=""
@bi40
bi40 / curlcheck.sh
Created June 19, 2019 13:19 — forked from mobilemind/curlcheck.sh
quickly check headers & TLS negotiation using curl
#!/usr/bin/env bash
curl -sv --connect-timeout 15 --head -i 'https://www.google.com' > /dev/null