Skip to content

Instantly share code, notes, and snippets.

View whoughton's full-sized avatar

Weston Houghton whoughton

  • nkast
  • New York, NY
View GitHub Profile
const knex = require('knex')({
client: 'mariasql',
connection: {
host: '127.0.0.1',
database: 'queby_dev',
user: 'app',
password: 'abc123'
},
migrations: {
tableName: 'knex_migrations'
/* the mixin */
@define-mixin size-and-height $size: 0 {
font-size: $size;
line-height: calc($size * 1.5);
}
/* the variable */
:root {
--font-h1: 3.2rem;
FROM ubuntu:precise
MAINTAINER Weston Houghton
# Let's update our apt-get first
RUN apt-get update
# install the python tools for package management
RUN apt-get install -y python-software-properties build-essential libmysqlclient-dev
# add the chris lea repository for redis and node
@whoughton
whoughton / docker aliases
Created March 22, 2014 16:11
quick aliases for docker removals
#!/bin/bash
# Delete all containers
sudo docker rm $(sudo docker ps -a -q)
# Delete all images
sudo docker rmi $(sudo docker images -q)