Skip to content

Instantly share code, notes, and snippets.


Robert Estelle rwe

View GitHub Profile
rwe /
Last active May 7, 2020
Account moved from erydo to rwe: update proof.

Keybase proof

I hereby claim:

  • I am rwe on github.
  • I am rwe ( on keybase.
  • I have a public key ASDcu8TOQgRhszifWLt_9cteG9Td3YIQg9lvXBs1pt9DHQo

To claim this, I am signing this object:

rwe / psqltmp
Last active May 16, 2019
Run an ephemeral Postgres container and connect to it
View psqltmp
set -Eeu -o pipefail
psqltmp() {
set -Eeu -o pipefail
local _pgcmd
rwe / keybase-gpg
Created Jan 22, 2018
GPG with a keybase user's public key
View keybase-gpg
set -Eeu -o pipefail
# Runs `gpg` with a keybase user's public key as the recipient.
# First argument is keybase username. Remaining arguments are passed to gpg -r xxx …
die() {
echo "$@" >&2
exit 127
rwe / cleanup-unused-security-groups
Created Jan 5, 2016
Interactively clean up unused VPC security groups.
View cleanup-unused-security-groups
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import boto
import readline # noqa: W0611
def p(string):
rwe / affirmation
Created Dec 10, 2015
MuleSoft Contributor Agreement Acceptance by Robert Estelle
View affirmation
I, Robert Estelle, have read and do accept the MuleSoft Contributor Agreement
Accepted on Thu Dec 10 2015 14:26:07 GMT-0500 (COT)
rwe / funcgen.lisp
Last active Aug 29, 2015
Random Function Generator
View funcgen.lisp
;;; Robert Estelle 23 Aug 2014
(defun random-elt (&rest lists)
; Return random element from lists
(let ((combined (apply #'concatenate 'list lists)))
(elt combined (random (length combined)))))
(defun funwith (fn num-args vars ops max-op-depth)
; Generate a random operation with the given function `fn` which takes
; `num-args` arguments. The scalar variables `vars` may be used, or any of