2015 shaares
45 private links
45 private links
function setproxy() {
export {http,https,ftp}_proxy='http://greatfirewall.bullshit.tld:<PORT>'
}
function unsetproxy() {
unset {http,https,ftp}_proxy
}
function httpretcode {
curl -sIL $1 | grep HTTP | tail -n1 | cut -d " " -f 2
}