Skip to content

Instantly share code, notes, and snippets.

View Fluxx's full-sized avatar

Jeff Pollard Fluxx

View GitHub Profile
try:
__import__('pkg_resources').declare_namespace(__name__)
except ImportError:
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
Running setup.py install for lxml
Building lxml version 2.3.1.
Building without Cython.
ERROR: /bin/sh: xslt-config: not found
** make sure the development packages of libxml2 and libxslt are installed **
Using build configuration of libxslt
building 'lxml.etree' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.6/src/lxml/lxml.etree.o -w
import json
from pprint import pprint as pp
io = open('board.json')
board = json.loads(io.read())
def connceted_four(x, y, char, seen=1):
if seen is 4:
return True
import json
from pprint import pprint as pp
io = open('board.json')
board = json.loads(io.read())
def connceted_four(x, y, char, seen=1):
if seen is 4:
return True
import json
import sys
from pprint import pprint as pp
# io = open('board.json')
io = sys.stdin
board = json.loads(io.read())
import json
import sys
from pprint import pprint as pp
# io = open('board.json')
io = sys.stdin
board = json.loads(io.read())
add_one = lambda x, y: x + y
import json
import sys
board = json.loads(sys.stdin.read())
add_one = lambda x, y: x + y
subtract_one = lambda x, y: x - y
no_op = lambda x, y: x
transforms = (
import json
import sys
board = json.loads(sys.stdin.read())
add_one = lambda x, y: x + y
subtract_one = lambda x, y: x - y
no_op = lambda x, y: x
transforms = (
======================================================================
FAIL: tests.unit.disqus.stats.scribe.tests:StripPathTest.test
----------------------------------------------------------------------
Traceback (most recent call last):
File "/www/disqus.com/releases/master/tests/unit/disqus/stats/scribe/tests.py", line 15, in test
self.assertEqual(category, scribe.strip_path(test_path))
AssertionError: 'foo.bar' != ''
======================================================================
FAIL: tests.unit.disqus.stats.scribe.tests:StripPathTest.test_trailing_digits
(env)vagrant@dsq-vagrant:~/disqus$ python ci/update_integration_test_apps.py
Updating disqus-integration app matrix config
--------------------------------------------------------------------------------
- tests/integration/cache
- tests/integration/context_processors
- tests/integration/db
- tests/integration/exporter
- tests/integration/firehose
- tests/integration/notifications
- tests/integration/queue