By zash http://zash.se/
and hacked by Sikevux http://sikevux.se/
Zash's code is used here: http://p.zash.se/
Sikevux's code is used here: http://c0re.se/
Consider this to be in the public domain. You are free to do whatever you want with this. I do not consider it big enough to license under GPL or similar.
index.htmla form for posting to the pastebincatch.phprecives and stores the pasteerror-handler.phpfor auto-completion like behaviour and php-code highlightingcrontaba crontab entry for cleaning up pasted filespastebina bash script for uploading data to pastebinREADME.mdthis file
- Install pdflatex
- Create a new subdomain or directory on your webserver (not included).
- Place the
catch.phpfiles andindex.htmlin there. You can renameindex.htmlif you want. chmod webbserver+won the directory.- If you want filename completion and syntax highlighting, configure your webserver to let
error-handler.phphandle 404's. - Add the crontab-row to your crontab and edit the path if you want automagic cleanup.
- If you want to use the pastebin bash script, edit it and change
$RECIVER_URLto match your setup or putRECIVER_URL=http://yourpastebin/catch.phpin~/.pastebinrc.