Skip to content

Instantly share code, notes, and snippets.

@Delivator
Created November 12, 2019 22:46
Show Gist options
  • Save Delivator/2ac068974f026e5dbf78a2de86909fc3 to your computer and use it in GitHub Desktop.
Save Delivator/2ac068974f026e5dbf78a2de86909fc3 to your computer and use it in GitHub Desktop.
#!/bin/bash
function paste.click(){
if [ -z "$1" ]; then
curl -s --data-binary @- https://paste.click/s/;
else
curl -s --data-binary @$1 https://paste.click;
fi;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment