Skip to content

Instantly share code, notes, and snippets.

@hhoover
hhoover / DockerComposeInstall.md
Last active July 28, 2023 06:09 — forked from deirdre-anderson/DockerComposeInstall.md
Sample Docker Compose for a Kong EE insallation

Local Kong EE Install with Docker-compose

Before

  • Confirm you have Docker and Docker compose installed

  • Create a environment var for you Kong License, KONG_LICENSE_DATA

  • Create a file with your json license

  • Create your environment variable KONG_LICENSE_DATA from the above file

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

function powerline_precmd() {
PS1="$($GOPATH/bin/powerline-go -newline -modules docker,kube,aws,git,venv,ssh,cwd,perms,hg,jobs,exit,root,vgo -error $? -shell zsh -mode flat)"
}
function install_powerline_precmd() {
for s in "${precmd_functions[@]}"; do
if [ "$s" = "powerline_precmd" ]; then
return
fi
done
html, body {
height: 100%;
}
body {
padding-top: 55px;
display: flex;
text-align: center;
flex-direction: column;
}
@hhoover
hhoover / kind-config.yaml
Created July 31, 2019 17:30
kind configs
kind: Cluster
apiVersion: kind.sigs.k8s.io/v1alpha3
nodes:
- role: control-plane
- role: worker
- role: worker
@hhoover
hhoover / customize.sh
Created February 23, 2018 03:29
Raspberry Pi K8S disks
#!/bin/bash
set -x
# Localse, uncomment if user-data didn't fix these
export LANGUAGE=en_US.UTF-8; export LANG=en_US.UTF-8; export LC_ALL=en_US.UTF-8; locale-gen en_US.UTF-8
# Set locale to en_US.UTF-8
sudo cp /etc/locale.gen /etc/locale.gen.dist
sudo sed -i -e "/^[^#]/s/^/#/" -e "/en_US.UTF-8/s/^#//" /etc/locale.gen
@hhoover
hhoover / make-ics.py
Last active October 21, 2016 14:58 — forked from dstanek/make-ics.py
Create a personalized iCal for the OpenStack Newton Summit schedule
#!/usr/bin/env python3
# Download https://www.openstack.org/summit/barcelona-2016/summit-schedule/mine/?goback=1
# to mine.html and then run this script. The my.ics can be imported into your
# calendar.
#
# Common problems:
# - i've only tested against my calendar (and got feedback about bugs from others) so
# so you may find the parsing isn't quite right
@hhoover
hhoover / .kitchen.local.yml
Created January 20, 2014 22:02
Test-Kitchen files for Rackspace (chef training)
driver_config:
rackspace_username: USERNAME
rackspace_api_key: APIKEY
public_key_path: /root/.ssh/id_rsa.pub
@hhoover
hhoover / Vagrantfile
Last active January 3, 2016 22:29
Vagrantfile for Chef Dev Bastion
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure('2') do |config|
config.vm.box = 'dummy'
config.vm.box_url = 'https://github.com/mitchellh/vagrant-rackspace/raw/master/dummy.box'
config.vm.provision 'shell', inline: <<-EOF
apt-get update
apt-get -y install curl git vim zlib1g-dev libssl-dev libreadline6-dev libyaml-dev libxml2-dev libxslt-dev build-essential
@hhoover
hhoover / Berksfile
Last active December 25, 2015 17:09
Copy/paste for chef class
site :opscode
cookbook 'apt'
cookbook 'build-essential'
cookbook 'python'
metadata