This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org <package_name> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global alias.lga "log --graph --oneline --all --decorate" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/hairyhenderson/gomplate | |
# templates/hello.tmpl | |
Hello, {{ .users.Name }} | |
# config.json | |
{ | |
"Name": "Steve" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Configure Global Security | |
==== | |
Agents | |
---- | |
TCP port for inbound agents: 50000 | |
Configure System | |
==== | |
Main config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>homebrew.mxcl.jenkins</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/libexec/java_home</string> | |
<string>-v</string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import unittest | |
import subprocess | |
class BatsTests(unittest.TestCase): | |
def test_run_bats(self): | |
process = subprocess.run("/usr/bin/env bats --tap .".split()) | |
self.assertEqual(process.returncode, 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum -y install docker | |
systemctl start docker | |
systemctl enable docker | |
docker info |
NewerOlder