Skip to content

Instantly share code, notes, and snippets.

View ZhenhangTung's full-sized avatar
🎯
Focusing

Zhenhang Tung ZhenhangTung

🎯
Focusing
  • Transsion
  • Shanghai
  • 23:06 (UTC +08:00)
View GitHub Profile
@ZhenhangTung
ZhenhangTung / multiple_ssh_setting.md
Created May 15, 2018 07:03 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@ZhenhangTung
ZhenhangTung / asymmetric.go
Created April 17, 2018 06:38 — forked from cryptix/LICENSE
example of using JWT for http authentication in go
package main
// using asymmetric crypto/RSA keys
import (
"crypto/rsa"
"fmt"
"io/ioutil"
"log"
"net/http"