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
@bradrydzewski
bradrydzewski / generate_docker_cert.sh
Last active Oct 11, 2019
Generate trusted CA certificates for running Docker with HTTPS
View generate_docker_cert.sh
#!/bin/bash
#
# Generates client and server certificates used to enable HTTPS
# remote authentication to a Docker daemon.
#
# See http://docs.docker.com/articles/https/
#
# To start the Docker Daemon:
#
# sudo docker -d \
@PurpleBooth
PurpleBooth / README-Template.md
Last active Oct 17, 2019
A template to make good README.md
View README-Template.md

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.

Prerequisites

@mateothegreat
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 <matthew@appsoa.io>
@mateothegreat
mateothegreat / Snippets for Docker.md
Last active Jul 15, 2016
Dockerfile & docker-compose.yml Snippets
View Snippets for Docker.md

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. -https://docs.docker.com/compose

@mateothegreat
mateothegreat / Jenkinsfile
Created Jun 5, 2018
Jenkins pipeline with k8/docker support
View Jenkinsfile
pipeline {
agent any
options {
disableConcurrentBuilds()
buildDiscarder(logRotator(numToKeepStr: '1'))
}
@mateothegreat
mateothegreat / install.sh
Created Oct 5, 2018
Install MySQL Top (mtop) on RHEL/CentOS
View install.sh
#!/bin/sh
curl -L -O https://sourceforge.net/projects/mtop/files/mtop/v0.6.6/mtop-0.6.6.tar.gz
tar -xvzf mtop-0.6.6.tar.gz
rm -rf mtop-0.6.6.tar.gz
cd mtop-0.6.6
yum install -y perl-devel cpan perl-DBD-MySQL
cpan force install Curses
You can’t perform that action at this time.