My Recent Pastes (57 and counting)

Pastes by Andi (57 and counting)

Below are the 15 most recent pasties by Andi.

December 02, 2009
12:30PM EDT
by Andi

length: 0
  python:    0.3133 (100.0%)
  bfg:       0.0689 (22.0%)
length: 1
  python:    0.3334 (100.0%)

December 02, 2009
12:30PM EDT
by Andi

from repoze.bfg.encode import url_quote, always_safe as safe
from urllib import quote
from random import choice, shuffle
from time import time

November 11, 2009
3:32PM EDT
by Andi

~/plone/coredev/branches/4.0 (4*)-> bin/test -s collective.usernamelogger
Running collective.usernamelogger.tests.Layer tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 2.729 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 4.555 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 7.370 seconds.

November 10, 2009
11:10AM EDT
by Andi

## Script (Python) "checkFileContentUsage"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script

November 10, 2009
11:06AM EDT
by Andi

## Script (Python) "checkFileContentUsage"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script

November 08, 2009
10:51AM EDT
by Andi

" Vim color file

set background=dark
hi clear
if exists("syntax_on")

October 30, 2009
8:34AM EDT
by Andi

Starting the migration from version: 3.3
Ran upgrade step: Unregister the plone_various import step
Role / permission map imported.
Step plone-site has an invalid import handler
Archetype tool imported.

October 30, 2009
7:17AM EDT
by Andi

#!/bin/bash
while [ ! -d bin ]; do cd ..; done
grep "$*" bin/instance bin/paster | tr -d , | xargs mate

October 29, 2009
12:18PM EDT
by Andi

[buildout]
extends = buildout.cfg

[zope2]
additional-fake-eggs += zope.publisher 

October 23, 2009
3:44PM EDT
by Andi

final migration:
  6789 files to migrate
  migration from 22:22 to 23:13 (0:51h)
  zodb was packed from 16515.4mb to 3018.0mb

October 23, 2009
12:21PM EDT
by Andi

[buildout]
extends = buildout.cfg
parts += zeo fakezope2

[versions]

October 23, 2009
9:24AM EDT
by Andi

<configure
    xmlns="http://namespaces.zope.org/zope">

    <adapter factory=".http.HTTPCharsets"
        for="zope.publisher.interfaces.http.IHTTPRequest"

October 23, 2009
9:24AM EDT
by Andi

from zope.interface import implements
from zope.component import adapts
from zope.publisher.interfaces.http import IHTTPRequest
from zope.i18n.interfaces import IUserPreferredCharsets
from zope.publisher.http import HTTPCharsets as BaseAdapter

October 21, 2009
9:16AM EDT
by Andi

[buildout]
parts = zope2 instance
extends = http://dist.plone.org/release/3.3.1/versions.cfg
find-links =
    http://dist.plone.org/release/3.3.1

October 20, 2009
6:54PM EDT
by Andi

~-> svn ls svn+ssh://repoze@svn.repoze.org/svn/
sh: -c: line 0: unexpected EOF while looking for matching `''
sh: -c: line 1: syntax error: unexpected end of file
svn: Connection closed unexpectedly

Next page

Previous page