Skip to content

Instantly share code, notes, and snippets.

View pongib's full-sized avatar

pongtsu pongib

  • bangkok, thailand
View GitHub Profile
@pongib
pongib / README.md
Created January 29, 2020 16:12 — forked from pcan/README.md
Node.js plain TLS Client & Server, 2-way Cert Auth

Node.js TLS plain TLS sockets

This guide shows how to set up a bidirectional client/server authentication for plain TLS sockets.

Prepare certificates

Generate a Certificate Authority:

openssl req -new -x509 -days 9999 -keyout ca-key.pem -out ca-crt.pem
0x995fFEc58b46fe50b6b72E6a37f5296DEc38ba41
0x92762F02727dCB107c864A62e20EB4dD32ba7cCb
@pongib
pongib / iterm2-solarized.md
Created May 3, 2016 07:29 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + oh my zsh + solarized + Meslo powerline font (OSX)

Solarized

@pongib
pongib / git_command.md
Last active March 10, 2016 09:50
git useful command
Init

git init

Config name and email

git config --global user.name "pongtsu"

git config --global user.email "pongtsu@mail.com"

Undo add

git reset