Skip to content

Instantly share code, notes, and snippets.

View scott45's full-sized avatar
🏠
Working from home

Scott scott45

🏠
Working from home
View GitHub Profile
@scott45
scott45 / README-Template.md
Created March 4, 2020 14:17 — forked from PurpleBooth/README-Template.md
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

@scott45
scott45 / gcloud_projects_list.output
Created April 15, 2019 12:01 — forked from shashyajoshi/gcloud_projects_list.output
Output of the gcloud projects list command in json format
$ gcloud projects list --format json
[
{
"createTime": "2018-07-02T14:13:29.262Z",
"labels": {
"app-name": "micro-svc-app",
"biz-unit": "it",
"env-name": "qa",
"owner": "john-smith"
},
@scott45
scott45 / docker-nfs-volumes.md
Created February 20, 2019 14:11 — forked from ruanbekker/docker-nfs-volumes.md
NFS Volumes with Docker Swarm

Create NFS Volumes:

Creating the NFS Volume:

$ docker volume create --driver local \
  --opt type=nfs \
  --opt o=addr=192.168.1.115,uid=1000,gid=1000,rw \
  --opt device=:/mnt/volumes/mysql-test \
  mysql-test-1
@scott45
scott45 / main.yml
Created February 3, 2019 15:42 — forked from evantahler/main.yml
CertBot + Ansible
# tasks/main.yml
- name: install certbot dependencies
apt: name={{ item }} state=present
with_items:
- build-essential
- libssl-dev
- libffi-dev
- python-dev
- git
@scott45
scott45 / SSL-certs-OSX.md
Created January 15, 2019 09:28 — forked from croxton/SSL-certs-OSX.md
Generate ssl certificates with Subject Alt Names

Generate ssl certificates with Subject Alt Names on OSX

Open ssl.conf in a text editor.

Edit the domain(s) listed under the [alt_names] section so that they match the local domain name you want to use for your project, e.g.

DNS.1   = my-project.dev

Additional FQDNs can be added if required:

Keybase proof

I hereby claim:

To claim this, I am signing this object: