Skip to content

Instantly share code, notes, and snippets.

@santaklouse
Created October 3, 2023 20:58
Show Gist options
  • Save santaklouse/eadfc8411e8257003a7631124ff1285d to your computer and use it in GitHub Desktop.
Save santaklouse/eadfc8411e8257003a7631124ff1285d to your computer and use it in GitHub Desktop.
share text or images (tmp store on free anon file servers)

Image

resource: [GitHub Pages](https://imagebin.ca/)

add alias imgbin to ~/.bashrc

imgbin() { curl -F file="@${1}" 'https://imagebin.ca/upload.php'; }

example

$ imgbin themes/jaURQ7xBdK/preview.jpg
status:7cXgFYrAEXF4
url:https://ibin.co/7cXgFYrAEXF4.jpg

Text

  1. termbin.com
alias tb="nc termbin.com 9999"

example

$ ps |tb
https://termbin.com/1rzb
  1. ix.io
function pastebin() { curl -F 'f:1=<-' ix.io ; }

example

$ ps |pastebin
http://ix.io/4I5T
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment