Skip to content

Instantly share code, notes, and snippets.

% for item in object.message_follower_ids:
%if user.partner_id.id != item.id:
${item.name}, 
% endif
% endfor
2014-02-21 14:11:25,451 DEBUG [paste.httpserver.ThreadPool] Added task (0 tasks queued)
2014-02-21 14:11:25,467 DEBUG [mediagoblin.tools.routing] endpoint: mediagoblin.oauth view_func: mediagoblin.oauth.views:authorize
/usr/local/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/SQLAlchemy-0.8.1-py2.7-linux-i686.egg/sqlalchemy/engine/default.py:471: SAWarning: Unicode type received non-unicode bind param value.
processors[key](compiled_params[key])
2014-02-21 14:12:07,766 DEBUG [paste.httpserver.ThreadPool] Added task (0 tasks queued)
# We use a jinja2 sandboxed environment to render mako templates.
# Note that the rendering does not cover all the mako syntax, in particular
# arbitrary Python statements are not accepted, and not all expressions are
# allowed: only "public" attributes (not starting with '_') of objects may
# be accessed.
# This is done on purpose: it prevents incidental or malicious execution of
# Python code that may break the security of the server.
from jinja2.sandbox import SandboxedEnvironment
mako_template_env = SandboxedEnvironment(
block_start_string="<%",
diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php
index 25b009f..cff0bcb 100644
--- a/plugins/Realtime/RealtimePlugin.php
+++ b/plugins/Realtime/RealtimePlugin.php
@@ -145,7 +145,7 @@ class RealtimePlugin extends Plugin
public function onEndShowStylesheets(Action $action)
{
- $action->cssLink(self::staticPath(__CLASS__, 'css/realtimeupdate.css'),
+ $action->cssLink(self::staticPath(str_replace('Plugin','',__CLASS__), 'css/realtimeupdate.css'),
[12:34:50] IMAP4> 335 UID FETCH 2009 BODY.PEEK[]
[12:34:50] IMAP4< [FETCH data - 1024 bytes]
[12:34:50] IMAP4< [FETCH data - 916 bytes]
imap-thread.c:2592:imap fetch_content run - end 23
imap-thread.c:404:generic_cb
** (claws-mail:28816): WARNING **: [12:34:50] IMAP error on localhost: FETCH error
imap.c:539:unlocking session 0x1c20e40
folder.c:4621:Folder HSD wants sync
Modified lisp/ox-latex.el
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el
index cea21be..844f2cd 100644
--- a/lisp/ox-latex.el
+++ b/lisp/ox-latex.el
@@ -349,7 +349,7 @@ the toc:nil option, not to those generated with #+TOC keyword."
:type 'string)
(defcustom org-latex-hyperref-template
- "\\hypersetup{\n pdfkeywords={%k},\n pdfsubject={%d},\n pdfcreator={%c}}\n"
grep INCOMING ERROR debug.log | sort | uniq -c
grep: ERROR: No such file or directory
424 debug.log:INCOMING ERROR: height > getBestHeight
3857 debug.log:INCOMING ERROR: invalid signature
4 debug.log:INCOMING ERROR: invalid token
4792 debug.log:INCOMING ERROR: invalid transaction id
8 debug.log:INCOMING ERROR: message too big
1 debug.log:INCOMING ERROR: missing 'y' entry
Roughly from : 2014-02-15 09:00
-- Many servers don't support encryption or have invalid or self-signed
-- certificates. You can list domains here that will not be required to
-- authenticate using certificates. They will be authenticated using DNS.
@mrvdb
mrvdb / mrb.el
Last active August 29, 2015 14:01
(register-input-method
"MyTeX" "UTF-8" 'quail-use-package
"\\" "Personalized TeX input method"
"~/.emacs.d/mytex-inputmethod")
(defun mrb/set-input-method()
(interactive)
(setq default-input-method "MyTeX")
;; Toggle only if it not active yet
(if (not current-input-method)
;; Register a new input method
(register-input-method
"MyTeX" "UTF-8" 'quail-use-package
"\\" "Personalized TeX input method"
"~/.emacs.d/mytex-inputmethod")
(defun mrb/set-input-method()
(interactive)
(setq default-input-method "MyTeX")
;; Toggle only if it not active yet