https://github.com/tripflex/hastebin-python-client
Python client for hastebin (similar to PasteBin)
https://github.com/tripflex/hastebin-python-client
Last synced: about 2 months ago
JSON representation
Python client for hastebin (similar to PasteBin)
- Host: GitHub
- URL: https://github.com/tripflex/hastebin-python-client
- Owner: tripflex
- Created: 2012-12-04T21:04:20.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-03-15T15:39:20.000Z (about 13 years ago)
- Last Synced: 2025-01-20T17:33:03.851Z (over 1 year ago)
- Language: Python
- Homepage: http://hastebin.com
- Size: 137 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
hastebin-python-client
======================
Python 2.x client for hastebin
## Installation
``` bash
wget https://raw.github.com/tripflex/hastebin-python-client/master/haste
mv haste ~/bin/haste
chmod +x ~/bin/haste
```
## Usage
``` bash
cat ~/thefile | haste
haste ~/thefile
```
## Troubleshooting
If you get a "haste: command not found" you need to set the correct path. In installation above we installed into ~/bin/haste
Check path with this command and make sure the file is in one of those directories:
``` bash
echo ${PATH}
```
If not you can export path to your .bashrc file
``` bash
PATH=~/bin:"${PATH}"
export PATH
```
And verify
``` bash
which haste
```