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
Ansible pushes IT Infra / Config from a control node using SSH | |
Commands are parallelised between hosts | |
Ordering can be important, watch out for deadlocks | |
Ansible is written in Python | |
===== | |
Inventory File | |
- Lives at /etc/ansible/hosts by default | |
- Can be flat file |
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
? Action Chains? (Why? | |
? move_to_element? (Why?) | |
WebDriver | |
--------- | |
Allows control over browser functions | |
#Import - for features in this doc (Chrome is generally being assumed) | |
from selenium import webdriver | |
from selenium.webdriver.chrome.options import Options |
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
#!/bin/bash | |
GIT_VERSION="2.23.0" | |
yum install -y gcc wget make curl-devel expat-devel \ | |
gettext-devel openssl-devel perl-devel zlib-devel | |
cd ~ | |
if [ ! -f git-${GIT_VERSION}.tar.gz ]; then | |
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-${GIT_VERSION}.tar.gz |
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
#!/bin/bash | |
BASE_DIR=$(dirname $0) | |
BUILD_SCRIPT_NAME="build-git.sh" | |
BUILD_SCRIPT="${BASE_DIR}/${BUILD_SCRIPT_NAME}" | |
if [ ! -d /share/Public/toolchain ]; then | |
mkdir /share/Public/toolchain | |
fi |
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
SETUP (OSX) | |
===== | |
install using homebrew | |
brew install --cask powershell | |
Run with | |
pwsh | |
Visual Studio / Code has an extenstion for editing |
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 using Homebrew (MacOS) | |
brew update | |
brew upgrade | |
brew install gradle | |
gradle build |
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
KUBERNETES / OPENSHIFT TRAINING NOTES | |
------------------------------------- | |
https://www.openshift.com/ | |
https://kubernetes.io/ | |
GENERAL | |
Orchestrate containers | |
Openshift is built over Kubernetes and is maintained by RedHat. | |
A container is an instance of an image | |
A container runtime is an environment within with containers are ran |
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
Example limit | |
SELECT * FROM <table> WHERE rownum <= 1; | |
Example row size | |
SQL> SELECT AVG_ROW_LEN FROM dba_tables WHERE table_name = '<table>'; |
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
SPL = Splunk Processing Language | |
host="<host>" | |
source="<source>" | |
sourcetype="<sourcetype>" | |
* can be used as a wildcard | |
| used to chain filtering / commands / searches | |
Full Search Reference: http://docs.splunk.com/Documentation/Splunk/7.0.1/SearchReference/WhatsInThisManual |
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
OSX (Sierra) | |
===== | |
/usr/libexec/java_home - Reports on current JAVA_HOME (or at least what it should be) | |
/usr/local/apache-tomcat-8.5.23 - Tomcat installation | |
Linux | |
===== | |
Bash Profiles | |
~/.bashrc | |
~/.bash_profile |
NewerOlder