Skip to content

Instantly share code, notes, and snippets.

it ain't easy.

Matthew Davis mateothegreat

it ain't easy.
Block or report user

Report or block mateothegreat

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mateothegreat / github.api.gists.create.example
Created Jul 3, 2016
Demo using bash and cURL to create a gist with several files.
View github.api.gists.create.example
Book: <..>
Title: Show by example
Author: Matthew Davis <>
mateothegreat / Snippets for
Last active Jul 15, 2016
Dockerfile & docker-compose.yml Snippets
View Snippets for

Dockerfile & docker-compose.yml Snippets

Define your app’s environment with a Dockerfile so it can be reproduced anywhere.

####Build, Ship, Run. An open platform for distributed applications for developers and sysadmins.

Define the services that make up your app in docker-compose.yml so they can be run together in an isolated environment. Lastly, run docker-compose up and Compose will start and run your entire app. -

mateothegreat /
Created Jan 28, 2017
Prepare CentOS for Cloud9 ("c9") remote ssh workspace
# Prepare dependencies
sudo yum -y groupinstall "Development Tools" && \
sudo yum -y install ncurses-devel \
glibc-static &&
# Install Node Version Manager ("nvm")
curl -o- | bash &&
# Install node.js
nvm install v6.9.4 &&
mateothegreat / aws
Created Mar 4, 2017 — forked from QaDeS/aws
Grok patterns to parse AWS access logs
View aws
IAMUSERID %{NUMBER:iam_user_id}
IAMUSERNAME [a-zA-Z0-9._-]+
IAMUSER arn:aws:iam::%{IAMUSERID}:user/%{IAMUSERNAME:iam_user_name}
S3OP [a-zA-z]+
mateothegreat / .block
Created May 5, 2017 — forked from mbostock/.block
Radial Tidy Tree
View .block
license: gpl-3.0
border: no
height: 1060

install kubernetes 1.6 on centos 7.3

Install kubelet, kubeadm, docker, kubectl and kubernetes-cni

1. Install Yum Repo

cat <<EOF > /etc/yum.repos.d/kubernetes.repo
mateothegreat / get_uninstallable_programs.ps1
Created Jun 15, 2017
Get list of programs that can be uninstalled automatically.
View get_uninstallable_programs.ps1
PS C:\Windows\system32> New-PSDrive -Name Uninstall -PSProvider Registry -Root HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
PS C:\Windows\system32> dir Uninstall: | Get-ItemProperty -Name DisplayName, InstallDate, Publisher, InstallLocation, UninstallString, ModifyPath, EstimatedSize -ErrorAction SilentlyContinue | Sort-Object -Property DisplayName -ErrorAction SilentlyContinue
mateothegreat /
Created Aug 15, 2017 — forked from PurpleBooth/
A template to make good

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


mateothegreat /
Created Aug 31, 2017 — forked from JulienBreux/
Kubernetes term aliases
# Used to run minikube shortly
alias mk="minikube"
# Used to run kubectl shortly
alias k="kubectl"
# Used to get ...
alias kg="kubectl get"
# Used to get all pods
# Delete all containers
docker rm -f $(docker ps -a -q)
# Delete all images
docker rmi -f $(docker images -q)
You can’t perform that action at this time.