Skip to content

Instantly share code, notes, and snippets.

jcollie /
Created July 31, 2020 16:25
cialug regexes
import sys
import re
line_re = re.compile(r'^((?:\d+m)?\d+s)\s+(\S+)\s+(\S+)\s+(\S+)\s+(.*?)(?=(?:\d+m)?\d+s|\Z)', re.MULTILINE | re.DOTALL)
data =
start = 0
while start < len(data):
match =, start)
jcollie / celery-broker-deployment.yaml
Last active July 28, 2021 12:05
Mayan EDMS deployment on Kubernetes
apiVersion: apps/v1
kind: Deployment
name: celery-broker
namespace: mayan
replicas: 1
type: Recreate
jcollie / rbd-map-rbd-svr03-pgsql.service
Last active March 14, 2019 19:57
systemd services to map RADOS block devices and mount a filesystem
Description=Map RBD disk svr03-pgsql
ExecStart=/usr/bin/rbd map --pool rbd svr03-pgsql
jcollie /
Created August 20, 2016 17:35
script for building fedora appc container
# Download Fedora Docker base image from:
set -e

Keybase proof

I hereby claim:

  • I am jcollie on github.
  • I am jcollie ( on keybase.
  • I have a public key whose fingerprint is A8CF 5B72 ABC3 9A17 3FEA 620E 6F86 035A 6D97 044E

To claim this, I am signing this object:

jcollie / commands
Created May 5, 2016 22:45 integration with openHAB via IFTTT and my.openHAB
curl -X POST -H "Content-Type: text/plain" -d ON http://localhost:8080/rest/items/ring_front_door_motion
curl -X POST -H "Content-Type: text/plain" -d ON http://localhost:8080/rest/items/ring_front_door_ring
jcollie / master
Created August 28, 2013 20:29
Pull information out of SolarWinds and configure RANCID
- user: rancid
- group: rancid
- mode: 0750
- require:
- pkg: rancid
- user: rancid
- group: rancid