Skip to content

Instantly share code, notes, and snippets.


Justin Garrison rothgar

View GitHub Profile
toricls / app-runner-template.yml
Created May 19, 2021
AWS App Runner CloudFormation Template generated using AWS Copilot
View app-runner-template.yml
# Copyright Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
AWSTemplateFormatVersion: 2010-09-09
Description: CloudFormation template that represents a request driven web service on AWS App Runner.
Type: String
Type: String
dims /
Last active Jun 17, 2021
Kubernetes Resources
View plot.awk
#!/usr/bin/awk -f
# This program is a copy of guff, a plot device.
# My copy here is written in awk instead of C, has no compelling benefit.
# Public domain. @thingskatedid
# Run as awk -v x=xyz ... or env variables for stuff?
# Assumptions: the data is evenly spaced along the x-axis
# TODO: moving average
View samizdat-shell-help.bash
### my-script — does one thing well
### Usage:
### my-script <input> <output>
### Options:
### <input> Input file to read.
### <output> Output file to write. Use '-' for stdout.
arhea / eksctl.yml
Last active Jun 15, 2020
Forwarding Logs to Cloudwatch Using Firelens
View eksctl.yml
kind: ClusterConfig
name: logging-demo-cluster
region: us-east-2
cidr: ""
mhausenblas /
Last active Mar 23, 2021
Scripting EKS on ARM

EKS on Arm

The script allows you to install and use Amazon EKS on Arm (xARM) with a single command. In essence, it automates the steps described in the docs.

Make sure you have aws, eksctl, kubectl, and jq installed, this will be checked on start-up and the script will fail if these deps are not present. So far tested with bash on macOS.

$ chmod +x
$ ./
hamidzr /
Last active May 27, 2021
Lenovo Carbon X1 Gen 7 - Audio and microphone fix - might be all you need.
# README You probablyl don't need this script anymore. Please read the comments below to catch up.
## Description
# Lenovo Carbon X1 Gen 7 - Audio and microphone fix - kernel 5.3+ required.
# The script has only been tested for Arch and OpenSuse,
# Original thread:
# Prereq: Install Linux 5.3 or newer
jedi4ever /
Last active Jul 26, 2020
Pulimi feedback


  • did brew install pulumi, installed 1.0.0 , running it keeps nagging about brew upgrade to 1.0.1
  • I wonder if there is a phone-home option, then it needs an optional opt-out
  • I'd expect pulumi init instead of new
  • pulumi needs documentation on the bootstrap for the state bucket (correct permissions)
  • pulumi login defaults to the saas platform, and says alternative logins available. not too clear , a select local would be nice
  • also the path where is stores the files should be asked for during installation
  • pulumi new --secrets-provider=passphrase (default I assume) has no way to initialize the secret from the CLI (like reading it from stdin or file)
  • why is bin in .gitignore (because typescript compiles in ./bin)
View clusters.makefile
# Cluster management tools.
# See for updates and documentation.
export CLUSTER_NAME ?= $(shell cat tmp/current 2>/dev/null || echo $$(whoami)-dev)
export MACHINE_TYPE ?= n1-standard-2
export DISK_SIZE ?= 100
export MAX_NODES ?= 10
export NETWORK ?= dev
export PROJECT ?= foobar
export VERSION ?= latest
charles-rumley /
Created May 28, 2019
Use stored 1Password credentials to authenticate a Cisco AnyConnect VPN client
#!/usr/bin/env bash
# Prerequisites
# Download the 1Password CLI tool
# brew cask install 1password-cli
# Before using this script, you'll need to authenticate the 1Password
# CLI for the first time. Use the following command, replacing