]> git.armaanb.net Git - bin.git/blob - 0x0
git-mirror: add script
[bin.git] / 0x0
1 #!/usr/bin/env bash
2 # Makes interacting with the 0x0.st service easy. Just pipe command output
3 # into 0x0 or point $0 to a file
4
5 input="-"
6
7 if [[ -n $1 ]]; then
8   input=$1
9 fi
10
11 curl -F "file=@${input}" https://0x0.st