All of the following information is based on go version go1.17.1 darwin/amd64.
| GOOS | Out of the Box |
|---|---|
aix |
✅ |
android |
✅ |
These methods in this gist worked for me on my U.S.-based keyboard layouts. I am unsure about other layouts. If you have problems, revert your changes; delete the registry key you created (and reboot).
Update: you should probably scroll down to approach 4 where I suggest using Microsoft PowerToys Keyboard Manager.
Navigate to and create a new binary value in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout named Scancode Map.
| git config --global diff.tool bc | |
| git config --global difftool.bc.path "C:\Program Files\Beyond Compare 4\BComp.exe" | |
| git config --global merge.tool bc | |
| git config --global mergetool.bc.path "C:\Program Files\Beyond Compare 4\BComp.exe" | |
| git config --global alias.mydiff "difftool --dir-diff --tool=bc --no-prompt" |
| package main | |
| import ( | |
| "context" | |
| "flag" | |
| "fmt" | |
| "io" | |
| "net" | |
| "net/http" | |
| "os" |
| def _init_numpy_mkl(): | |
| # Numpy+MKL on Windows only | |
| import os | |
| import ctypes | |
| if os.name != 'nt': | |
| return | |
| # disable Intel Fortran default console event handler | |
| env = 'FOR_DISABLE_CONSOLE_CTRL_HANDLER' | |
| if env not in os.environ: | |
| os.environ[env] = '1' |
| curl --include \ | |
| --no-buffer \ | |
| --header "Connection: Upgrade" \ | |
| --header "Upgrade: websocket" \ | |
| --header "Host: example.com:80" \ | |
| --header "Origin: http://example.com:80" \ | |
| --header "Sec-WebSocket-Key: SGVsbG8sIHdvcmxkIQ==" \ | |
| --header "Sec-WebSocket-Version: 13" \ | |
| http://example.com:80/ |
| <# | |
| .SYNOPSIS | |
| Optimizes your PSReadline history save file. | |
| .DESCRIPTION | |
| Optimizes your PSReadline history save file by removing duplicate | |
| entries and optionally removing commands that are not longer than | |
| a minimum length | |
| .EXAMPLE | |
| C:\PS> Optimize-PSReadlineHistory | |
| Removes all the duplicate commands. |