Skip to content

Instantly share code, notes, and snippets.

View laoqiu's full-sized avatar

老秋 laoqiu

View GitHub Profile
@laoqiu
laoqiu / client.py
Created May 3, 2012 08:49
suds support async
# This program is free software; you can redistribute it and/or modify
# it under the terms of the (LGPL) GNU Lesser General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Library Lesser General Public License for more details at
# ( http://www.gnu.org/licenses/lgpl.html ).
@laoqiu
laoqiu / gist:833341
Created February 18, 2011 06:37
flask helpers
#!/usr/bin/env python
#coding=utf-8
"""
helpers.py
~~~~~~~~~~~~~
:license: BSD, see LICENSE for more details.
"""
import re
import markdown