Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am mochsner on github.
  • I am mochsner (https://keybase.io/mochsner) on keybase.
  • I have a public key ASBFddyZa-GfeRnpHuL9MYfuLb5eFEcrvb5q9Eh8cdKHlQo

To claim this, I am signing this object:

View gist:29c4677a26b5904c11c0fc773c3f5cc2
# Set CAPS LOCK = Ctrl (Vim/Emacs), then restart computer
$hexified = "00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00".Split(',') | % { "0x$_"};
$kbLayout = 'HKLM:\System\CurrentControlSet\Control\Keyboard Layout';
New-ItemProperty -Path $kbLayout -Name "Scancode Map" -PropertyType Binary -Value ([byte[]]$hexified);
You can’t perform that action at this time.