Experimental file sharing site.
Not stable. Do not use.
Sample usage:
curl share.loltek.net -T file.txt
#!/bin/bash
pastebinit() {
if [ $# -eq 0 ]; then
curl --http1.1 -s https://share.loltek.net -T - # Read from stdin
else
curl --http1.1 -s https://share.loltek.net -T "$@"
fi
}
install pasta:
echo -ne 'pastebinit() {\n if [ $# -eq 0 ]; then\n curl --http1.1 -s http://share.loltek.net -T - # Read from stdin\n else\n curl --http1.1 -s http://share.loltek.net -T "$@"\n fi\n}\npastebinit "$@"\n' | sudo tee /usr/local/bin/pastebinit;
sudo chmod 0555 /usr/local/bin/pastebinit;