Skip to content

Instantly share code, notes, and snippets.

it ain't easy.

Matthew Davis mateothegreat

it ain't easy.
View GitHub Profile
mateothegreat /
Created Mar 14, 2018 — forked from yoavniran/
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai and Sinon

The Ultimate Unit Testing Cheat-sheet

For Mocha, Chai and Sinon

using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies

mateothegreat /
Created Nov 23, 2017 — forked from bradrydzewski/
Generate trusted CA certificates for running Docker with HTTPS
# Generates client and server certificates used to enable HTTPS
# remote authentication to a Docker daemon.
# See
# To start the Docker Daemon:
# sudo docker -d \
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
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.



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 / .block
Created May 5, 2017 — forked from mbostock/.block
Radial Tidy Tree
View .block
license: gpl-3.0
border: no
height: 1060
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]+
You can’t perform that action at this time.