Skip to content

Instantly share code, notes, and snippets.

@tippfehlr
Last active February 8, 2024 10:11
Show Gist options
  • Save tippfehlr/756b461680b7b2902dd10034cad1544a to your computer and use it in GitHub Desktop.
Save tippfehlr/756b461680b7b2902dd10034cad1544a to your computer and use it in GitHub Desktop.
Pipe output to bin.gy
#!/bin/bash
curl -X PUT --data "$(cat -)" https://bin.gy/
echo # bin.gy does not return a newline after the link
# use: cat <file> | bin
# or: some-command | bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment