shoestrap/assets/default/bin/haste

7 lines
153 B
Plaintext
Raw Normal View History

2017-04-27 17:52:49 +00:00
#! /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}'