Skip to content

Instantly share code, notes, and snippets.

@dev-head
dev-head / README.md
Created Apr 14, 2020
Search EC2 User Data
View README.md

Search EC2 User Data

Description

Used to find instances that contain user data which matches the provided grep_pattern.

Purpose

This was created because I needed an easy way to search all hosts for specific user data.

@dev-head
dev-head / README.md
Created Jan 8, 2020
Install PHP Dependencies Via Composer and Docker
View README.md

Install PHP Dependencies Via Composer and Docker

  • Install PHP Compose dependencies locally, assuming current directory has a composer.json file already defined.
  • This will run through the install and save the vendors/ directory in your current working directly.
  • This is useful when you don't have the required php or composer version or just want to ensure you don't muck up your local with any odd requirements.
docker run --rm \
@dev-head
dev-head / README.md
Created Jan 8, 2020
Install Change Terraform Utility :: HomeBrew
View README.md

Install Change Terraform Utility

Install

brew tap Yleisradio/terraforms
brew install chtf
@dev-head
dev-head / Dockerfile
Last active May 20, 2020
Looker : Docker : Docker Compose : Staging
View Dockerfile
FROM ubuntu:16.04
RUN echo "[INFO]::[installing]::[base packages]" \
&& apt-get update \
&& apt-get install -y --no-install-recommends --no-install-suggests \
software-properties-common libssl-dev libmcrypt-dev openssl ca-certificates \
git ntp curl tzdata bzip2 libfontconfig1 phantomjs mysql-client sudo jq \
&& apt-get autoclean && apt-get clean && apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/*
RUN echo "[INFO]::[installing]::[java packages]" \
You can’t perform that action at this time.