Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
## Pastie without Ruby (using only curl), by Hans Fugal #!/bin/sh # With a little automator workflow, quicksilver magic, and a judicious # placement of pbpaste on the next line you can paste with almost no effort at # all. url=$(curl http://pastie.caboo.se/pastes/create \ -H "Expect:" \ -F "paste[parser]=plaintext" \ -F "paste[body]=<-" \ -s -L -o /dev/null -w "%{url_effective}") echo -n "$url" | pbcopy echo "$url"
This paste will be private.
From the Design Piracy series on my blog: