Skip to content

Instantly share code, notes, and snippets.

View ll931217's full-sized avatar
👾
uWu

Liang-Shih Lin ll931217

👾
uWu
View GitHub Profile
@ll931217
ll931217 / self-signed-certificate-with-custom-ca.md
Created November 14, 2018 01:05 — forked from fntlnz/self-signed-certificate-with-custom-ca.md
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
@ll931217
ll931217 / wsl_install_node.md
Created October 23, 2018 08:12 — forked from micahgodbolt/wsl_install_node.md
WSL install Node

The apt-get version of node is incredibly old, and installing a new copy is a bit of a runaround.

So here's how you can use NVM to quickly get a fresh copy of Node on your new Bash on Windows install

$ touch ~/.bashrc
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
// restart bash
$ nvm install node
@ll931217
ll931217 / tmux-cheatsheet.markdown
Created March 20, 2018 12:18 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname