Skip to content

Instantly share code, notes, and snippets.

View kalvn's full-sized avatar

kalvn kalvn

View GitHub Profile
@kalvn
kalvn / sublimetext-1-enable.reg
Last active March 22, 2017 15:05
Adds Windows context menu entries for opening files and folders in Sublime Text. Be careful to adapt the path and to encode files in ANSI. Original post: https://forum.sublimetext.com/t/right-click-open-folder-with-sublime-text/13970/10
Windows Registry Editor Version 5.00
; For folders.
[HKEY_CLASSES_ROOT\Directory\shell\sublime]
@="Open folder with Sublime Text"
"Icon"="C:\\Program Files\\Sublime Text 3\\sublime_text.exe,0"
[HKEY_CLASSES_ROOT\Directory\shell\sublime\command]
@="\"C:\\Program Files\\Sublime Text 3\\sublime_text.exe\" \"%1\""
@kalvn
kalvn / Add_Console_lock_display_off_timeout.reg
Created July 21, 2017 17:32
Adds a setting to manage monitor sleep timer on Windows 10 lock screen
Windows Registry Editor Version 5.00
; Created by: Shawn Brink
; http://www.eightforums.com
; Tutorial: http://www.eightforums.com/tutorials/8267-power-options-add-console-lock-display-off-timeout.html
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\7516b95f-f776-4464-8c53-06167f40cc99\8EC4B3A5-6868-48c2-BE75-4F3044BE88A7]
"Attributes"=dword:00000002
@kalvn
kalvn / cmder-1-contextual-enable
Last active February 7, 2018 14:15
Adds "Open Cmder here" to the context menu.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder]
@="Open Cmder Here"
"Icon"="C:\\tools\\cmder\\Cmder.exe,0"
[HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder\command]
@="\"C:\\tools\\cmder\\Cmder.exe\" \"%V\""
[HKEY_CLASSES_ROOT\Directory\shell\Cmder]