diff options
-rwxr-xr-x | wgetpaste | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -14,7 +14,7 @@ E=$'\e' N=$'\n' ### services -SERVICES="ca codepad gists dpaste osl" +SERVICES="ca codepad dpaste gists poundpython osl" # ca ENGINE_ca=ca URL_ca="http://pastebin.ca/" @@ -32,6 +32,9 @@ DEFAULT_EXPIRATION_dpaste="30 days" # gists ENGINE_gists=gists URL_gists="https://api.github.com/gists" +# poundpython +ENGINE_poundpython=lodgeit +URL_poundpython="http://paste.pound-python.org/" # osl ENGINE_osl=osl URL_osl="http://pastebin.osuosl.org/ pastebin.php" @@ -100,6 +103,21 @@ json_gists() { local description="${1}" language="${2}" content="${3}" echo "{\"description\":\"${description}\",\"public\":\"true\",\"files\":{\"${description//\/}.${language}\":{\"content\":\"${content}\"}}" } +# lodgeit +LANGUAGES_lodgeit="Apache%Config%(.htaccess) Bash Batch%(.bat) Boo C C# C++ Clojure Creole%Wiki CSS \ +CSV D Debian%control-files Django%/%Jinja%Templates Dylan Erlang eRuby%/%rhtml GAS GCC%Messages \ +Genshi%Templates Gettext%catalogs GL%Shader%language Haskell HTML INI%File Interactive%Ruby IO \ +IRC%Logs Java javac%Messages JavaScript JSP Lighttpd Literate%Haskell LLVM Lua Mako%Templates Matlab \ +Matlab%Session MiniD Multi-File Myghty%Templates MySQL Nasm Nginx Object-Pascal OCaml Perl PHP \ +PHP%(inline) Povray Python Python%Console%Sessions Python%Tracebacks reStructuredText Ruby Scala \ +Scheme Smalltalk Smarty sources.list SQL SquidConf TeX%/%LaTeX Plain%Text Unified%Diff Vim XML XSLT YAML" +LANGUAGE_VALUES_lodgeit="apache bash bat boo c csharp cpp clojure creole css csv d control html+django \ +dylan erlang rhtml gas gcc-messages html+genshi gettext glsl haskell html ini irb io irc java \ +javac-messages js jsp lighttpd literate-haskell llvm lua html+mako matlab matlabsession minid multi \ +html+myghty mysql nasm nginx objectpascal ocaml perl html+php php povray python pycon pytb rst ruby \ +scala scheme smalltalk smarty sourceslist sql squidconf tex text diff vim xml xslt yaml" +POST_lodgeit="submit=Paste! % % language % % code" +REGEX_RAW_lodgeit='s|^\(http://[^/]*/\)show\(/[0-9]*/\)$|\1raw\2|' # osl LANGUAGES_osl="Plain%Text ActionScript Ada Apache%Log%File AppleScript Assembly%(NASM) \ ASP Bash C C%for%Macs CAD%DCL CAD%Lisp C++ C# ColdFusion CSS D Delphi Diff DOS Eiffel Fortran \ |