Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 699 Bytes

dev.org

File metadata and controls

40 lines (33 loc) · 699 Bytes

Notes to myself

Run:

  • Dev:

“` pelican -rl “`

  • Deploy:

“` make publish “`

  • Sass:

“` sass -s compressed -w sass/style.sass:output/theme/css/style.css “`

Subresource integrity:

“` cat FILENAME.js | openssl dgst -sha384 -binary | openssl base64 -A “`

ROT13:

  • Create:

“` tr ‘A-Za-z’ ‘N-ZA-Mn-za-m’ <<< “mailto:[email protected]” echo “mailto:[email protected]” | tr ‘A-Za-z’ ‘N-ZA-Mn-za-m’ “`

  • Reverse:

“` tr ‘N-ZA-Mn-za-m’ ‘A-Za-z’ <<< “znvygb:[email protected]” echo “znvygb:[email protected]” | tr ‘N-ZA-Mn-za-m’ ‘A-Za-z’ “`

Minify

“` go get github.com/tdewolff/minify/cmd/minify “`