Skip to content

Instantly share code, notes, and snippets.

@gregdhill
gregdhill / pi-display.sh
Last active November 18, 2018 10:08
Raspberry Pi Display
#!/bin/bash
# Instructions
# ------------
# 1) Install Raspbian w/ LXDE
# 2) Boot Image
# 3) Configure Auto-Login
# 4) `curl ${RAW_GIST_URL} | bash`
# 5) Reboot & Attach Media
@gregdhill
gregdhill / kgn.sh
Created October 24, 2018 13:27
Point to your kube context's namespace.
kgn () {
current_namespace=$(kubectl config get-contexts --no-headers | awk '{print $5}')
kubectl get namespaces | awk '{if ($0 ~ /'"$current_namespace"'/) { print $0, "\t<-----" } else { print $0 }}'
}

Keybase proof

I hereby claim:

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

To claim this, I am signing this object: