Skip to content

Instantly share code, notes, and snippets.

commit 68257ce4f4005233eb60ced038d4b43244912ad1
Author: Marcel van der Boom <[email protected]>
Date: Thu Jul 19 14:29:40 2012 +0200
Upload support for clients which issue update_with_media
- normalize the media parameter, its structure depends on how POST data is collected
- add router entyr point for statuses/update_with_media as alias for statuses/update
diff --git a/lib/mediafile.php b/lib/mediafile.php
@mrvdb
mrvdb / gist:3905557
Created October 17, 2012 13:35
MMQ frequency drop after programming
[2012-10-17 15:34:26] MMQ 0: Programming /dev/ttyACM1... 100% complete...
[2012-10-17 15:34:29] MMQ 0: Done programming /dev/ttyACM1
[2012-10-17 15:34:29] MMQ 0.0: Frequency set to 200 Mhz (range: 178-210)
[2012-10-17 15:34:29] MMQ 0.0: Frequency dropped from 200 to 198 Mhz (temp: 11)
[2012-10-17 15:34:30] MMQ 0.0: Frequency dropped from 198 to 196 Mhz (temp: 23)
[2012-10-17 15:34:30] Accepted 9ca859ab Diff 1 BFL 0 pool 0
[2012-10-17 15:34:31] MMQ 0.0: Frequency dropped from 196 to 194 Mhz (temp: 23)
[2012-10-17 15:34:32] MMQ 0.0: Frequency dropped from 194 to 192 Mhz (temp: 23)
[2012-10-17 15:34:33] MMQ 0.0: Frequency dropped from 192 to 190 Mhz (temp: 24)
[2012-10-17 15:34:34] MMQ 0.0: Frequency dropped from 190 to 188 Mhz (temp: 24)
;;
;; Allow automatically handing of created/expired meta data.
;;
(require 'org-expiry)
;; Configure it a bit to my liking
(setq
org-expiry-created-property-name "CREATED" ; Name of property when an item is created
org-expiry-inactive-timestamps t ; Don't have everything in the agenda view
)
;;
;; Allow automatically handing of created/expired meta data.
;;
(require 'org-expiry)
;; Configure it a bit to my liking
(setq
org-expiry-created-property-name "CREATED" ; Name of property when an item is created
org-expiry-inactive-timestamps t ; Don't have everything in the agenda view
)
=== modified file 'openerp/tools/config.py'
*** openerp/tools/config.py 2012-12-09 22:53:49 +0000
--- openerp/tools/config.py 2012-12-17 10:10:55 +0000
***************
*** 482,489 ****
--- 482,494 ----
openerp.conf.addons_paths = self.options['addons_path'].split(',')
if opt.server_wide_modules:
+ # Take the commandline if specified
On %date_fmt{%a %d-%b-%Y %H:%M}
%from wrote:
%quoted_msg
%cursor
diff --git a/src/quote_fmt_parse.y b/src/quote_fmt_parse.y
index 3567ffa..06d223f 100644
--- a/src/quote_fmt_parse.y
+++ b/src/quote_fmt_parse.y
@@ -461,9 +461,14 @@ static void quote_fmt_show_msg(MsgInfo *msginfo, const gchar *body,
if (!signature && strncmp(buf, "-- \n", 4) == 0)
break;
- if (quoted && quote_str)
- INSERT(quote_str);
Index: src/compose.c
===================================================================
RCS file: /home/claws-mail/claws/src/compose.c,v
retrieving revision 1.382.2.560
diff -u -r1.382.2.560 compose.c
--- src/compose.c 20 Sep 2010 14:05:40 -0000 1.382.2.560
+++ src/compose.c 19 Nov 2010 21:34:00 -0000
@@ -5034,6 +5034,16 @@
inc_unlock();
toolbar_main_set_sensitive(mainwin);
2012-12-27 00:58:53,794 DEBUG [paste.httpserver.ThreadPool] Added task (0 tasks queued)
2012-12-27 00:58:53,798 DEBUG [mediagoblin.tools.routing] endpoint: mediagoblin.user_pages.collection_atom_feed view_func: mediagoblin.user_pages.views:collection_atom_feed
Error - <type 'exceptions.TypeError'>: sort() takes exactly 3 arguments (2 given)
URL: http://media.mrblog.nl/u/mrb/collection/test/atom/
File '/usr/local/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/exceptions/errormiddleware.py', line 144 in __call__
app_iter = self.application(environ, sr_checker)
File '/usr/local/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/urlmap.py', line 203 in __call__
return app(environ, start_response)
File '/usr/local/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/Beaker-1.6.3-py2.7.egg/beaker/middleware.py', line 155 in __call__
return self.wrap_app(environ, session_start_response)
diff --git a/mediagoblin/user_pages/views.py b/mediagoblin/user_pages/views.py
index c3d0604..6c2f8d0 100644
--- a/mediagoblin/user_pages/views.py
+++ b/mediagoblin/user_pages/views.py
@@ -16,6 +16,9 @@
import logging
import datetime
+import mimetypes
+