From: Armaan Bhojwani <3fb650a9-b47e-4604-a282-1dd91953b2ee@anonaddy.me> Date: Sat, 28 Nov 2020 22:38:43 +0000 (-0500) Subject: add 0x0 X-Git-Tag: v0.0.1~80 X-Git-Url: https://git.armaanb.net/?p=bin.git;a=commitdiff_plain;h=4b44b1a1ade2ce4d6923f69b041ec46482bd1983 add 0x0 Add simple 0x0 script to make interacting with 0x0.st super easy --- diff --git a/0x0 b/0x0 new file mode 100755 index 0000000..dee68b3 --- /dev/null +++ b/0x0 @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +# Makes interacting with the 0x0.st service easy. Just pipe command output +# into 0x0 or point $0 to a file + +input="-" + +if [[ -n $1 ]]; then + input=$1 +fi + +curl -F "file=@${input}" https://0x0.st