git update-git-for-windows
2023년 3월 19일 일요일
2023년 3월 16일 목요일
Registry Key Location for Windows Magnifier Settings
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\ScreenMagnifier]
"ZoomIncrement"=dword:0000000a
"MagnifierUIWindowMinimized"=dword:00000000
"FollowFocus"=dword:00000000
"FollowNarrator"=dword:00000000
"FollowCaret"=dword:00000000
"Some Magnifier settings have been removed in Windows 11 updates. The Windows Magnifier settings can be found in the registry at the above location:"
2023년 3월 12일 일요일
Firebase CLI
npm install -g firebase-tools
use a service account key with `GOOGLE_APPLICATION_CREDENTIALS`: https://cloud.google.com/docs/authentication/getting-started
Essential VNM and NPM Commands
nvm ls available
To check the list of globally installed packages
npm list -g --depth=0
npm outdated -g --depth=0
2023년 3월 11일 토요일
Convert a PDF to images using Magick
Convert pdf to images
magick -density 300 -quality 100 input.df[0-1] out%d.jpg
SSHFS Options
SSHFS is a useful tool for mounting remote file systems over SSH. By default, SSHFS maps the remote user's home directory. However, there are several options available that can change the behavior of SSHFS.
- sshfs.r: Connects to the remote user's root directory instead of their home directory.
- sshfs.k: Maps the remote user's home directory and uses the SSH key stored in the local user's
.ssh/id_rsa
file. - sshfs.kr: Adds the remote user's root directory and uses the locally stored SSH key.
"Swap Windows and Alt Keys for REALFORCE R2 Mac Keyboard on Windows
New-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Keyboard Layout' -Name 'Scancode Map' -Value ([byte[]](0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x38,0x00,0x5b,0xe0,0x5b,0xe0,0x38,0x00,0x5c,0xe0,0x38,0xe0,0x38,0xe0,0x5c,0xe0,0x38,0xe0,0x5d,0xe0,0x00,0x00,0x00,0x00)) -PropertyType 'Binary'
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "& {Remove-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Keyboard Layout' -Name 'Scancode Map' -Force}"
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout" /v "Scancode Map" /f
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,06,00,00,00,38,00,5b,e0,5b,e0,38,00,\
5c,e0,38,e0,38,e0,5c,e0,38,e0,5d,e0,00,00,00,00
Here is a breakdown of the hex values:
- 00,00,00,00,00,00,00,00 - Header indicating the start of the binary value.
- 06,00,00,00 - Length of the binary value.
- 38,00 - Scan code for the left Alt key.
- 5b,e0 - Scan code for the left Windows key.
- 5b,e0 - Scan code for the left Windows key.
- 38,00 - Scan code for the left Alt key.
- 5c,e0 - Scan code for the right Windows key.
- 38,e0 - Scan code for the right Alt key.
- 38,e0 - Scan code for the right Alt key.
- 5c,e0 - Scan code for the right Windows key.
- 38,e0 - Scan code for the right Alt key.
- 5d,e0 - Scan code for the Application key.
- 00,00,00,00 - End of binary value marker.
2023년 3월 9일 목요일
Essential Free Apps for Windows
https://www.7-zip.org/
https://aka.ms/PowerShell
GitHub - microsoft/PowerToys: Windows system utilities to maximize productivity
2023년 3월 5일 일요일
Free Partition Recovery Tool: TestDisk
Lost a partition while updating Ventoy, but successfully recovered it using TestDisk. Ventoy's Non-Destructive mode, allowing installati...
-
Lost a partition while updating Ventoy, but successfully recovered it using TestDisk. Ventoy's Non-Destructive mode, allowing installati...
-
appwiz.cpl - Programs and Features (Add/Remove Programs) bthprops.cpl - Bluetooth Devices desk.cpl - Display Settings firewall.cpl - Windows...
-
sudo firewall-cmd --zone=trusted --list-sources sudo firewall-cmd --zone=trusted --list-all sudo firewall-cmd --permanent --zone=trusted ...