Add how to

This commit is contained in:
Eliot Whalan 2016-06-19 17:37:53 +10:00
parent 770959f44c
commit cafc2a8f98
No known key found for this signature in database
GPG Key ID: C0A42175139840D6
1 changed files with 11 additions and 8 deletions

View File

@ -22,7 +22,10 @@ import (
const (
ADDRESS = "http://localhost:9900"
LENGTH = 6
TEXT = "$ <command> | curl -F 'p=<-' " + ADDRESS + "\n"
PASTEARGS = ADDRESS + "/p/{PASTE}/(python|language)\n"
URLARGS = ADDRESS + "save/XML|JSON\n"
SOURCE = "Source: https://github.com/ewhal/Pastebin\n"
TEXT = "$ <command> | curl -F 'p=<-' " + ADDRESS + "\n" + PASTEARGS + URLARGS + SOURCE
PORT = ":9900"
USERNAME = ""
PASS = ""