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
Terraform v0.5.2 | |
Your version of Terraform is out of date! The latest version | |
is 0.5.3. You can update by downloading from www.terraform.io | |
Josephs-MacBook-Pro:aws joestein$ cat crash.log | |
2015/06/24 01:01:51 [INFO] Terraform version: 0.5.2 4ed2c8d956d2eae83a2a3750290711ce7fa1ec76+CHANGES | |
2015/06/24 01:01:51 [DEBUG] Discovered plugin: atlas = /opt/cisco/edge-test/reference/infrastructure/aws/terraform-provider-atlas | |
2015/06/24 01:01:51 [DEBUG] Discovered plugin: aws = /opt/cisco/edge-test/reference/infrastructure/aws/terraform-provider-aws | |
2015/06/24 01:01:51 [DEBUG] Discovered plugin: cloudflare = /opt/cisco/edge-test/reference/infrastructure/aws/terraform-provider-cloudflare | |
2015/06/24 01:01:51 [DEBUG] Discovered plugin: cloudstack = /opt/cisco/edge-test/reference/infrastructure/aws/terraform-provider-cloudstack |
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
#!/bin/sh | |
sudo apt-get -y update | |
sudo apt-get install -y software-properties-common python-software-properties curl wget git screen ntp | |
sudo ntpq -p | |
sudo add-apt-repository -y ppa:webupd8team/java | |
sudo apt-get -y update | |
sudo /bin/echo debconf shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections | |
sudo apt-get -y install oracle-java7-installer oracle-java7-set-default |
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 | |
import sys | |
nodesLeadingPartitions = {} | |
nodesLeadingPartitionsForTopic = {} | |
currentTopicName = "" | |
for line in sys.stdin: |
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
Producer | |
Setup | |
bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test-rep-one --partitions 6 --replication-factor 1 | |
bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test --partitions 6 --replication-factor 3 | |
Single thread, no replication | |
bin/kafka-run-class.sh org.apache.kafka.clients.tools.ProducerPerformance test7 50000000 100 -1 acks=1 bootstrap.servers=esv4-hcl198.grid.linkedin.com:9092 buffer.memory=67108864 batch.size=8196 |
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
03:25:31.764 [DEBUG] [org.gradle.api.internal.project.ant.AntLoggingAdapter] +Datatype fsc scala.tools.ant.FastScalac |
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
03:26:41.036 [INFO] [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:scaladoc] model contains 0 documentable templates | |
03:27:03.129 [WARN] [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:scaladoc] java.lang.UnsupportedOperationException: Position.point | |
03:27:03.139 [WARN] [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:scaladoc] at scala.tools.nsc.util.Position$class.point(Position.scala:88) | |
03:27:03.139 [WARN] [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:scaladoc] at scala.tools.nsc.util.NoPosition$.point(Position.scala:196) | |
03:27:03.140 [WARN] [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:scaladoc] at scala.tools.nsc.util.Position$class.startOrPoint(Position.scala:85) | |
03:27:03.140 [WARN] [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:scaladoc] at scala.tools.nsc.util.NoPosition$.startOrPoint(Position.scala:196) | |
03:27:03.141 [WARN] [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:scaladoc] at scala.tools.nsc.d |
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
// I was reading through these examples: http://apocalisp.wordpress.com/2010/06/08/type-level-programming-in-scala/ | |
// and I thought it would be nice to more quickly get to something useful, to show the power of the techniques. | |
object SizedListExample { | |
// Type of all Non-negative integers | |
sealed trait Nat | |
// This is zero. | |
sealed trait _0 extends Nat | |
// Successor to some non-negative number | |
sealed trait Succ[N <: Nat] extends Nat |
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
Joes-MacBook-Air:~ joestein$ cat .ssh/config | |
Host * | |
ServerAliveInterval 1440 |
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
Index: lib/sbt-launch.jar | |
=================================================================== | |
Cannot display: file marked as a binary type. | |
svn:mime-type = application/octet-stream | |
Index: project/plugins/Plugins.scala | |
=================================================================== | |
--- project/plugins/Plugins.scala (revision 1338516) | |
+++ project/plugins/Plugins.scala (working copy) | |
@@ -1,23 +0,0 @@ | |
-/** |
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
Josephs-MacBook-Pro:~ josephstein$ cat test | |
1,,2 | |
1,1,2 | |
Josephs-MacBook-Pro:~ josephstein$ cat test |sort | |
1,,2 | |
1,1,2 | |
[root@megatron joestein]# cat test | |
1,,2 | |
1,1,2 |