Skip to content

Instantly share code, notes, and snippets.


Steve Smythe ssmythe

View GitHub Profile
ssmythe /
Created Nov 15, 2021
pip install ignore cert
pip install --trusted-host --trusted-host --trusted-host <package_name>
ssmythe / gist:1b44f58b97624842529179a11d821a38
Last active Mar 23, 2020 — forked from kylefox/gist:4512777
If you want to use diffmerge as your git mergetool, this is how you set it up.
View gist:1b44f58b97624842529179a11d821a38
# Install diffmerge on macOS
brew cask install diffmerge
# Set "diffmerge" as the default difftool globally:
git config --global diff.tool diffmerge
# Set "diffmerge" as the default mergetool globally:
git config --global merge.tool diffmerge
ssmythe / git_lga.txt
Last active Mar 23, 2020
Handy git log oneliner alias to show pretty graphs
View git_lga.txt
git config --global alias.lga "log --graph --oneline --all --decorate"
View gomplate_output_map_example.txt
# templates/hello.tmpl
Hello, {{ .users.Name }}
# config.json
"Name": "Steve"
ssmythe / jenkins_kubernetes_setup.txt
Last active Feb 20, 2021
Jenkins Kubernetes Setup
View jenkins_kubernetes_setup.txt
Configure Global Security
TCP port for inbound agents: 50000
Configure System
Main config
ssmythe / homebrew.mxcl.jenkins.plist
Last active May 17, 2019
jenkins brew /usr/local/opt/jenkins/homebrew.mxcl.jenkins.plist
View homebrew.mxcl.jenkins.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
ssmythe /
Created Apr 19, 2019
Pycharm unittest wrapper for bats
import unittest
import subprocess
class BatsTests(unittest.TestCase):
def test_run_bats(self):
process ="/usr/bin/env bats --tap .".split())
self.assertEqual(process.returncode, 0)
These two acronyms are the framework in which I organize and categorize the lifecycle of changes to work products in a system.
ICRA (pronounced "Ick-rah")
I = Identification (what work products are called, how they are identified, what classification method or standard they use)
C = Control (how access and changes to work products are managed, access controls, change mechanisms, guard rails)
R = Report (details on activities around changes to work products, who made them, when, etc.)
A = Audit (the trail of access and changes to work products)
ISBPRDVLMO (pronounced "Is Beeper Dove Elmo"). It represents the end to end lifecycle of components for product lines.
ssmythe /
Created Dec 5, 2018
Install docker on a Jenkins master on CentOS7
sudo yum -y install docker
sudo systemctl start docker
sudo systemctl enable docker
sudo groupadd docker
sudo usermod -aG docker jenkins
sudo systemctl restart jenkins
sudo systemctl restart docker
ssmythe /
Created Dec 5, 2018
Install Docker on CentOS7
yum -y install docker
systemctl start docker
systemctl enable docker
docker info