- python3
- curl
- gcloud
echo | bash cloud-monitoring-api-list-time-series.sh
$ bash drop-spanner-tables.sh <your project> <your spanner instance> <your spanner database>
#!/bin/bash | |
project="${1}" | |
instance="${2}" | |
billing_project="${3}" | |
_gcloud() { | |
if [ "${billing_project}" != "" ]; then | |
gcloud --project ${project} --billing-project ${billing_project} "${@}" | |
fi |
#!/usr/bin/env ruby | |
require 'time' | |
require 'optparse' | |
in_delim = "\t" | |
out_delim = "\t" | |
f = nil | |
opt = OptionParser.new |
#!/bin/bash | |
apt-get update | |
apt-get install -y debconf libaio1 apparmor-profiles lsb-release gnupg | |
DEB="/tmp/mysql.deb" | |
ROOT_PASSWORD="" | |
MYSQL_USER="testuser" | |
MYSQL_PASSWORD="testpass" |
$ go doc -all net/http | awk '$1 ~ /Status/ && $2 == "=" {print}' | awk '{print $3, $1}'
100 StatusContinue
101 StatusSwitchingProtocols
102 StatusProcessing
200 StatusOK
201 StatusCreated
202 StatusAccepted
203 StatusNonAuthoritativeInfo
204 StatusNoContent
$ patch -u /path/to/plot-timer-events < /path/to/plot-timer-events.patch
## Prerequire | |
- https://brew.sh/ | |
- Jave 8 >= | |
- `brew tap homebrew/cask-versions` | |
- `brew cask install java11` | |
- minio | |
- `brew install minio/stable/minio` | |
- `sudo mkdir /data/minio ; sudo chown tkuchiki /data/minio` | |
- `minio server /opt/minio` |