Skip to content

Instantly share code, notes, and snippets.

View christian-posta's full-sized avatar

Christian Posta christian-posta

View GitHub Profile
@christian-posta
christian-posta / Dockerfile
Last active December 23, 2017 16:32 — forked from jmprusi/Dockerfile
Building Istio dockers from macOS
FROM ubuntu:xenial
# This Dockerfile has been taken from:
# https://github.com/nmnellis/istio/blob/access-logging/ci/Dockerfile
RUN apt-get update \
&& apt-get install -y openjdk-8-jdk make libtool m4 autoconf uuid-dev cmake golang-go curl python python-pip git \
&& curl -L -O http://storage.googleapis.com/bazel-apt/pool/jdk1.8/b/bazel/bazel_0.8.0_amd64.deb \
&& dpkg -i bazel_0.8.0_amd64.deb || true \
&& apt-get -f install -y \
#!/bin/bash
MINIKUBE_VERSION=0.8.0
KUBECTL_VERSION=1.3.4
GOFABRIC8_VERSION=0.4.45
MAVEN_VERTSION=3.3.9
QUICKSTART_VERSION=2.2.164
function getMinikube {
if [[ "$OSTYPE" == "linux-gnu" ]]; then
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v$MINIKUBE_VERSION/minikube-linux-amd64
@christian-posta
christian-posta / kafka.md
Created February 29, 2016 20:52 — forked from ashrithr/kafka.md
kafka introduction

Introduction to Kafka

Kafka acts as a kind of write-ahead log (WAL) that records messages to a persistent store (disk) and allows subscribers to read and apply these changes to their own stores in a system appropriate time-frame.

Terminology:

  • Producers send messages to brokers
  • Consumers read messages from brokers
  • Messages are sent to a topic
FROM scratch
MAINTAINER Kelsey Hightower <kelsey.hightower@gmail.com>
ADD inspector inspector
ADD css css
ENTRYPOINT ["/inspector"]

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname