We adopted Kubernetes two years ago, allowing us to quickly deploy, scale, and improve our fault tolerance capabilities and lower our infrastructure maintenance costs. We’ve been leveraging this level of infrastructure abstraction across all of our workloads, including our internal tools. In order to help our engineers ship quality fast…
I often need to open a specific file in a deeply nested folders project. ZSH globbing does help but I wanted to have something faster.
Most of the time I already know the exact name of the file I want to open with my favorite editor
$EDITOR . The only thing I need to do is to find the first matching file in my current tree that matches the filename I want to edit.
Here’s a quick look of how my solution works.
Below the snippet to make it work. Simply paste it into your .bashrc/.zshrc file.
UPDATE: I've also made an autocomplete function that works with zsh.
Here is how it looks like:
In this story I will walk you through a PostgreSQL master/slave cluster using repmgr. It also uses repmgrd for an automatic failover mechanism.
In order to test all the commands with two local machines I am using Vagrant. However, you can also use your own public / private cloud servers.
I mainly use Github for all my projects. When working with a team, I have a specific git flow which is composed of two protected branches:
mastermain branch (production)
devalways ready to be pushed to master, thus to production
I can as well setup continuous integration with services…