read me
pb
█
▄▀▀▄ █▐▀▄
█▐░█░█▐░█░ ░ ░
█▐▄▀ ▀▄▄▀
█ pb; command line pastebin service helper
{kopimi,CC0} MMXVIII-MMXXIV . syntax samurai
▟▙
▟▒░░░░░░░▜▙▜████████████████████████████████▛
▜▒░░░░░░░▟▛▟▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▛
▜▛
credz
- authors:
- code:
- greets:
- all the ops of these great free services <3
usage
pb <service> [file|stream]
services
environment variables:
- UA
- user-agent string (defaults to some chrome one)
envs for pastebin.com:
- PB_API_DEV
- PB_API_USR
- PRIVACY
- paste visibility [optional]
- valid values: public|0, unlisted|1, private|2
- ANON
- paste w/o a user key even if defined [optional]
examples
- pb ix ~/.vimrc
- pb 0x0 <(ps aux)
- dmesg | pb iop
- PB_API_DEV=XXXX PRIVACY=0 pb pb /tmp/leak.txt
- UA="Mozilla/5.0 (PlayStation 4 5.55) AppleWebKit/601.2 (KHTML, like Gecko)" pb uguu /tmp/waifu.jpg
license
kopimi! in the spirit of freedom of information, i encourage you to fork, modify, change, share, or do whatever you like with this project! ^c^v. or CC0/public domain for you nonbelievers.