This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const knex = require('knex')({ | |
client: 'mariasql', | |
connection: { | |
host: '127.0.0.1', | |
database: 'queby_dev', | |
user: 'app', | |
password: 'abc123' | |
}, | |
migrations: { | |
tableName: 'knex_migrations' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Delete all containers | |
sudo docker rm $(sudo docker ps -a -q) | |
# Delete all images | |
sudo docker rmi $(sudo docker images -q) |