add hasteadd gw01

This commit is contained in:
Quentin Godefroid 2018-05-03 15:21:02 +02:00
parent e71c2906af
commit 356fd76671
5 changed files with 293 additions and 3 deletions

4
bin/haste Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
_SERVER="https://paste.cresi.be"
a=$(cat);
curl -X POST -s -d "$a" ${_SERVER}/documents | awk -F '"' '{print "'${_SERVER}'/"$4}';