Skip to content

Instantly share code, notes, and snippets.

@scriptonist
scriptonist / jwt-example.go
Created November 23, 2017 16:22
JsonWebTokens Example with generated key.
/* rewritten example of JsonWebToken example
* from https://gist.github.com/thealexcons/4ecc09d50e6b9b3ff4e2408e910beb22
* Keys are generated and packed to PEM-format at server start
* Plus some fixes and refactors
*
* My respect to thealexcons
*/
package main
import (
@scriptonist
scriptonist / tmux-cheatsheet.markdown
Created August 11, 2017 04:41 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname