0k(1) 0K 0k(1) NAME 0k: command line pastebin. SYNOPSIS<command> | curl -F '0k=<-' 0k.vc
DESCRIPTION add ?<lang> to resulting url for line numbers and syntax highlighting add #n-<linenmumber> to link to a specific line number use this form to paste from a browser EXAMPLES Use the output from a command to create a paste ~$ cat bin/sock | curl -F '0k=<-' https://0k.vc http://0k.vc/aXZI ~$ firefox http://0k.vc/aXZI?py Upload a file ~$ curl -F '0k=@yourfile.pl' https://0k.vc http://0k.vc/aXZI CLIENT A client is avalible from 0k.vc/clientcurl 0k.vc/client > 0k chmod +x 0k ./0k -h
Or you may place the following in your ~/.bashrck() { if [[ $# -gt 0 ]]; then for FILE in "$@" do curl -F '0k=@'"$FILE" https://0k.vc done else curl -F '0k=<-' https://0k.vc fi }
SEE ALSO http://github.com/MaverickEsq/tempal