Skip to content

Instantly share code, notes, and snippets.

View rdallasgray's full-sized avatar

Robert Dallas Gray rdallasgray

View GitHub Profile
file_paths = Dir::glob("{app,lib}/**/*.rb")
tokens = {}
MODULE_DEC_RE = /^(?:(?:\s|\t)*(?:module|class))\s+([\w]+)/
MODULE_METHODS_RE = /^(?:(?:\s|\t)+def\sself\.)([\w\?!]+)/
INSTANCE_METHODS_RE = /^(?:(?:\s|\t)+def\s(?!self\.))([\w\?!]+)/
CONSTANTS_RE = /^\s+([A-Z0-9_]+)(?:\s+=)/
puts Time.now

Keybase proof

I hereby claim:

  • I am rdallasgray on github.
  • I am rdg (https://keybase.io/rdg) on keybase.
  • I have a public key whose fingerprint is 45EB 0691 129C 8BE4 0C37 ED7C 8585 2773 CECC EC78

To claim this, I am signing this object:

SSH_DIR=${shell cd ~/.ssh; pwd}
IMAGE_NAME=my_image
IMAGE_VERSION=0.0.1
IMAGE_TAG=${IMAGE_NAME}:${IMAGE_VERSION}
CONTAINER_NAME=${IMAGE_NAME}-${IMAGE_VERSION}
build:
@docker build \
--tag "${IMAGE_TAG}" \
.;