# set http proxy
export http_proxy=http://PROXYHOST:PROXYPORT
# set http proxy with user and password
export http_proxy=http://USERNAME:PASSWORD@PROXYHOST:PROXYPORT
# set http proxy with user and password (with special characters)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Requires -RunAsAdministrator | |
| # Fix for https://github.com/microsoft/WSL/issues/4177 | |
| $MethodDefinition = @' | |
| [DllImport("ws2_32.dll", CharSet = CharSet.Unicode)] | |
| public static extern int WSCSetApplicationCategory([MarshalAs(UnmanagedType.LPWStr)] string Path, uint PathLength, [MarshalAs(UnmanagedType.LPWStr)] string Extra, uint ExtraLength, uint PermittedLspCategories, out uint pPrevPermLspCat, out int lpErrno); | |
| '@ | |
| $Ws2Spi = Add-Type -MemberDefinition $MethodDefinition -Name 'Ws2Spi' -PassThru |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -------------------------------------------- | |
| Version: 1.45.1 | |
| Commit: 5763d909d5f12fe19f215cbfdd29a91c0fa9208a | |
| Date: 2020-05-14T08:33:47.663Z | |
| Electron: 7.2.4 | |
| Chrome: 78.0.3904.130 | |
| Node.js: 12.8.1 | |
| V8: 7.8.279.23-electron.0 | |
| OS: Darwin x64 18.5.0 | |
| ------------------------------------------- |