start new:
tmux
start new with session name:
tmux new -s myname
| location ~* /(.*\.pdf) { | |
| types { application/octet-stream .pdf; } | |
| default_type application/octet-stream; | |
| } |
Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for:
1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv to manually rebuild the font cache
| job "metrics" { | |
| datacenters = ["dc1"] | |
| group "prometheus" { | |
| network { | |
| mode = "bridge" | |
| } | |
| service { | |
| name = "prometheus" |
openssl req -x509 -sha256 -days 1825 -newkey rsa:2048 -keyout rootCA.key -out rootCA.crt -nodes
openssl req -newkey rsa:2048 -nodes -keyout vmstorage_0.key -out vmstorage_0.csr
Lets say we have 2 zones: zone-a and zone-b. Separate cluster must be deploy to the both zones with commands:
helm upgrade -i zone-a vm/victoria-metrics-cluster -f zone.yaml