Windows & X11

Sometimes you have to work in Windows. But filesystems in Windows is far from Linux versions and their permission model. That could be a problem sometimes. In this case, you can use VM or WSL. X-Servers for Windows: XMANAGER - too expensive; Cygwin/X - failed to run a remote app;…

Ansible

Useful environment variables: export ANSIBLE_DIFF_ALWAYS=true export ANSIBLE_GATHER_SUBSET='all,!ohai,!hardware' export ANSIBLE_LOG_PATH=~/Projects/ansible.log export ANSIBLE_RETRY_FILES_ENABLED=false export ANSIBLE_STDOUT_CALLBACK=yaml export ANSIBLE_VAULT_PASSWORD_FILE=~/.ansible/vault Related links: Ansible Configuration Settings …

Golang

I love shiny new things (or is it bleeding edge features?). Modules Update dependencies: GO111MODULE=on go get -u Add missing and remove unused modules: go mod tidy Build: GO111MODULE=on go build Routers Links: Go HTTP request router and web framework benchmark; Go Gin Benchmarks comparison; 7 popular web frameworks in…

Envoy

Some people compare the envoy-proxy with Nginx. The free version of Nginx is a great web-server (caching and ability to serve static files) but poor balancer (no health-checks, lack of balancing algorithms a close to none metrics). Envoy unable to serve static and has no cache. But envoy is a…

Elastic

Useful links: How to resolve unassigned shards in Elasticsearch Elasticsearch failed shard recovery Creating an Elasticsearch Cluster: Getting Started Open Distro for Elasticsearch Kickstart guide Troubleshooting When shard failed to allocate: GET _cluster/allocation/explain ... shard has exceeded the maximum number of retries ... POST _cluster/reroute?retry_failed=true Tools ElasticHQ Cerebro Elasticsearch stats…