Skip to content

Instantly share code, notes, and snippets.

@jatcwang
jatcwang / gist:7257a762f2fbcdeae69e0cb0ba3e9df7
Created December 9, 2016 04:27
Git subtree split a directory into new repository
Imagine this project structure
proj_a/
lib_b/ ... contents you want to split
First create a new git repository somewhere in the file system
mkdir /lib_b
cd /lib_b
git init

Keybase proof

I hereby claim:

  • I am jatcwang on github.
  • I am jatcwang (https://keybase.io/jatcwang) on keybase.
  • I have a public key ASBQoXHJRzJlTaITx7mMbHi064g6Set_N4YnUyvspZcy1Qo

To claim this, I am signing this object:

@jatcwang
jatcwang / gist:ae3b7019f219b8cdc6798329108c9aee
Created February 2, 2017 23:44
List of all setxkbmap configuration options (including models/layout/etc)
! model
pc101 Generic 101-key PC
pc102 Generic 102-key (Intl) PC
pc104 Generic 104-key PC
pc105 Generic 105-key (Intl) PC
dell101 Dell 101-key PC
latitude Dell Latitude series laptop
dellm65 Dell Precision M65
everex Everex STEPnote
flexpro Keytronic FlexPro