Skip to content

Instantly share code, notes, and snippets.

View McFateM's full-sized avatar

Mark McFate McFateM

View GitHub Profile
@McFateM
McFateM / gist:271cbd668331f9c863a685da3d1ebe3f
Created August 31, 2020 15:20
Output from /utility-scripts/isle_drupal_build_tools && ./isle_islandora_installer.sh - August 31, 2020
╭─markmcfate@MAD25W812UJ1G9 ~/GitHub/dg-isle ‹ruby-2.3.0› ‹master›
╰─$ docker-compose up -d
Starting isle-portainer-ld ... done
Starting isle-mysql-ld ... done
Starting isle-proxy-ld ... done
Starting isle-solr-ld ... done
Starting isle-fedora-ld ... done
Starting isle-apache-ld ... done
Starting isle-images-ld ... done
╭─markmcfate@MAD25W812UJ1G9 ~/GitHub/dg-isle ‹ruby-2.3.0› ‹master›
@McFateM
McFateM / change-filenames.py
Last active July 22, 2020 18:40
Used in the Rootstalk project to sanitize filenames
import os
"""
Renames the filenames within the same directory to be Unix friendly
(0) Removes "Volume V, Issue 1, "
(1) Makes lowercase (not a Unix requirement, just looks better ;)
(2) Changes spaces, colons, apostrophes, underscores and exclaimation points to hyphens
(3) Removes commas and semi-colons
(4) Replaces doubled hyphens and doubled periods with singles
(5) Replaces ".-" with "-" and "-." with "."
@McFateM
McFateM / gist:16bbddb184e7e24ded70d12999ff1be1
Created June 10, 2020 00:34
5" Raspberry Pi Display QuickStart - Driver Installation
sudo rm -rf LCD-show
git clone https://github.com/goodtft/LDC-show.git
chmod -R 755 LCD-show
cd LCD-show
sudo ./LCD5-show
3cfe5f13cc1f2c9334c2283c909e6cfc111305597b6ddbf369e93464d935746a
Creating landing-page ... done
Creating traefik ... done
Attaching to traefik, landing-page
traefik | time="2020-05-19T11:20:32-04:00" level=info msg="Configuration loaded from file: /traefik.yml"
Dumping traefik.log...
time="2020-05-19T11:20:32-04:00" level=info msg="Traefik version 2.2.1 built on 2020-04-29T18:02:09Z"
time="2020-05-19T11:20:32-04:00" level=debug msg="Static configuration loaded {\"global\":{\"checkNewVersion\":true},\"serversTransport\":{\"maxIdleConnsPerHost\":200},\"entryPoints\":{\"http\":{\"address\":\":80\",\"transport\":{\"lifeCycle\":{\"graceTimeOut\":10000000000},\"respondingTimeouts\":{\"idleTimeout\":180000000000}},\"forwardedHeaders\":{},\"http\":{}},\"https\":{\"address\":\":443\",\"transport\":{\"lifeCycle\":{\"graceTimeOut\":10000000000},\"respondingTimeouts\":{\"idleTimeout\":180000000000}},\"forwardedHeaders\":{},\"http\":{}}},\"providers\":{\"providersThrottleDuration\":2000000000,\"docker\":{\"watch\"
@McFateM
McFateM / gist:bcc9bfcd79ba5f54d569cad4aaf30457
Created May 18, 2020 19:03
DGDocker3 Test 8 - DNS-01 Challenge with LE Production
3da51144c36469a9c714933a972f38e388476094da4959e9161b575036601b6c
Pulling traefik (traefik:2.2.1)...
2.2.1: Pulling from library/traefik
cbdbe7a5bc2a: Pull complete
f16506d32a25: Pull complete
2be216d464d0: Pull complete
aed51f08b610: Pull complete
Digest: sha256:ad4442a6f88cf35266542588f13ae9984aa058a55a518a87876e48c160d19ee0
Status: Downloaded newer image for traefik:2.2.1
Creating traefik ... done
@McFateM
McFateM / gist:b525152c822cdb3dd85d5214c06b1d8e
Last active May 18, 2020 18:55
DGDocker3 Test 7 - DNS-01 Challenge with LE Staging
b10d0e21122445a899dfe3fdbfef73a5982adcfd2ba8d8946b8dde124e098303
Pulling traefik (traefik:2.2.1)...
2.2.1: Pulling from library/traefik
cbdbe7a5bc2a: Pull complete
f16506d32a25: Pull complete
2be216d464d0: Pull complete
aed51f08b610: Pull complete
Digest: sha256:ad4442a6f88cf35266542588f13ae9984aa058a55a518a87876e48c160d19ee0
Status: Downloaded newer image for traefik:2.2.1
Creating traefik ... done
@McFateM
McFateM / gist:d504088f8df79ebf28bb70eec03500d8
Created May 18, 2020 17:57
Static Test 6 Log - HTTP-01 Challenge with LE Production
5956e1cf7a42c83691fc0e3fec04267b42e7860603c2b060804ea5e057d3e78b
Pulling traefik (traefik:2.2.1)...
2.2.1: Pulling from library/traefik
cbdbe7a5bc2a: Pull complete
f16506d32a25: Pull complete
2be216d464d0: Pull complete
aed51f08b610: Pull complete
Creating traefik ...
Pulling traefik (traefik:2.2.1)...
Creating traefik ... done
@McFateM
McFateM / gist:3f4bc94a6d1031debcf2dfbec305093b
Created May 18, 2020 17:06
Static Test 5 Log - DNS-01 Challenge with LE Staging
c345dd40b4435cb710eaf1fed3bf6c8eae1d61b711e94a77064e5c196c405943
Pulling traefik (traefik:2.2.1)...
2.2.1: Pulling from library/traefik
cbdbe7a5bc2a: Pull complete
f16506d32a25: Pull complete
2be216d464d0: Pull complete
aed51f08b610: Pull complete
Creating traefik ...
Pulling traefik (traefik:2.2.1)...
Creating traefik ... done
@McFateM
McFateM / gist:4ad29fa0a30e2a3fc5ef3b4b566a031a
Last active May 18, 2020 17:06
Static Test 3 Log - DNS-01 Challenge with LE Production
root@static:/opt/containers# ./restart.sh
440ddf714c8d66b833b0cba6c0541b8cf38e177a7cb2649759fee6a0ec59d7b2
Pulling traefik (traefik:2.2.1)...
2.2.1: Pulling from library/traefik
cbdbe7a5bc2a: Pull complete
f16506d32a25: Pull complete
2be216d464d0: Pull complete
aed51f08b610: Pull complete
Creating traefik ...
Pulling traefik (traefik:2.2.1)...
@McFateM
McFateM / acme.json
Created May 18, 2020 01:09
Example of acme.json w/ Valid Certs from HTTP-01 Challenge. Portions have been obfuscated.
{
"http": {
"Account": {
"Email": "digital@grinnell.edu",
"Registration": {
"body": {
"status": "valid",
"contact": [
"mailto:digital@grinnell.edu"
]