Skip to content

Instantly share code, notes, and snippets.


Shane O'Grady shaneog

View GitHub Profile
aws_ecr_curl() {
login_cmd=$(aws ecr get-login)
username=$(echo "$login_cmd" | cut -d " " -f 4)
password=$(echo "$login_cmd" | cut -d " " -f 6)
endpoint=$(echo "$login_cmd" | cut -d " " -f 9)
unset 'args[${args_length}-1]'
shaneog / fb-ad-clean.js
Last active Oct 16, 2020
Clean Facebook Ad Preferences
View fb-ad-clean.js
// This script will remove all Interests and Advertisers from your Facebook profile
// Instructions
// Go to:
// Open the browser console
// Paste the following code into the console and execute it
shaneog /
Created Mar 20, 2018
GCE install for Buildkite Agent v3 (Beta)
#!/usr/bin/env bash
set -eo pipefail
DATE=$(date +%Y%m%d-%H%M%S)
# Builder Group
gcloud compute instance-templates create "${TEMPLATE_NAME}-builder" \
shaneog / nginx.yaml
Created May 23, 2017 — forked from mikejk8s/nginx.yaml
full nginx ingess + ssl
View nginx.yaml
apiVersion: v1
kind: Service
name: nginx-ingress
loadBalancerIP: xxxxxxx
type: LoadBalancer
# - port: 80
# name: http
# encoding: utf-8
# Based off the script from
# @author: Ash Ramesh (27/10/2016)
import cookielib
import urllib
import urllib2
import re
shaneog /
Created Oct 10, 2016 — forked from mlafeldt/
Example Postmortem from SRE book, pp. 487-491

Shakespeare Sonnet++ Postmortem (incident #465)




  • jennifer
  • martym
shaneog /
Last active Sep 22, 2016
My custom file
#/ Usage: bin/ [--debug]
#/ Install development dependencies on Mac OS X.
set -e
# Keep sudo timestamp updated while Strap is running.
if [ "$1" = "--sudo-wait" ]; then
while true; do
mkdir -p "/var/db/sudo/$SUDO_USER"
touch "/var/db/sudo/$SUDO_USER"
shaneog / toggle-alfred-theme.bash
Last active Jun 1, 2016 — forked from deanishe/toggle-alfred-theme.bash
Automatically toggle Alfred dark/light themes at sunset/sunrise. You need to edit the location settings before use.
View toggle-alfred-theme.bash
#!/bin/bash -e
# Wrapper for the script at
# (where this script also comes from)
# The purpose of this wrapper is to enable you to update the Python script
# without having to edit the script to change the settings each time. You keep
# them in here instead, and this script should hopefully prove dumb enough
# to require little updating...
View Trello product management in

Product management process with Trello

A Trello board is a software equivalent of a physical wall with columns of sticky notes. In Trello terminology, the wall is called a "board." The columns are called "lists." The sticky notes in columns are called "cards."

No two products are the same, so flexibility in the product management process is important. Trello responds well to changing the structure of the process "on the fly."


Docker Container Name

A one paragraph description about the container.

Getting Started

These instructions will cover usage information and for the docker container