Skip to content

Instantly share code, notes, and snippets.

View chris-short's full-sized avatar

Chris "Not So" Short chris-short

View GitHub Profile

Keybase proof

I hereby claim:

  • I am chris-short on github.
  • I am chrisshort (https://keybase.io/chrisshort) on keybase.
  • I have a public key whose fingerprint is 66A3 0CC8 E1A6 0216 BEB2 3250 0210 E38F BFD2 3BF8

To claim this, I am signing this object:

Verifying that +chrisshort is my blockchain ID. https://onename.com/chrisshort
#!/usr/bin/env bash
#
# Python MAC OSX Librato Agent install script
# Version: 0.0.2
# Author: Librato
#
# run:
# curl -s "https://raw.githubusercontent.com/librato/python-librato-agent/master/sh/install.sh?" | bash
#
@chris-short
chris-short / devops-101.md
Last active May 23, 2017 15:15
A Night of DevOps - Open Source South Carolina

Intro

  1. Chris Short
  2. Global DevOps Engineer, SolarWinds MSP
  3. Triangle DevOps Organizer
  4. opensource.com and DZone Contributor
  5. DevOpsDays Speaker and Organizer
  6. Founder of DevOps'ish Newsletter
  7. chrisshort.net

What is DevOps?

sudo tee -a /etc/yum.repos.d/mongodb-org-3.4.repo << EOF
[mongodb-org-3.4]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/amazon/2013.03/mongodb-org/3.4/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-3.4.asc
EOF
@chris-short
chris-short / output.txt
Created November 22, 2017 11:38
Failing Azure A Record Creation
cshort@wile ~/r/chrisshort.net-dns> ansible-playbook site.yml -vvv
ansible-playbook 2.4.1.0
config file = /Users/cshort/repo/chrisshort.net-dns/ansible.cfg
configured module search path = [u'/Users/cshort/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /Library/Python/2.7/site-packages/ansible
executable location = /usr/local/bin/ansible-playbook
python version = 2.7.10 (default, Jul 15 2017, 17:16:57) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)]
Using /Users/cshort/repo/chrisshort.net-dns/ansible.cfg as config file
Parsed /Users/cshort/repo/chrisshort.net-dns/inventory/azure_rm.py inventory source with script plugin
[WARNING]: Could not match supplied host pattern, ignoring: all
Xvnc TigerVNC 1.9.0 - built Sep 25 2018 10:38:14
Copyright (C) 1999-2018 TigerVNC Team and many others (see README.rst)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12001000, The X.Org Foundation
Fri Mar 29 06:56:03 2019
vncext: VNC extension running!
vncext: Listening for VNC connections on all interface(s), port 5901
vncext: created VNC server for screen 0
[Unit]
Description=Remote desktop service (VNC)
After=syslog.target network.target
[Service]
Type=forking
WorkingDirectory=/home/cshort
User=cshort
Group=cshort
Building sites … WARN 2019/04/09 10:14:55 Page's .URL is deprecated and will be removed in a future release. Use .Permalink or .RelPermalink. If what you want is the front matter URL value, use .Params.url.
WARN 2019/04/09 10:14:55 Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function.
WARN 2019/04/09 10:14:55 Page's .RSSLink is deprecated and will be removed in a future release. Use the Output Format's link, e.g. something like:
{{ with .OutputFormats.Get "RSS" }}{{ . RelPermalink }}{{ end }}.
cshort@elmer ~/r/d/operatortainer> podman login registry.redhat.io
Username: cshort@redhat.com
Password:
Login Succeeded!
cshort@elmer ~/r/d/operatortainer> podman build -t quay.io/chrisshort/operatortainer:v0.0.3 .
STEP 1: FROM registry.access.redhat.com/ubi8/ubi
STEP 2: ENV OPERATOR=/usr/local/bin/ansible-operator USER_UID=1001 USER_NAME=ansible-operator HOME=/opt/ansible
--> Using cache e35b69a816c0057b43070ef94a730f9cb37aeace8f5f6879203e0799a1f83e66
STEP 3: FROM e35b69a816c0057b43070ef94a730f9cb37aeace8f5f6879203e0799a1f83e66
STEP 4: RUN yum install -y python-devel inotify-tools gcc && easy_install pip && pip install --no-cache-dir --upgrade setuptools && pip install --no-cache-dir ansible ansible-runner openshift ansible-runner-http idna==2.7 && yum remove -y python-devel gcc && yum clean all && rm -rf /var/cache/yum