Skip to content

Instantly share code, notes, and snippets.

davidboothe / Dockerfile
Created Nov 16, 2018
Zsh Staging Dockerfile
View Dockerfile
# Staging Container
FROM node:8.12.0
# Set working directory
RUN mkdir /usr/src/app
WORKDIR /usr/src/app
# Add any global dependencies you need
# RUN npm install -g @angular/cli

General Controls

Rotate - MMB

Pan - Shift + MMB

Zoom - Mouse Scroll Wheel

davidboothe /
Last active Feb 1, 2017
Notes and commands from Deploying Rails with Docker, Kubernetes and ECS
# Start a new rails api project in your current directory
$ docker run -it --rm --user "$(id -u):$(id -g)" -v "$PWD":/usr/src/app -w /usr/src/app \
rails rails new --skip-bundle --api --database postgresql
$ cd webapp
$ docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app ruby:2.4 bundle install
davidboothe / checkbox.css
Last active Apr 18, 2016
Font Awesome circle check checkboxes
View checkbox.css
@import url(//;
/*** basic styles ***/
body { margin: 30px; }
h1 { font-size: 1.5em; }
label { font-size: 24px; }
div {
width: 175px;
margin-left: 20px;
View config _ rabbitmq.js
module.exports = function(rabbit, subscribeTo) {
return rabbit.configure({
connection: {
user: 'guest',
pass: 'guest',
server: [
port: 5672,
vhost: '%2f',