Skip to content

Instantly share code, notes, and snippets.

View 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 C6A1 3403 32D1 F558 4177 21C7 05A9 45BA 0244 356D

To claim this, I am signing this object:

View gist:c97d8216aebd792d906ea76882b2326a
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
View mount-cloudshell.sh
#!/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.
View gist:e0195074ac3457861e4e13a8436af41c
pipeline {
agent {
kubernetes {
cloud 'kubernetes'
label 'bootkube-test'
containerTemplate {
name 'default'
image 'ubuntu:xenial'
ttyEnabled true
command 'cat'
View 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:

View gist:5144c1b49aeaf99885304d130df08098
#!/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"
View boot-azure-nixos.sh
#!/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"
View gist:a8fb9a4e3ae518ef9408b2b0280cd19d
[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 Apr 26, 2018 — forked from patientplatypus/my.yaml
Kubernetes yaml
View my.yaml
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: elmtreevueapp
labels:
app: elmtreevueapp
spec:
replicas: 1
selector:
matchLabels: