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 | |
rm -rf bootstrap-files/ | |
sleep 1 | |
mkdir -p bootstrap-files | |
cp install-config.yaml bootstrap-files/ | |
cp append-bootstrap.ign bootstrap-files/ | |
cd bootstrap-files |
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
--- | |
version: "2" | |
services: | |
librespeed: | |
image: adolfintel/speedtest | |
container_name: librespeed | |
ports: | |
- 8008:80 | |
environment: | |
- MODE=standalone |
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 | |
export ETCD_ENDPOINTS="https://ocp311-m1.ktz.lan:2379,https://ocp311-m2.ktz.lan:2379,https://ocp311-m3.ktz.lan:2379" | |
# master backup | |
mkdir git && cd git | |
git clone https://github.com/openshift/openshift-ansible-contrib.git | |
touch /etc/pki/ca-trust/source/anchors/test # github issue opened to avoid this step | |
./openshift-ansible-contrib/reference-architecture/day2ops/scripts/backup_master_node.sh |
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 | |
# call as replace.sh filename | |
file="$1" | |
sed -i 's/+ \*\*/ - { date: "/g' $file | |
sed -i 's/:\*\* /:", desc: "/g' $file | |
sed -i '/ - { date:/ s/$/" }/' $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
light: | |
- platform: mqtt | |
schema: json | |
effect: true | |
effect_list: | |
- bpm | |
- confetti | |
- cyclon rainbow | |
- dots | |
- fire |
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
homeassistant: | |
# Name of the location where Home Assistant is running | |
name: Home | |
# Location required to calculate the time the sun rises and sets | |
latitude: 35.7796 | |
longitude: -78.6382 | |
# Impacts weather/sunrise data (altitude above sea level in meters) | |
elevation: 0 | |
# metric for Metric, imperial for Imperial | |
unit_system: imperial |
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
FROM registry.access.redhat.com/openshift3/jenkins-slave-base-rhel7 | |
MAINTAINER Gabe Montero <gmontero@redhat.com> Alex Kretzschmar <alexktz@redhat.com> | |
# Labels consumed by Red Hat build service | |
LABEL com.redhat.component="jenkins-agent-maven-35-rhel7-container" \ | |
name="openshift3/jenkins-agent-maven-35-rhel7" \ | |
version="3.11" \ | |
architecture="x86_64" \ | |
io.k8s.display-name="Jenkins Agent Maven" \ |
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 | |
# ./convert -a asdfghjk | |
# Obtain an activation_bytes string and plug it into this script with -a. | |
FILES=aax/* | |
OUTPUT=mp3 | |
while getopts a: option | |
do | |
case "${option}" |
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
### conclusions | |
- Drive is just over 3 years old (power on time) | |
- No reallocated sectors | |
- No errors in SMART history | |
This drive is suitable for service. | |
=============================== |
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
--- | |
# project information | |
plex_project_name: plex | |
plex_project_url: "https://plex.tv/" | |
plex_project_logo: "http://the-gadgeteer.com/wp-content/uploads/2015/10/plex-logo-e1446990678679.png" | |
plex_project_blurb: "[Plex]({{ plex_project_url }}) organizes video, music and photos from personal media libraries and streams them to smart TVs, streaming boxes and mobile devices. This container is packaged as a standalone Plex Media Server." | |
# container parameters | |
plex_param_container_name: "{{ plex_project_name }}" |