See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install -y git make mercurial | |
GOPKG=go1.4.2.linux-amd64.tar.gz | |
wget https://storage.googleapis.com/golang/$GOPKG | |
sudo tar -xvf $GOPKG -C /usr/local/ | |
mkdir ~/go |
Identify the ovs-node
of the Node hosting the Pods to monitor
# oc get pods --selector="app=ovs-node" -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
ovs-node-4hldj 1/1 Running 0 47h 198.18.100.16 worker-1 <none> <none>
ovs-node-bd9ln 1/1 Running 0 47h 198.18.100.12 master-1
ansible --version
ERROR: Ansible requires the locale encoding to be UTF-8; Detected None.
Hacked with explicit assignment of LC_ALL:
LC_ALL=C.UTF-8 ansible --version
ansible [core 2.14.1]
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use autodie qw(:all); | |
use Nice::Try; | |
use JSON; | |
# script to migrate cinder volumes from one backup to another backend |