Skip to content

Instantly share code, notes, and snippets.

View undeadops's full-sized avatar

Mitch Anderson undeadops

View GitHub Profile

Keybase proof

I hereby claim:

  • I am undeadops on github.
  • I am undeadops (https://keybase.io/undeadops) on keybase.
  • I have a public key ASBKNn51w9FkqxiL8yzDNnF9bT2E_fChEpn1737dh6VLgQo

To claim this, I am signing this object:

@undeadops
undeadops / circle.yml
Last active September 20, 2017 20:49
Terraform circleci.yml
dependencies:
cache_directories:
- terraform_0.6.16
pre:
- mkdir -p terraform_0.6.16
- wget -O terraform_0.6.16/terraform_0.6.16_linux_amd64.zip https://releases.hashicorp.com/terraform/0.6.16/terraform_0.6.16_linux_amd64.zip
- unzip terraform_0.6.16/terraform_0.6.16_linux_amd64.zip
test:
override:
# Calculate Highest Class Average from student Average (exclude quizes)
### Data ###
> db.grades.findOne()
{
"_id" : ObjectId("50b59cd75bed76f46522c351"),
"student_id" : 0,
"class_id" : 16,
"scores" : [
{
"type" : "exam",
@undeadops
undeadops / Dockerfile
Created December 29, 2015 19:22
Blog Dockerfile
FROM debian:jessie
MAINTAINER Mitch Anderson "[email protected]"
RUN apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62
RUN echo "deb http://nginx.org/packages/mainline/debian/ jessie nginx" >> /etc/apt/sources.list
ENV NGINX_VERSION 1.9.9-1~jessie
RUN apt-get update && \
apt-get install -y ca-certificates nginx=${NGINX_VERSION} && \