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.html
a form for posting to the pastebincatch.php
recives and stores the pasteerror-handler.php
for auto-completion like behaviour and php-code highlightingcrontab
a crontab entry for cleaning up pasted filespastebin
a bash script for uploading data to pastebinREADME.md
this file
- Install pdflatex
- Create a new subdomain or directory on your webserver (not included).
- Place the
catch.php
files andindex.html
in there. You can renameindex.html
if you want. chmod webbserver+w
on the directory.- If you want filename completion and syntax highlighting, configure your webserver to let
error-handler.php
handle 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_URL
to match your setup or putRECIVER_URL=http://yourpastebin/catch.php
in~/.pastebinrc
.