Skip to content

Instantly share code, notes, and snippets.

View greglook's full-sized avatar

Greg Look greglook

View GitHub Profile
@greglook
greglook / keybase.md
Created July 14, 2015 05:34
Identity assertion for keybase.io

Keybase proof

I hereby claim:

  • I am greglook on github.
  • I am greglook (https://keybase.io/greglook) on keybase.
  • I have a public key whose fingerprint is 35D7 4A91 1309 1780 3681 8E53 5035 3610 D088 96A0

To claim this, I am signing this object:

@greglook
greglook / resume.md
Last active April 10, 2016 02:10
Current Resume

Gregory K. Look

Skills

401(k) Penalty Calculation

Given:

  • x starting contribution
  • t marginal tax rate
  • n number of compounding periods (years)
  • g compounding growth per period
  • p early-withdrawal penalty
@greglook
greglook / terraform-rc.sh
Last active November 11, 2016 19:44
Don't burn the world down.
terraform() {
case $1 in
apply)
echo "Remember what happened last time? Use 'terraform NO-REALLY-APPLY' to proceed." >&2
return 99
@greglook
greglook / sg-diff
Created July 27, 2018 23:11
Render Terraform AWS security group diffs for humans
#!/usr/bin/env ruby
# Better Terraform security group diffing. Feed the terraform resource diff
# output into this script's standard input.
SGR_ANSI = "\e[%sm"
SGR_CODES = {
none: 0,
bold: 1,
@greglook
greglook / deps.edn
Last active November 18, 2022 18:48
Clojure rebel-readline customizations
{:paths ["src" "resources"]
,,,
:aliases
{;; For a basic clojure REPL with an initial namespace and pretty-printing:
;; clj -M:repl
:repl
{:extra-paths ["dev" "test"]
:extra-deps {org.clojure/tools.namespace {:mvn/version "1.3.0"}