Install cask that extends the brew command :
brew install phinze/cask/brew-cask
Install calibre using cask :
brew cask install calibre
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "time" | |
| "golang.org/x/sys/windows/registry" | |
| ) |
| 'use strict'; | |
| exports.handler = (event, context, callback) => { | |
| // Get request and request headers | |
| const request = event.Records[0].cf.request; | |
| const headers = request.headers; | |
| // Configure authentication | |
| const authUser = 'user'; | |
| const authPass = 'pass'; |
| curl -OL http://ftpmirror.gnu.org/libtool/libtool-2.4.2.tar.gz | |
| tar -xzf libtool-2.4.2.tar.gz | |
| cd libtool-2.4.2 | |
| ./configure && make && sudo make install | |
| # brew install 'https://raw.github.com/simonair/homebrew-dupes/e5177ef4fc82ae5246842e5a544124722c9e975b/ab.rb' | |
| # brew test ab | |
| curl -O https://archive.apache.org/dist/httpd/httpd-2.4.2.tar.bz2 | |
| tar zxvf httpd-2.4.2.tar.bz2 |
Install cask that extends the brew command :
brew install phinze/cask/brew-cask
Install calibre using cask :
brew cask install calibre
| vbell off | |
| autodetach on | |
| startup_message off | |
| shell -$SHELL | |
| allpartial off | |
| defc1 off | |
| defencoding utf8 | |
| bind b encoding big5 utf8 | |
| bind u encoding utf8 utf8 |
| #!/bin/bash | |
| # env | |
| github_api_token=$1 | |
| owner=$2 | |
| # clean | |
| ls -d */ | xargs -i rm -rf {} | |
| rm -rf repo.txt |
| #!/bin/bash | |
| # Usage: | |
| # | |
| # ssl_setup [--self] <name> <csr_config> | |
| # | |
| # This script is used to generate key and CSR for use HTTPS in Nginx. | |
| # | |
| # --self Generate self-signed certificate in addition to key and CSR. | |
| # name Output files will be named as <name>.key and <name>.csr. |
目标: 用kubeadmin安装kubernetes v1.9.4 集群(单节点) 安装环境: CentOS 7
Uses v0.1-alpha.21
boilerplate.go.txt
/*
Copyright 2017 The Kubernetes Authors.