Skip to content

Instantly share code, notes, and snippets.

@Inori-Lover
Last active October 26, 2021 09:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Inori-Lover/145c471546cba9ec740f4967e85117b7 to your computer and use it in GitHub Desktop.
Save Inori-Lover/145c471546cba9ec740f4967e85117b7 to your computer and use it in GitHub Desktop.
util
for /d %%X in (*) do "c:\Program Files\7-Zip\7z.exe" a "%%X.zip" ".\%%X\*"
for /d %%X in (*) do "c:\Program Files\WinRAR\Rar.exe" a -ma -htc "%%X.rar" ".\%%X\*"
export https_proxy=socks5://proxy.example.com:1080
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
$proxy='http://<IP>:<PORT>'
$ENV:HTTP_PROXY=$proxy
$ENV:HTTPS_PROXY=$proxy
.\rustup-init.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment