A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
Checking the compatibility matrix of Kubernetes Client: https://github.com/fabric8io/kubernetes-client/blob/master/README.md#compatibility-matrix
Intellij on jetbrains - Ultimate feature
How to setup, to see how-can-pyspark-be-called-in-debug-mode - stackoverflow
1.使用 openssl 建立 SSL key, 整個 script 如下
#!/bin/bash
#Step 1
keytool -keystore kafka.server.keystore.jks -alias localhost -validity 365 -genkey
#Step 2
openssl req -new -x509 -keyout ca-key -out ca-cert -days 365
keytool -keystore kafka.server.truststore.jks -alias CARoot -import -file ca-cert
function docker_container_ip() {
container_ids=$(docker ps -aq)
for cid in ${container_ids}
do
info=$(docker inspect -f 'name={{.Name}} ip={{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' ${cid})
echo -e "$cid \t $info"
done
}
jenv global 1.7.0.80 |