Skip to content

Instantly share code, notes, and snippets.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power]
"EnableInputSuppression"=dword:00000001
"IgnoreLidStateForInputSuppression"=dword:00000001
"DisableDisplayBurstOnPowerSourceChange"=dword:00000001
;Apply only if your PC supports modern standby, S0-Idle Mode (and not S3-Suspend To Ram).
;If the slightest movement of your mouse causes your new laptop to wake and you couldn't solve it by unchecking "allow this device to wake the computer", proceed.
/* First, check these links:
& https://www.userchrome.org/
& https://www.askvg.com/tip-enable-colorized-titlebar-again-in-firefox-103-and-later-versions/
With this css, firefox will have colored title bar like google chrome.
If you don't like plain white, give it a try.
In the article above, inactive window color is same with active window color, thus you can't distinguish the difference.
It makes harder to understand whether the window is selected or not. This version fixes it.
*/
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\mycmd]
@="@shell32.dll,-8506"
"Extended"=""
"NoWorkingDirectory"=""
"Icon"="\"C:\\Windows\\system32\\cmd.exe\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\mycmd\command]
@="cmd.exe /s /k pushd \"%V\""