Skip to content

Instantly share code, notes, and snippets.

View mateothegreat's full-sized avatar
🤘
it ain't easy.

Matthew Davis mateothegreat

🤘
it ain't easy.
View GitHub Profile
@PurpleBooth
PurpleBooth / README-Template.md
Last active April 18, 2024 00:56
A template to make good README.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

@bradrydzewski
bradrydzewski / generate_docker_cert.sh
Last active March 12, 2024 17:00
Generate trusted CA certificates for running Docker with HTTPS
#!/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 \
@mateothegreat
mateothegreat / install.sh
Created October 5, 2018 19:53
Install MySQL Top (mtop) on RHEL/CentOS
#!/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
@mateothegreat
mateothegreat / Jenkinsfile
Created June 5, 2018 05:48
Jenkins pipeline with k8/docker support
pipeline {
agent any
options {
disableConcurrentBuilds()
buildDiscarder(logRotator(numToKeepStr: '1'))
}
@mateothegreat
mateothegreat / Snippets for Docker.md
Last active July 15, 2016 17:18
Dockerfile & docker-compose.yml Snippets

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 / github.api.gists.create.example
Created July 3, 2016 16:43
Demo using bash and cURL to create a gist with several files.
Book: <..>
Title: Show by example
Author: Matthew Davis <matthew@appsoa.io>