Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am colemickens on github.
  • I am colemickens (https://keybase.io/colemickens) on keybase.
  • I have a public key whose fingerprint is C6A1 3403 32D1 F558 4177 21C7 05A9 45BA 0244 356D

To claim this, I am signing this object:

provider "google" {
credentials = "${file("~/.credentials/gcp.json")}"
project = "cookie-monster-america"
region = "us-west1"
}
module "google-cloud-yoyo" {
source = "../../google-cloud/container-linux/kubernetes"
# Google Cloud
#!/usr/bin/env bash
set -xeu
echo "No, really, don't do this."
exit -1
# !!!
# This will likely corrupt your Azure Cloud Shell stateful home directory.
# You should not do this with a Cloud Shell (or Azure File Share) that you care about.
pipeline {
agent {
kubernetes {
cloud 'kubernetes'
label 'bootkube-test'
containerTemplate {
name 'default'
image 'ubuntu:xenial'
ttyEnabled true
command 'cat'
@colemickens
colemickens / keybase.md
Created March 21, 2018 06:19
keybase.md

Keybase proof

I hereby claim:

  • I am colemickens on github.
  • I am colemickens (https://keybase.io/colemickens) on keybase.
  • I have a public key whose fingerprint is 8A94 ED58 A476 A13A E0D6 E85E 9758 078D E530 8308

To claim this, I am signing this object:

#!/usr/bin/env bash
F="${HOME}/.secretz/azure.sh"; [[ -f "${F}" ]] && source "${F}"
set -x
set -euo pipefail
PREFIX="colemick-nixosdev"
RG="${PREFIX}-rg"
VNET="${PREFIX}-vnet"
DISK="${PREFIX}-disk"
#!/usr/bin/env bash
F="${HOME}/.secretz/azure.sh"; [[ -f "${F}" ]] && source "${F}"
set -x
set -euo pipefail
#SOURCE="https://nixos.blob.core.windows.net/images/nixos-image-16.03.847.8688c17-x86_64-linux.vhd"
#TARGET="nixos-image-azure-16.03.847.8688c17-x86_64-linux.vhd"
SOURCE="https://nixos.blob.core.windows.net/images/nixos-unstable-nixops.vhd"
[cole@colemick-nixosdev1:/etc]$ sudo nixos-rebuild switch --upgrade
unpacking channels...
warning: Nix search path entry ‘/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs’ does not exist, ignoring
@colemickens
colemickens / my.yaml
Last active April 26, 2018 05:39 — forked from patientplatypus/my.yaml
Kubernetes yaml
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: elmtreevueapp
labels:
app: elmtreevueapp
spec:
replicas: 1
selector:
matchLabels: