shoestrap/assets/default/bin/haste

8 lines
154 B
Plaintext
Raw Permalink 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}'