Install on OSX with"
brew cask install minikube
Then install kubectl
curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.7.5/bin/darwin/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
package main | |
import "log" | |
import "net/http" | |
import "github.com/gorilla/mux" | |
import "os" | |
import "time" | |
var server *http.Server |
Skip all symlinks that are absolute. Good for doing data migrations to another disk in a live system.
rsync -va --safe-links /from/ /to
[core] | |
excludesfile = ~/.gitignore_global | |
editor = nano | |
[user] | |
email = | |
name = | |
signingkey = | |
[color] | |
ui = true | |
[commit] |
https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#hyperkit-driver
brew install docker-machine-driver-hyperkit
# docker-machine-driver-hyperkit need root owner and uid
sudo chown root:wheel /usr/local/opt/docker-machine-driver-hyperkit/bin/docker-machine-driver-hyperkit
sudo chmod u+s /usr/local/opt/docker-machine-driver-hyperkit/bin/docker-machine-driver-hyperkit
process = Runtime.getRuntime().exec("echo hello") | |
process.waitFor() | |
input = process.getInputStream() | |
while ((c=input.read()) != -1) { | |
print((char) c); | |
} |
import json | |
import urllib2 | |
import ssl | |
def lambda_handler(event, context): | |
ctx = ssl.create_default_context() | |
ctx.check_hostname = False | |
ctx.verify_mode = ssl.CERT_NONE |
FROM jenkins/agent:latest-jdk11 | |
USER root | |
RUN apt-get update \ | |
&& apt-get install -y \ | |
curl \ | |
unzip \ | |
rsync \ | |
apt-transport-https \ |