Skip to content

Instantly share code, notes, and snippets.

text
skipx
install
url --url http://mirror.raystedman.net/centos/6/os/x86_64/
repo --name=updates --baseurl=http://mirror.raystedman.net/centos/6/updates/x86_64/
lang en_US.UTF-8
keyboard us
rootpw s0m3password
firewall --disable
authconfig --enableshadow --passalgo=sha512
@azr
azr / reflexes.go
Created February 9, 2016 17:21 — forked from dpapathanasiou/reflexes.go
Concurrency programming example: test user reflexes
package main
import (
"bufio"
"fmt"
"math/rand"
"os"
"time"
)
### Keybase proof
I hereby claim:
* I am azr on github.
* I am azr (https://keybase.io/azr) on keybase.
* I have a public key whose fingerprint is 4CD6 03C6 A2E5 C7F2 0BAE B04D 43A0 AA3D 31A2 18D1
To claim this, I am signing this object:
@azr
azr / replace-cluster.sh
Last active June 30, 2016 09:18
Quickly replace a Google Cloud Kubernetes Cluster by a new one ( with new machine type, scopes and/or number of nodes ), keeping the credentials
#!/bin/bash
CLUSTER=""
PROJECT_CMD=""
ZONE_CMD=""
SCOPES=""
NUM_NODES="1"
MACHINE_TYPE=""
DISK_SIZE="100GB"