Skip to content

Instantly share code, notes, and snippets.

View zwsq's full-sized avatar
🎯
Focusing

Abolfazl Bakhtiari zwsq

🎯
Focusing
View GitHub Profile
@zwsq
zwsq / gist:857e9786809fea51e81340895b905ca4
Last active May 2, 2025 14:31
set apt, docker, and system-wide proxy in linux
APT PROXY
add following lines to /etc/apt/apt.conf.d/proxy
Acquire::http::Proxy "http://username:[email protected]:10800/";
Acquire::https::Proxy "http://username:[email protected]:10800/";
SYSTEM-WIDE PROXY
add followin lines in /etc/environment then $ source /etc/environment