cd C:\Users\${username}\AppData\Local\Microsoft\PowerToys\Keyboard Manager- Backup file existing one of
default.json - Download
default.jsonand add it to the current folder
| key |
|---|
| Esc |
| #!/usr/bin/env osascript -l JavaScript | |
| /** | |
| * ----------------------------------------------------------------------------- | |
| * Activate Sidecar/Screen Mirroring from Control Center | |
| * ----------------------------------------------------------------------------- | |
| * | |
| * Created on February 17, 2023 by Stephan Casas | |
| * Updated on May 18, 2023 by Stephan Casas | |
| * |
The big reason to do this is that LLDB has no ability to "follow-fork-mode child", in other words, a multi-process target that doesn't have a single-process mode (or, a bug that only manifests when in multi-process mode) is going to be difficult or impossible to debug, especially if you have to run the target over and over in order to make the bug manifest. If you have a repeatable bug, no big deal, break on the fork from the parent process and attach to the child in a second lldb instance. Otherwise, read on.
Don't make the mistake of thinking you can just brew install gdb. Currently this is version 10.2 and it's mostly broken, with at least two annoying bugs as of April 29th 2021, but the big one is https://sourceware.org/bugzilla/show_bug.cgi?id=24069
$ xcode-select install # install the XCode command-line toolsDo you want to do remote development on your WSL2 container in Visual Studio Code? Read this.
wsl --update to make sure you are running the latest WSLsudo apt-get install openssh-serversudo systemctl enable --now ssh to automatically start ssh when WSL starts.| # WSL2 network port forwarding script v1 | |
| # for enable script, 'Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser' in Powershell, | |
| # for delete exist rules and ports use 'delete' as parameter, for show ports use 'list' as parameter. | |
| # written by Daehyuk Ahn, Aug-1-2020 | |
| # Display all portproxy information | |
| If ($Args[0] -eq "list") { | |
| netsh interface portproxy show v4tov4; | |
| exit; | |
| } |
| #!/usr/bin/env bash | |
| # ======================================================================================= | |
| # | |
| # A simple script to test Synology NAS disk speed with hdparm, dd and fio. | |
| # | |
| # How to use: | |
| # | |
| # 1. Save synology_disk_benchmark.sh and xfio.conf to your Synology NAS | |
| # 2. Make it executable: chmod +x synology_disk_benchmark.sh |