Skip to content

Instantly share code, notes, and snippets.

@jsscclr
Created February 19, 2018 05:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsscclr/5c4534d5e54f1a6cd664b01325f4d8da to your computer and use it in GitHub Desktop.
Save jsscclr/5c4534d5e54f1a6cd664b01325f4d8da to your computer and use it in GitHub Desktop.
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