Skip to content

Instantly share code, notes, and snippets.

@lenalebt
lenalebt / DefaultKeyBinding.dict
Created December 18, 2019 06:59
How to use a typical Linux / Windows Keybindung on MacOS (tested with 10.15.2 Catalina)
/*
PUT THIS FILE IN ~/Library/KeyBindings/DefaultKeyBinding.dict
This file remaps the key bindings of a single user on Mac OS X 10.5 to more closely
match default behavior on Windows systems. This particular mapping assumes
that you have also switched the Control and Command keys already.
This key mapping is more appropriate after switching Ctrl for Command in this menu:
Apple->System Preferences->Keyboard & Mouse->Keyboard->Modifier Keys...->
Change Control Key to Command
Change Command key to Control
@sam0x17
sam0x17 / wsl_install_internal.sh
Last active May 28, 2022 21:26
install brew and add to environment
#!/bin/bash
# update apt
sudo apt-get update || exit 1
sudo apt-get upgrade -y || exit 1
sudo apt-get dist-upgrade -y || exit 1
# install required apt packages
sudo apt-get install p7zip-full \
git p7zip-full curl gnupg2 libssl-dev libxml2-dev \