Skip to content

Instantly share code, notes, and snippets.

View ChrisRut's full-sized avatar

Chris Rutter ChrisRut

View GitHub Profile
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: GPGTools - https://gpgtools.org
mQINBFz/0lIBEACqClEmk4oI+tKB9OV2q0AKeDovC0Kn9KZzcKdWxOoigdbpEB0B
pQds4UkI59sZHQpXUHScTQWM8fFSKCUz3hQUW/m/N0bCDXJ1d2ev37G20XBxQ59t
mzsK61I23sl+dye6BqaV/X1JmJ0QxictXrNrzp0UvORdGLXPQFdqAg+FIRWjyPwp
M95XUiwYR8yoNK2DgMUCUGtsQbDAinOxH/NbZhteijZ3c9rE1dVrxeLelXxfvKUa
CHKrj25GgC3SB/QvPA4p6bCvnAi4LGeM21c1LZhqVIuWKcZyRDETfjTI/JMLqDYn
XyyU2bZepjRaqTpyTBwpjsiw/1vfFwwuAkuKNnXJ2a673MbXCC3SDISkSgIzzq5M
qgJAU+mmkurMIqTa3xjkADQh72uaJN/BSw0vKd8XU9UyCl/oQP9YmIM2WQq49H8S
@ChrisRut
ChrisRut / gist:1564bd2e2b28ec05c7066d38171f0c59
Last active September 24, 2018 19:04
Number of beers kevin owes me
Number of beers Kevin owes me: 2

Keybase proof

I hereby claim:

  • I am ChrisRut on github.
  • I am chrisrut (https://keybase.io/chrisrut) on keybase.
  • I have a public key whose fingerprint is 9695 C749 C8B7 B9E0 B1F5 1BFF BA36 2A69 5926 2D16

To claim this, I am signing this object:

@ChrisRut
ChrisRut / .bashrc
Created October 20, 2015 20:21 — forked from miracle2k/.bashrc
Convert an existing docker container into a "docker run" command line
# Convert an existing docker container into a "docker run" command line.
#
# This is useful when trying to debug containers that have been created
# by orchestration tools.
#
# Install jq: stedolan.github.io/jq/
function format_run() {
cid=$1
time="2015-08-14T17:24:37.975623745Z" level=debug msg="s3.List(\"/\")" instance.id=91a99d32-4614-4bdb-bd81-5c1280735c16 service=registry trace.duration=38.057658ms trace.file="/go/src/github.com/docker/distribution/registry/storage/driver/base/base.go" trace.func="github.com/docker/distribution/registry/storage/driver/base.(*Base).List" trace.id=058ad585-ede9-4ef7-9f65-cc3cca2ba2b7 trace.line=123 version=v2.1.1
time="2015-08-14T17:24:47.979415102Z" level=debug msg="s3.List(\"/\")" instance.id=91a99d32-4614-4bdb-bd81-5c1280735c16 service=registry trace.duration=40.840309ms trace.file="/go/src/github.com/docker/distribution/registry/storage/driver/base/base.go" trace.func="github.com/docker/distribution/registry/storage/driver/base.(*Base).List" trace.id=ef773c73-7daa-49e2-8ac3-939770c0c9bd trace.line=123 version=v2.1.1
time="2015-08-14T17:24:57.981647176Z" level=debug msg="s3.List(\"/\")" instance.id=91a99d32-4614-4bdb-bd81-5c1280735c16 service=registry trace.duration=44.094076ms trace.file="/go/src/github.com