~paulbissex/dpaste-tools

Tools for use with dpaste.com (deprecated; see https://gitlab.com/paul_bissex/dpaste-cli)
~paulbissex/dpaste-tools

New ticket tracker added

2 years ago
~paulbissex/dpaste-tools

New hg repository added

2 years ago

#Scripts and Tools for dpaste.com

License: MIT

#dpaste.sh

Simple command-line client for creating dpaste items from stdin. Optionally specify syntax, title, and expiry. Resulting item is opened in your browser (via xdg-open on Linux; use open on macOS).

Sample session:

$ ./dpaste.sh -t Demo -s haskell
Paste your content now, ^D to submit.
---
quicksort (p:xs) = (quicksort lesser) ++ [p] ++ (quicksort greater)
---
http://dpaste.com/25YJJ3MFJ