Skip to content

Instantly share code, notes, and snippets.

Writing YAML + HCL and googling errors

Julien Bisconti veggiemonk

Writing YAML + HCL and googling errors
Block or report user

Report or block veggiemonk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
romkatv / Pure style for
Last active Oct 12, 2019
Pure style for Powerlevel10k
View Pure style for

Powerlevel10k can generate the same prompt as Pure given the right configuration options.



git clone ~/powerlevel10k
echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>! ~/.zshrc
echo 'source ~/powerlevel10k/config/p10k-pure.zsh' >>! ~/.zshrc
veggiemonk /
Last active Nov 15, 2018
Script for demo of Chaos Engineering with a service mesh
kubectl create clusterrolebinding cluster-admin-binding \
--clusterrole=cluster-admin \
--user=$(gcloud config get-value core/account)
# export PATH=$PWD/bin:$PATH
kubectl apply -f install/kubernetes/helm/istio/templates/crds.yaml
helm template install/kubernetes/helm/istio --name istio --namespace istio-system \
leidegre / channel-test.js
Created Aug 21, 2018
Go channel abstraction for JavaScript
View channel-test.js
const { default: Channel } = require("./channel");
const timeout = 100;
async function unbuffered() {
const xs = [];
var ch = new Channel();
setTimeout(async () => {
alexellis / job.yaml
Last active Jun 26, 2019
Use a Kubernetes Job and Kaniko to build an OpenFaaS function from Git
View job.yaml
# Alex Ellis 2018
# Example from:
# Pre-steps:
# kubectl create secret generic docker-config --from-file $HOME/.docker/config.json
# Other potential optimizations (suggested by @errordeveloper)
# - Store "templates" in a permanent volume
# - Download source via "tar" instead of git clone
alexellis /
Last active Oct 8, 2019
Getting started with Istio + OpenFaaS

Deploy Istio on GKE

Set up 1-3 GKE nodes with Kubernetes 1.10.5

Turn off Calico/NetworkPolicy

Install the Istio CLI

Use helm to install Istio into your cluster using the "webhook admission controller"

lizrice / Vagrantfile
Last active Oct 14, 2019
Vagrant file for setting up a single-node Kubernetes cluster that I can access from my desktop. Read more:
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# This script to install Kubernetes will get executed after we have provisioned the box
$script = <<-SCRIPT
# Install kubernetes
apt-get update && apt-get install -y apt-transport-https
curl -s | apt-key add -
cat <<EOF >/etc/apt/sources.list.d/kubernetes.list
enricofoltran / main.go
Last active Oct 15, 2019
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
View main.go
package main
import (
ryanj / Developing-Locally-with-Kubernetes.html
Last active Jun 2, 2018
Developing Locally with Kubernetes from #Kubecon2017 in Austin, TX
View Developing-Locally-with-Kubernetes.html
<section id="at-Kubecon-2017">
<img style="width:100%" src="" alt="Developing Locally with Kubernetes -" />
<a href=""></a>
<section data-background-transition='fade' data-background='black' id='presented-by-ryanj'>
<p>presented by <a href="">@ryanj</a>, Developer Advocate at Red Hat</p>
<p class='fragment fade-up'><a href=""><img alt="ryanj" src="" style="width:48%"/></p>
jessfraz / boxstarter.ps1
Last active Oct 16, 2019
Boxstarter Commands for a new Windows box.
View boxstarter.ps1
# Description: Boxstarter Script
# Author: Jess Frazelle <>
# Last Updated: 2017-09-11
# Install boxstarter:
# . { iwr -useb } | iex; get-boxstarter -Force
# You might need to set: Set-ExecutionPolicy RemoteSigned
# Run this boxstarter by calling the following from an **elevated** command-prompt:
You can’t perform that action at this time.