cat data.csv | sed s/","/" "/g | xargs -L 1 | split.sh
This file contains hidden or 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 jenkins/agent:latest-jdk11 | |
| USER root | |
| RUN apt-get update \ | |
| && apt-get install -y \ | |
| curl \ | |
| unzip \ | |
| rsync \ | |
| apt-transport-https \ |
This file contains hidden or 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
| 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 |
This file contains hidden or 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
| process = Runtime.getRuntime().exec("echo hello") | |
| process.waitFor() | |
| input = process.getInputStream() | |
| while ((c=input.read()) != -1) { | |
| print((char) c); | |
| } |
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
This file contains hidden or 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
| [core] | |
| excludesfile = ~/.gitignore_global | |
| editor = nano | |
| [user] | |
| email = | |
| name = | |
| signingkey = | |
| [color] | |
| ui = true | |
| [commit] |
Skip all symlinks that are absolute. Good for doing data migrations to another disk in a live system.
rsync -va --safe-links /from/ /to
This file contains hidden or 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
| package main | |
| import "log" | |
| import "net/http" | |
| import "github.com/gorilla/mux" | |
| import "os" | |
| import "time" | |
| var server *http.Server |
- Installing On OSX you can install with brew:
brew cask install minishiftThe upgrade MiniShift with:
minishift updateNewerOlder