This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Swiftriver Visualize Rivers Route | |
*/ | |
Route::set('trend_river', 'river/trend(/<controller>(/<id>(/<action>)))', | |
array('id' => '\d+')) | |
->defaults(array( | |
'controller' => 'main', | |
'action' => 'index', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> |