- jvm dashboard: https://grafana.com/grafana/dashboards/14359-jvm-metrics/
- jvm dashboard: https://grafana.com/grafana/dashboards/12932-jvm-statistics/ (for new grafana)
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
| Create and join the docker group. | |
| $ sudo addgroup --system docker | |
| $ sudo adduser $USER docker | |
| $ newgrp docker | |
| You will also need to disable and re-enable the docker snap if you added the group while it was running. | |
| $ sudo snap disable docker | |
| $ sudo snap enable docker |
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
| set number | |
| set noerrorbells | |
| set t_vb= |
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
| #!/bin/bash | |
| set -e | |
| # Workaround for https://github.com/kubernetes-sigs/kind/issues/2045 | |
| all_nodes=$(kind get nodes --name "${CLUSTER_NAME}" | tr "\n" " ") | |
| declare -A nodes_table | |
| ip_template="{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}" | |
| echo "Saving original IPs from nodes" |
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
| git config --global log.date format:'%Y-%m-%d %H:%M:%S' |
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
| # 修复命令: | |
| gsettings set org.freedesktop.ibus.panel.emoji hotkey $'[\'<Control><Super><Shift>e\']' |
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
| export PROMPT='%(?.%F{green}√.%F{red}?%?)%f %B%F{240}%1~%f%b %# ' | |
| export GOBIN=/usr/local/go/bin | |
| export PATH=$PATH:$GOBIN | |
| export CLICOLOR=1 | |
| export LSCOLORS=GxFxCxDxBxegedabagaced | |
| autoload -Uz compinit && compinit |
OlderNewer