Skip to content

Instantly share code, notes, and snippets.

@HCMK
HCMK / .zshrc
Created July 11, 2019 02:46
sơn ngáo
export PATH=/usr/local/bin:$PATH
export PATH="/Users/aki/qt5/5.5/clang_64/bin:$PATH"
export PATH="/usr/local/opt/[email protected]/bin:$PATH"
alias composer="php /usr/local/bin/composer.phar"
eval $(ssh-agent -s)
ssh-add /Users/aki/.ssh/heroku_thearsenalfans
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
@HCMK
HCMK / README.md
Created July 9, 2019 08:42 — forked from cerebrate/README.md
Recompile your WSL2 kernel - support for snaps, apparmor, lxc, etc.

Recompile your WSL2 kernel - support for snaps, apparmor, lxc, etc.

Yes, I've done this, and yes, it works. It is, however, entirely unsupported and assembled through reasonable guesswork, so if you try this and it explodes your computer, brain, career, relationships, or anything else, you agree that you take sole responsibility for doing it, that I never claimed it was a good idea, and that you didn't get these instructions from me .

Also note: I have done this with Debian Stretch. While one kernel ought to fit all, some of the packages you need to build it may be different. Adapting to other distros is up to you.

Step One: Install the stuff you need to build the kernel