Site for hosing code snippets. (old & deprecated)

Clone this repo:
  1. 4611eda Bump version to v0.2.5 by Jess Frazelle · 3 weeks ago master v0.2.5
  2. ce5f886 update by Jess Frazelle · 3 weeks ago
  3. ad6ef98 Bump version to v0.2.4 by Jess Frazelle · 3 weeks ago v0.2.4
  4. ea041a3 update vendor by Jess Frazelle · 3 weeks ago
  5. 1e693f6 fix by Jess Frazelle · 3 weeks ago

snippetlib

Travis CI GoDoc

Server to host code snippets.

Installation

Binaries

For installation instructions from binaries please visit the Releases Page.

Via Go

$ go get github.com/jessfraz/snippetlib

Usage

$ snippetlib -h
snippetlib -  Server to host code snippets.

Usage: snippetlib <command>

Flags:

  --cert              path to ssl certificate (default: <none>)
  -d                  enable debug logging (default: false)
  --dbconn            database connection string (default: postgres://postgres:@127.0.0.1:5432/db?sslmode=disable)
  --key               path to ssl key (default: <none>)
  --mailchimp-apikey  Mailchimp APIKey for subscribing to newsletters (default: <none>)
  --mailchimp-listid  Mailchimp List ID for newsletter to subscribe emails to (default: <none>)
  -p                  port for server to run on (default: 3000)

Commands:

  version  Show the version information.