summaryrefslogtreecommitdiff
path: root/accessibility/wgetpaste/zlin.conf
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2012-12-26 09:23:57 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-26 21:36:45 +0100
commitd9e928d381e5599b58d8a9262645ea4f2bf458d8 (patch)
tree1e8abda777c00673d2d86b36d1692562e2c1104c /accessibility/wgetpaste/zlin.conf
parent0ca5cb261367c07226afba70dedc6f8881e8514c (diff)
downloadslackbuilds-d9e928d381e5599b58d8a9262645ea4f2bf458d8.tar.gz
accessibility/wgetpaste: Updated for version 2.20, added license.
switched default service to dpaste, added zlin service Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'accessibility/wgetpaste/zlin.conf')
-rw-r--r--accessibility/wgetpaste/zlin.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/accessibility/wgetpaste/zlin.conf b/accessibility/wgetpaste/zlin.conf
new file mode 100644
index 0000000000..16e2aa887b
--- /dev/null
+++ b/accessibility/wgetpaste/zlin.conf
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+# put this file in /etc/wgetpaste.d/ or ~/.wgetpaste.d/ to add http://zlin.dk/p/ to list of available services
+
+# add zlin service
+SERVICES="${SERVICES} zlin"
+ENGINE_zlin=knopaste
+URL_zlin="http://zlin.dk/p/ ?"
+EXPIRATION_INFO_zlin="Pastes on zlin: ${URL_zlin% *} do not expire."$'\n'
+DEFAULT_LANGUAGE_zlin="text"
+
+# add knopaste engine
+LANGUAGES_knopaste="actionscript ada apache applescript asm asp autoit bash blitzbasic bnf c c_mac caddcl cadlisp cfdg cfm cpp cpp-qt csharp css d delphi diff div dos eiffel fortran freebasic gml groovy html4strict idl ini inno io java java5 javascript latex lisp lua matlab mirc mpasm mysql nsis objc ocaml ocaml-brief oobas oracle8 pascal perl php php-brief plsql python qbasic reg robots ruby sas scheme sdlbasic smalltalk smarty sql tcl text thinbasic tsql vb vbnet vhdl visualfoxpro winbatch xml"
+POST_knopaste="submit=Submit % % lang % % paste"
+REGEX_knopaste='s|$|\.txt|'
+REGEX_RAW_knopaste='s|^http://.*$|&.txt|'