Skip to content

Instantly share code, notes, and snippets.

View kaisukez's full-sized avatar

Nattapon kaisukez

  • Bangkok, Thailand
View GitHub Profile

Keybase proof

I hereby claim:

  • I am kaisukez on github.
  • I am kaisukez (https://keybase.io/kaisukez) on keybase.
  • I have a public key ASAifbjSLfNmeFQ93rHu64mriIl2DYAlEm-XN_qhkVDr5go

To claim this, I am signing this object:

More recent resolution:
1. cd ~/../../etc (go to etc folder in WSL).
2. echo "[network]" | sudo tee wsl.conf (Create wsl.conf file and add the first line).
3. echo "generateResolvConf = false" | sudo tee -a wsl.conf (Append wsl.conf the next line).
4. wsl --terminate Debian (Terminate WSL in Windows cmd, in case is Ubuntu not Debian).
5. cd ~/../../etc (go to etc folder in WSL).
6. sudo rm -Rf resolv.conf (Delete the resolv.conf file).
7. In windows cmd, ps or terminal with the vpn connected do: Get-NetIPInterface or ipconfig /all for get the dns primary and
secondary.
@kaisukez
kaisukez / jwtRS256.sh
Created March 19, 2020 12:39 — forked from Holger-Will/jwtRS256.sh
generate public private key pair (RSA RS256) for use with koa-jwt jasonwebtoken etc.
# generate private key
openssl genrsa -out private.pem 2048
# extatract public key from it
openssl rsa -in private.pem -pubout > public.pem