Skip to content

Instantly share code, notes, and snippets.

View ericzundel's full-sized avatar

Eric Ayers ericzundel

View GitHub Profile
@ericzundel
ericzundel / gist:5f8f740b6975fc641928
Created February 12, 2015 17:19
Decorating classes for product_types
gbl_product_types={}
class product_type:
def __init__(self, product_types):
self._product_types = product_types;
def __call__(self, cls):
gbl_product_types[cls.__name__] = self._product_types
class Wrapped(cls):
*** Running pants in dev mode from /Users/zundel/Src/Pants/src/python/pants/bin/pants_exe.py ***
22:26:12 00:00 [main]
(To run a reporting server: ./pants server)
22:26:12 00:00 [bootstrap]
22:26:12 00:00 [setup]
22:26:12 00:00 [parse]DEBUG] Located Distribution(u'/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin', minimum_version=None, maximum_version=None jdk=False) for constraints: minimum_version None, maximum_version None, jdk False
DEBUG] Selected protoc binary bootstrapped to: /Users/zundel/.pants.d/bin/protobuf/mac/10.9/2.4.1/protoc

Executing tasks in goals: bootstrap -> imports -> unpack-jars -> deferred-sources -> gen -> resolve -> compile
*** Running pants in dev mode from /Users/zundel/Src/Pants/src/python/pants/bin/pants_exe.py ***
Bootstrapping pants_deps with requirements:
/Users/zundel/Src/pants/3rdparty/python/requirements.txt
/Users/zundel/Src/pants/3rdparty/python/internal_backend/requirements.txt
/Users/zundel/Src/pants/3rdparty/python/twitter/commons/requirements.txt
Using /usr/local/bin/python2.7
~/Src/pants/build-support ~/Src/Pants
Downloading https://pypi.python.org/packages/source/v/virtualenv/virtualenv-12.0.5.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
This file has been truncated, but you can view the full file.
2014-10-08 16:18:40,846 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2014-10-08 16:18:40,871 [ 25] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-135.1230, 21 Jul 2014 00:00)
2014-10-08 16:18:40,871 [ 25] INFO - #com.intellij.idea.Main - OS: Mac OS X (10.9.5, x86_64)
2014-10-08 16:18:40,871 [ 25] INFO - #com.intellij.idea.Main - JRE: 1.6.0_65-b14-462-11M4609 (Apple Inc.)
2014-10-08 16:18:40,871 [ 25] INFO - #com.intellij.idea.Main - JVM: 20.65-b04-462 (Java HotSpot(TM) 64-Bit Server VM)
2014-10-08 16:18:40,875 [ 29] INFO - #com.intellij.idea.Main - JVM Args: -Dfile.encoding=UTF-8 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djsse.enableSNIExtension=false -XX:+UseCodeCacheFlushing -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -Xverify:none -Xbootclasspath/a:../lib/boot
@ericzundel
ericzundel / instruments.json
Created October 8, 2014 17:17
instruments.json output
{
"libraries": {},
"targets": {
"tenderloin/tenderloin-protos/src/main/proto:proto": {
"libraries": [],
"is_code_gen": true,
"targets": [
"all-protos/protobuf-common/src/main/java:lib",
"common-protos/src/main/proto:proto",
"parents/protos/src/main/proto:proto",