Skip to content

Instantly share code, notes, and snippets.

@jhass jhass/
Last active Nov 5, 2015

What would you like to do? helper function
  1. Add to your .${SHELL}rc.
  2. Replace user and password.
  3. Create cat foo | ixio.
  4. Update cat foo | ixio abc.
  5. View your pastes at
ixio() {
if [ -n "$1" ]; then
url="$(curl --basic -F 'f:1=<-' $id"
echo "$url" | tee >(xclip -selection clipboard)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.