Instantly share code, notes, and snippets.

fiatjaf fiatjaf

View GitHub Profile
@fiatjaf
fiatjaf / check_sig.go
Last active Feb 12, 2019 — forked from lsowen/check_sig.go
GPG signature verification in Go with a bunch of strings
View check_sig.go
package main [33/492]
import (
"fmt"
"strings"
"golang.org/x/crypto/openpgp"
)
func main() {
@fiatjaf
fiatjaf / README.md
Created Mar 10, 2016 — forked from plugnburn/README.md
Psto: a single package.json to scaffold and run your single-post web page in no time
View README.md

Psto

This is a no-brainer to get your single-post web page up and running. Just have to have Node and NPM installed. Styling is powered by 999.css.

Steps:

  1. Place the below package.json into an empty directory and enter this directory in your command line prompt.
  2. Run npm run scaffold.
  3. Edit domain, title and author in the config section of your package.json. The domain may be either a Surge subdomain or your own (please refer to the Surge docs). If you're going to host your page yourself, you may leave domain empty.