Check install
command -v nvm
nvm -v
Check install
command -v nvm
nvm -v
Tools to create documentation, in no particular order:
| # import config. | |
| # You can change the default config with `make cnf="config_special.env" build` | |
| cnf ?= config.env | |
| include $(cnf) | |
| export $(shell sed 's/=.*//' $(cnf)) | |
| # import deploy config | |
| # You can change the default deploy config with `make cnf="deploy_special.env" release` | |
| dpl ?= deploy.env | |
| include $(dpl) |
Docker playground: https://labs.play-with-docker.com/
tag coud be enything, it should help to identify application and its version, e.g.
# Build image, can use multiple tags
docker build . -t ${tag1} -t ${tag2} ${buildArgs}
Official cheatsheet: https://kubernetes.io/docs/reference/kubectl/cheatsheet/
Connect to new cluster
gcloud container clusters get-credentials my-cluster --zone us-central1-a --project corded-smithy-248316
| Collection of tips and tricks for Linux |
Assuming that the following environment variables are set:
KAFKA_HOME where Kafka is installed on local machine (e.g. /opt/kafka)ZK_HOSTS identifies running zookeeper ensemble, e.g. ZK_HOSTS=192.168.0.99:2181KAFKA_BROKERS identifies running Kafka brokers, e.g. KAFKA_BROKERS=192.168.0.99:9092Start Zookepper and Kafka servers