shoestrap/assets/default/bin/haste
2017-04-27 10:52:49 -07:00

8 lines
154 B
Bash
Executable File

#! /bin/sh
host="hb.iamthefij.com"
a=$(cat)
curl -X POST -s -d "$a" https://${host}/documents | awk -v host=$host -F '"' '{print "https://"host"/"$4}'