Skip to content

Instantly share code, notes, and snippets.

@CCXXXI
Last active August 12, 2022 02:49
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 CCXXXI/be11fcbcafc72a7012141a8c083c7da4 to your computer and use it in GitHub Desktop.
Save CCXXXI/be11fcbcafc72a7012141a8c083c7da4 to your computer and use it in GitHub Desktop.
Several useful commands.
function fixnat {
net stop winnat
net start winnat
}
function proxy {
$Env:http_proxy="http://127.0.0.1:7890";$Env:https_proxy="http://127.0.0.1:7890"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment