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
bb-master@cube:~/BuildBot/master$ tail -n 1000 -F twistd.log | grep HTTP | |
tail: `twistd.log' has been replaced; following end of new file | |
tail: `twistd.log' has been replaced; following end of new file | |
tail: `twistd.log' has been replaced; following end of new file | |
tail: `twistd.log' has been replaced; following end of new file | |
tail: `twistd.log' has been replaced; following end of new file | |
2011-03-23 12:30:04-0400 [KeepaliveBroker,0,] <GET /grid HTTP/1.1> | |
tail: `twistd.log' has been replaced; following end of new file | |
tail: `twistd.log' has been replaced; following end of new file | |
tail: `twistd.log' has been replaced; following end of new file |
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
$ virtualenv --no-site-packages -p `which python2.5` test-2.5 | |
Running virtualenv with interpreter /usr/bin/python2.5 | |
New python executable in test-2.5/bin/python2.5 | |
Also creating executable in test-2.5/bin/python | |
Installing setuptools...................... | |
Complete output from command test-2.5/bin/python2.5 -c "#!python | |
\"\"\"Bootstrap setuptoo... | |
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 threading import Thread | |
from twisted.internet import reactor | |
from twisted.internet.threads import blockingCallFromThread | |
from twisted.names import client | |
running = False | |
def query(): | |
global running |
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 twisted.internet import reactor, defer | |
from twisted.internet.protocol import ClientCreator | |
from twisted.protocols import amp | |
from ampserver import Sum, Divide | |
def doMath(): | |
try: | |
a = raw_input('What number for a ? \n >') | |
b = raw_input('What number for b? \n >') |
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
>>> self._writeTimings | |
[0.03816699981689453, | |
0.0008051395416259766, | |
0.07694196701049805, | |
0.0007631778717041016, | |
0.0004780292510986328, | |
0.0005741119384765625, | |
0.0005929470062255859, | |
0.00044918060302734375, | |
0.0007309913635253906, |
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
if __name__ == '__main__': | |
import sys | |
import chunkypushproducer | |
raise SystemExit(chunkypushproducer.main(sys.argv)) | |
from zope.interface import implementer | |
from twisted.internet.interfaces import IPushProducer | |
from twisted.internet.task import react, deferLater, cooperate | |
from twisted.internet.protocol import Protocol |
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
argv: ["git", "--version"] | |
argv: ["git", "clean", "-f", "-d", "-x"] | |
argv: ["git", "fetch", "-t", "[email protected]:hybridlogic/HybridCluster", "replication-stable"] | |
argv: ["git", "reset", "--hard", "de55eafba9e85ee4bafb195a868af1d3c57ab42e", "--"] | |
argv: ["git", "branch", "-M", "replication-stable"] | |
argv: ["git", "submodule", "update", "--recursive"] | |
argv: ["git", "submodule", "foreach", "git", "clean", "-f", "-d", "-x"] | |
argv: ["git", "rev-parse", "HEAD"] |
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
#!/usr/bin/env python | |
# Copyright (c) Twisted Matrix Laboratories. | |
# See LICENSE for details. | |
if __name__ == '__main__': | |
import sys | |
import sftpclient_ssh | |
from twisted.internet.task import react | |
react(sftpclient_ssh.main, sys.argv[1:]) |
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 ISimplerRequest(Interface): | |
method = Attribute("A C{str} giving the HTTP method that was used.") | |
uri = Attribute( | |
"A C{str} giving the full encoded URI which was requested (including " | |
"query arguments).") | |
requestHeaders = Attribute( | |
"A L{http_headers.Headers} instance giving all received HTTP request " | |
"headers.") |
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
22:23 < exarkun> I bet no one knows how much RAM cube had. | |
22:25 < exarkun> Just one unknown variable in the mystery of why dornkirk, a machine at least three generations | |
newer, has almost as difficult a job hosting the same services... | |
22:26 < exarkun> So I would like to be able to still do a /little/ bit of admin work | |
22:26 < exarkun> My understanding is that this is now done with braid though | |
22:26 < exarkun> I have a checkout of braid. | |
22:26 < exarkun> What do I do next? | |
22:27 < exarkun> My guess is "apt-get install virtualenvwrapper". How does that sound? |
OlderNewer