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 cf03c8a20ef3f2d90f8218ec503e2bbd302bb2b8 Mon Sep 17 00:00:00 2001 | |
From: Ryan Berdeen <[email protected]> | |
Date: Sat, 30 Nov 2013 13:46:27 -0500 | |
Subject: [PATCH] java 6 support | |
--- | |
build.xml | 8 ++++---- | |
.../google/javascript/jscomp/ProcessClosurePrimitives.java | 11 +++++++++-- | |
2 files changed, 13 insertions(+), 6 deletions(-) |
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/libexec/java_home -X | |
$ sudo opensnoop -n java_home | |
UID PID COMM FD PATH | |
501 79809 java_home 3 /System/Library/PrivateFrameworks/JavaLaunching.framework/Versions/A/JavaLaunching | |
501 79809 java_home 3 /dev/dtracehelper | |
501 79809 java_home 4 /System/Library/CoreServices/SystemVersion.bundle//English.lproj | |
501 79809 java_home -1 /System/Library/CoreServices/SystemVersion.bundle//Base.lproj | |
501 79809 java_home 4 /System/Library/CoreServices/SystemVersion.bundle/English.lproj/SystemVersion.strings | |
501 79809 java_home -1 /System/Library/CoreServices/SystemVersion.bundle/English.lproj/SystemVersion.stringsdict | |
501 79809 java_home 3 /usr/share/icu/icudt51l.dat |

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
wget -qO- https://get.docker.io/gpg | apt-key add - | |
echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list | |
apt-get update | |
apt-get install -y lxc-docker |
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
air:vmware ryan$ vagrant init precise64 | |
A `Vagrantfile` has been placed in this directory. You are now | |
ready to `vagrant up` your first virtual environment! Please read | |
the comments in the Vagrantfile as well as documentation on | |
`vagrantup.com` for more information on using Vagrant. | |
air:vmware ryan$ vagrant up --provider vmware_fusion | |
Bringing machine 'default' up with 'vmware_fusion' provider... | |
[default] Cloning VMware VM: 'precise64'. This can take some time... | |
[default] Verifying vmnet devices are healthy... | |
[default] Preparing network adapters... |
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
sudo docker run -d -name zookeeper -p 2181 also/kafka:test-3 sh /opt/kafka/bin/zookeeper-server-start.sh /opt/kafka/config/zookeeper.properties | |
sudo docker run -link zookeeper:zk -e BROKER_ID=10 also/kafka:test-3 /opt/kafka/bin/docker-kafka.sh |
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
Import["http://lead.ryanberdeen.com/render?target=randomWalkFunction(%\ | |
27hello%2C+world%27)", "JSON"] |
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
net.opentsdb.core.IllegalDataException: Found out of order or duplicate data: cell=Cell([-127, -5], [68, -122, -111, 96]), delta=2079000, prev cell=Cell([-127, -5], [66, -9, -50, -39]), last_delta=2079000, in row=[KeyValue(key=[0, 16, 41, 83, 3, -97, -96, 0, 0, 25, 0, -128, 65], family="t", qualifier=[0, 11, 0, 27, 0, 43, 0, 59, 0, 75, 0, 91, 0, 107, 0, 123, 0, -117, 0, -101, 0, -85, 0, -69, 0, -53, 0, -37, 0, -21, 0, -5, 1, 11, 1, 27, 1, 43, 1, 59, 1, 75, 1, 91, 1, 107, 1, 123, 1, -117, 1, -101, 1, -85, 1, -69, 1, -53, 1, -37, 1, -21, 1, -5, 2, 11, 2, 27, 2, 43, 2, 59, 2, 75, 2, 91, 2, 107, 2, 123, 2, -117, 2, -101, 2, -85, 2, -69, 2, -53, 2, -37, 2, -21, 2, -5, 3, 11, 3, 27, 3, 43, 3, 59, 3, 75, 3, 91, 3, 107, 3, 123, 3, -117, 3, -101, 3, -85, 3, -69, 3, -53, 3, -37, 3, -21, 3, -5, 4, 11, 4, 27, 4, 43, 4, 59, 4, 75, 4, 91, 4, 107, 4, 123, 4, -117, 4, -101, 4, -85, 4, -69, 4, -53, 4, -37, 4, -21, 4, -5, 5, 11, 5, 27, 5, 43, 5, 59, 5, 75, 5, 91, 5, 107, 5, 123, 5, -117, 5, -101, 5, -85, 5, -69, 5, -53, 5, -37 |
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
# written in anger at 4AM. it's a bad idea to use this. | |
import struct | |
import sys | |
import glob | |
import os | |
source = sys.argv[1] | |
dest = sys.argv[2] | |
topic = sys.argv[3] |
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
Exception in thread "main" java.lang.RuntimeException: Method code too large! | |
at jdk.internal.org.objectweb.asm.MethodWriter.getSize(MethodWriter.java:2065) | |
at jdk.internal.org.objectweb.asm.ClassWriter.toByteArray(ClassWriter.java:856) | |
at jdk.nashorn.internal.codegen.ClassEmitter.toByteArray(ClassEmitter.java:577) | |
at jdk.nashorn.internal.codegen.CompilationPhase$8.transform(CompilationPhase.java:396) | |
at jdk.nashorn.internal.codegen.CompilationPhase.apply(CompilationPhase.java:513) | |
at jdk.nashorn.internal.codegen.Compiler.compile(Compiler.java:361) | |
at jdk.nashorn.internal.runtime.Context.compile(Context.java:1071) | |
at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:1019) | |
at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:490) |