Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am harageth on github.
  • I am harageth (https://keybase.io/harageth) on keybase.
  • I have a public key ASAwniLZnbUxsC_3QzRfo92hoTd9IOlT2Y0Czp9NJd45Zwo

To claim this, I am signing this object:

tbody td { white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
span.extra { font-size: 70%; opacity: 0.5; }
tr.small { color: #555; }
tr.medium { color: #550; }
tr.large { color: #a50;}
tr.huge { color: #f00; font-weight: bold;}
ul { padding: 0; margin: 0; }
li { list-style-type: none; font-family: sans-serif; padding: 0 1em; line-height: 2em;}
li:hover { background-color: #f95; }
.name { font-weight: bold;}
.type { opacity: 0.5; padding: 0 1em;}
.title { margin: 0.5em; font-size: 2em; }
.code { font-size: 16px; padding: 1em; font-family: "Ubuntu Mono", "DejaVu Sans Mono", "Liberation Mono", monospace;}
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8/r5zbn93DtdAMvnehv5uUaN58ZNcAi8AqPwGwKf4YofDZoXzlDhJSrqMMtXm3xgbhReUffmbRytQa/6zqvtgWJ5uBONdtgIjy6H2LICX6M3E/sUL6UMcd878tuAbORTnuJmD7j6fA/fhlk8cmt+BzlQBLHFiNTVZFbVucmc7En7kbZJ6aP6rd2vS4ahqg/m9YX/54YRWBjSZy1sm7uvSElaKpEBFylv83BIlGKYcOEfnvIG0gBhcUQJrJIXIhzabd5srgbNbN037vUdeWZQhGV3s9KYTXO990BaUsJqww5QI5f90lsBe2AKxy6z935ge5LWKj+0so5N2AE2zzDD6dBppmakEB880h8XWtb13gLu9iuz5bUTAwtSSec51haIqgKbSpqN2vuZ+olnnxqnlw1mfl1S+oLo5IxBTdGpbnILIg+3tVnH9USp2unRrpF6vG/mW5xmEYQG2goobViUH6SF3L90h1grBhu+FB7f6rxNeZruwCCjnT9IJ2wJ59MbSPI7O0J2BfBdcXH+DAyiRR/5i9yii8JZHfKsta+1hoErW9dOE4tsSnq5vvZt7JZh+3FL9l49a3bOCVJgaXa+9lXwrs/NoZxuluJKq+NtCrnj00tGbZUp749po+a3Y4lxoYRZ28P+8/EdYlS5x9KuSqeClLhV1cHTohYrgvL4+Nw== harageth@gmail.com
vagrant@dev-maas-dev-dev0:/opt/ele$ npm-v6.2.2 run integration-skip-flaky
> ele@0.1.0 integration-skip-flaky /opt/ele
> node ./tests/run-integration.js --skip-suite-flaky
regenerating version filez...
Error: Cannot find module 'strip-ansi'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
/opt/zookeeper/bin$ ./zkServer.sh start ../config/zookeeper.properties
/opt/kafka$ bin/kafka-server-start.sh config/server.properties
/opt/kafka$ $ bin/kafktopics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic flume-ingestor-test
/opt/kafka$ $ bin/kafktopics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic flume-aep-test
/opt/kafka$ bin/kafka-console-producer.sh --broker-list localhost:9092 --topic flu-aep-test
==> default:
==> default: [ivy:retrieve] :::: WARNINGS
==> default: [ivy:retrieve] [FAILED ] org.javassist#javassist;3.18.1-GA!javassist.jar(bundle): invalid sha1: expected=d9a09f7732226af26bf99f19e2cffe0ae219db5b computed=1153878fa3db0c164318521e8e77106f9099f4e5 (218ms)
==> default: [ivy:retrieve] [FAILED ] org.javassist#javassist;3.18.1-GA!javassist.jar(bundle): invalid sha1: expected=d9a09f7732226af26bf99f19e2cffe0ae219db5b computed=1153878fa3db0c164318521e8e77106f9099f4e5 (218ms)
==> default: [ivy:retrieve] ==== httpscentral: tried
==> default: [ivy:retrieve] https://repo1.maven.org/maven2/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar
==> default: [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
==> default: [ivy:retrieve] :: FAILED DOWNLOADS ::
==> default: [ivy:retrieve] :: ^ see resolution messages for details ^ ::
==> default:
@harageth
harageth / blah
Created September 21, 2017 20:12
package passByReference;
public class blah {
public static void main(String[] args) {
passByReference value = new passByReference(2);
System.out.println(value.value);
changeValueByReference(value);
System.out.println(value.value);
}
package passByReference;
public class passByReference {
int value;
public passByReference(int value) {
this.value = value;
}
}
test.sources = thriftSource
test.channels = fileChannel
test.sinks = outLogger
# A single thrift source to send to all channels
test.sources.thriftSource.type = thrift
test.sources.thriftSource.bind = localhost
test.sources.thriftSource.port = 7878
test.sources.thriftSource.threads = 20