OS X

Here is my list of applications for quality of life. From AppStore: Amphetamine to keep computer awake; MeetingBar - information about next meeting in menu bar; Horo for countdowns; Endel for generated background music; Microsoft Remote Desktop for RDP. Independent sources: Homebrew is the best OSX CLI package manager; iTerm2…

CentOS 6 repo mirror

At the end of 2020 RedHat declared End Of Life for CentOS 6 and dropped the repositories. But there are cases when you still need this ancient platform. First of all, we need to find live repository. I’ve managed to find 2: https://mirrors.oit.uci.edu/centos/ http://ftp.belnet.be/mirror/ftp.centos.org/ The repos I need: base; extras;…

Advanced templating

There are cases when you need not just input value in placeholders but also create cycles. Most DevOps specialists have experience with Ansible and its templates based on Jinja2. In such cases, you could use j2cli. template.j2 {% for key, value in list.items()|sort() %} *** Key: {{ key }} Value:…

Kubernetes dev tools

Tools to make Kubernetes more developer-friendly: Garden; acyl; armador; telepresence; ksync; squash. …

Basic templating

Sometimes you need a simple templating in bash without any logic. You can use sed or even awk but for simple substitute of variable in a file envsubst is the best option. Placeholders are usual bash variables like $MY_VAR or ${MY_VAR} (I prefer the latter as it’s simple to read).…