Skip to content

Instantly share code, notes, and snippets.

@davidboothe
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
View blender_hotkeys.md

General Controls

Rotate - MMB

Pan - Shift + MMB

Zoom - Mouse Scroll Wheel


@davidboothe
davidboothe / commands.sh
Last active Feb 1, 2017
Notes and commands from Deploying Rails with Docker, Kubernetes and ECS
View commands.sh
# 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
davidboothe / checkbox.css
Last active Apr 18, 2016
Font Awesome circle check checkboxes
View checkbox.css
@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);
/*** 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: [
process.env.RABBITMQ_HOSTNAME
],
port: 5672,
vhost: '%2f',