Skip to content

Instantly share code, notes, and snippets.

@69mb
69mb / lmtpd.py
Created August 17, 2012 12:57 — forked from clarkbw/lmtpd.py
A python LMTP server using the smtpd module
#!/bin/env python
from smtpd import SMTPChannel, SMTPServer
import asyncore
class LMTPChannel(SMTPChannel):
# LMTP "LHLO" command is routed to the SMTP/ESMTP command
def smtp_LHLO(self, arg):
self.smtp_HELO(arg)
@69mb
69mb / gist:1468074
Created December 12, 2011 16:19 — forked from dkobia/gist:1452238
<?php defined('SYSPATH') OR die('No direct access allowed.');
/**
* Config for Twitter Plugin
*
* PHP version 5
* LICENSE: This source file is subject to GPLv3 license
* that is available through the world-wide-web at the following URI:
* http://www.gnu.org/copyleft/gpl.html
* @author Ushahidi Team <team@ushahidi.com>