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
class ValueConstant(object): | |
_container = None | |
_name = None | |
def __init__(self, value): | |
self.value = value | |
def _realize(self, container, name): | |
self._container = container |
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
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> | |
<head> | |
<title>Twisted Names</title> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> | |
<meta name="generator" content="Org-mode" /> | |
<style type="text/css"> | |
<!--/*--><![CDATA[/*><!--*/ |
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
[richard@zorin trunk]$ twistd --nodaemon mail --maildirdbmdomain=example.com=/tmp/example.com --alias=/tmp/example.com/aliases --user=joe=password --user=bob=password | |
2013-08-19 14:23:38+0100 [-] Log opened. | |
2013-08-19 14:23:38+0100 [-] twistd 13.1.0 (/usr/bin/python 2.7.5) starting up. | |
2013-08-19 14:23:38+0100 [-] reactor class: twisted.internet.epollreactor.EPollReactor. | |
2013-08-19 14:23:38+0100 [-] POP3Factory starting on 8110 | |
2013-08-19 14:23:38+0100 [-] Starting factory <twisted.mail.protocols.POP3Factory instance at 0x15f6050> | |
2013-08-19 14:23:38+0100 [-] SMTPFactory starting on 8025 | |
2013-08-19 14:23:38+0100 [-] Starting factory <twisted.mail.protocols.SMTPFactory instance at 0x15f64d0> | |
2013-08-19 14:23:42+0100 [twisted.mail.protocols.SMTPFactory] Connection from IPv4Address(TCP, '127.0.0.1', 35944) | |
2013-08-19 14:24:19+0100 [SMTP,0,127.0.0.1] Unhandled Error |
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
""" | |
A systemd socket activated TLS twisted.web server. | |
$ tree /srv/www/ | |
/srv/www/ | |
`-- www.example.com | |
|-- server.key | |
|-- server.pem | |
|-- server.tac.py | |
`-- static |
NewerOlder