Search
Notes
A collection of notes and articles on various topics — from development and technology to personal insights, lessons learned, and the occasional experiment.
Reopen closed tab
ctrl+shift+t = reopen closed tab.
VSCode multiline regex
(.|\n)+?
Set "Old" Explorer Context Menu as Default
reg add "HKEY_CURRENT_USER\SOFTWARE\CLASSES\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /ve /f
:: Remove Explorer "Command Bar"
reg add "HKCU\Software\Classes\CLSID\{d93ed569-3b3e-4bff-8355-3c44f6a52bb5}\InprocServer32" /f /ve
:: Restart Windows Explorer. (Applies the above settings without needing a reboot)
taskkill /f /im explorer.exe
start explorer.exe
:: Empty Comment (Prevents you from having to press "enter" to execute the line to restart explorer.exe)
Restore Win 11 Explorer Context Menu
reg delete "HKEY_CURRENT_USER\SOFTWARE\CLASSES\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f
:: Restart Windows Explorer. (Applies the above settings without needing a reboot)
taskkill /f /im explorer.exe
start explorer.exe
:: Empty Comment (Prevents you from having to press "enter" to execute the line to restart explorer.exe)
Access Google Drive in WSL
# If for the first time, you need to create the mount point:
sudo mkdir /mnt/g
# Then mount the Google Drive to the mount point:
sudo mount -t drvfs G: /mnt/g
# Now simply navigate to the mount point to access your Google Drive files:
cd /mnt/g/My\ Drive/