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
[buildout] | |
extends = http://dist.plone.org/release/4.3-latest/versions.cfg | |
parts = plone | |
[plone] | |
recipe = plone.recipe.zope2instance | |
user = admin:admin | |
http-address = 8081 | |
# environment-vars = TZ America/New_York |
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
plone01 216 > hostname | |
plone01.sixfeetup.com | |
plone01 217 > date -u | |
Fri Jul 12 21:50:47 UTC 2013 | |
plone01 218 > telnet localhost 80 | |
Trying 127.0.0.1... | |
Connected to localhost. | |
Escape character is '^]'. | |
GET / HTTP/1.1 | |
Host: plone.org |
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 X(object): | |
def __init__(self, value): | |
self.value = value | |
def __cmp__(self, other): | |
print 'I am %x, comparing my %d with other %x %d' % (id(self), self.value, id(other), other.value) | |
return cmp(self.value, other.value) | |
a = [X(2), X(1), X(3)] | |
X(1) in a |
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
File "/Users/kelly/.buildout/eggs/z3c.relationfield-0.6.2-py2.7.egg/z3c/relationfield/event.py", line 82, in updateRelations | |
catalog.unindex(rel) | |
File "/Users/kelly/.buildout/eggs/zc.relation-1.0-py2.7.egg/zc/relation/catalog.py", line 546, in unindex | |
self.unindex_doc(self._relTools['dump'](rel, self, {})) | |
File "/Users/kelly/.buildout/eggs/zc.relation-1.0-py2.7.egg/zc/relation/catalog.py", line 556, in unindex_doc | |
self._remove(relToken, tokens, data['name']) | |
File "/Users/kelly/.buildout/eggs/zc.relation-1.0-py2.7.egg/zc/relation/catalog.py", line 621, in _remove | |
data = dataset[key] | |
KeyError: <class 'plone.directives.form.schema.Schema'> |
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
# encoding: utf-8 | |
import rdflib | |
book = rdflib.URIRef(u'urn:isbn:978-3-16-148410-0') | |
bookType = rdflib.URIRef(u'urn:publishing:schema:book') | |
authorPredicate = rdflib.URIRef(u'http://purl.org/dc/terms/creator') | |
joyce = rdflib.URIRef(u'urn:foaf:registered-people:joyce') | |
kelly = rdflib.URIRef(u'http://twitter.org/nutjob4life') | |
mattmann = rdflib.URIRef(u'http://people.apache.org/mattmann') |
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'?> | |
<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' | |
xmlns:dc='http://purl.org/dc/terms/'> | |
<rdf:Description rdf:about='urn:isbn:978-3-16-148410-0'> | |
<rdf:type rdf:resource='urn:publishing:schema:book'/> | |
<dc:creator> | |
<rdf:Bag> | |
<rdf:li rdf:resource='http://people.apache.org/mattmann'/> | |
<rdf:li rdf:resource='http://twitter.org/nutjob4life'/> | |
<rdf:li rdf:resource='urn:foaf:registered-people:joyce'/> |
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
[versions] | |
Pillow = 1.7.5 | |
Products.DocFinderTab = 1.0.5 | |
Products.PloneHotfix20110720 = 1.2 | |
Products.PythonField = 1.1.3 | |
Products.TALESField = 1.1.3 | |
Products.TemplateFields = 1.2.5 | |
Products.Zope-Hotfix-20110622 = 1.0 | |
collective.recipe.backup = 1.3 | |
collective.recipe.omelette = 0.11 |
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
from setuptools import setup, find_packages | |
setup( | |
name='fancy', | |
version='1.0.0', | |
author='Mike', | |
author_email='[email protected]', | |
description='Fancy installable package', | |
entry_points={ | |
'console_scripts': [ |
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
)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) | |
)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) | |
)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) | |
)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) | |
)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) | |
)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) | |
)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) | |
)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) | |
)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) | |
)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) |
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
[buildout] | |
extensions = buildout.packagename | |
parts = python | |
develop = . | |
[python] | |
recipe = zc.recipe.egg | |
interpreter = python | |
eggs = ${buildout:package-name} |