Skip to content

Instantly share code, notes, and snippets.

@jsscclr
Created Feb 19, 2018
Embed
What would you like to do?
New Windows machine set up

Following needs to be root: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Ubuntu stuff

  • ln -s “/mnt/c/Users/EdwardsJ/Documents/src” /home/jessica/src
  • share src directories

ssh

  • ssh-keygen -C “email@sample.com”

Node curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash source ~/.bashrc nvm install –lts

Remap caps lock to control $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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment