all repos — dotfiles @ 36d4b71f1c0202815bab020d2f9da638c6319b86

linux dotfiles

bin/scripts/ix (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
#!/bin/sh

# upload text to ix.io

PASTE() {
	curl -F 'f:1=<-' ix.io
}

if test -z "$1"; then
	cat -    | PASTE
else
	cat "$1" | PASTE
fi