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
#!/usr/bin/env bash | |
FILE=$1 | |
for var in $(cat $FILE | grep "="); do | |
VAR_NAME="$(echo "$var" | cut -d "=" -f 1)" | |
VAR_VALUE="$(echo "$var" | cut -d "=" -f 2)" | |
echo "$VAR_NAME: \"\${$VAR_NAME:-$VAR_VALUE}\"" | |
done |
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
#!/usr/bin/env osascript | |
set validIPPart to "127.0" | |
set T1 to minutes of (current date) | |
set T1s to seconds of (current date) | |
on logMsg(msg) | |
log "[" & (current date) & "] - " & msg | |
end logMsg |
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
nameReference: | |
- kind: Cluster | |
group: cluster.x-k8s.io | |
version: v1alpha3 | |
fieldSpecs: | |
- path: spec/clusterName | |
kind: MachineDeployment | |
group: cluster.x-k8s.io | |
- path: spec/template/spec/clusterName | |
kind: MachineDeployment |