HTTP is an application layer protocol working on top of TCP/IP and is widely used on the Internet to access websites. It’s a text-based protocol up to version 2 when a binary version was first introduced. Understanding HTTP on a basic level is crucial for both back-end and front-end software engineers. Here’s a short explanation of how HTTP works. What is TCP/IP IP (Internet Protocol) is a network protocol used to address and route packets of data across network....
10 Must Have Command Line Tools for Linux
1. Neovim Neovim (aka nvim) is a modern highly-refactored Vim with a 30% less codebase yet preserving Vim’s functionality. After installation, it is accessible by the vim/vi or nvim command. For me, a person not proficient with Vim editing modes, Neovim opened the gate to them. It has an interactive tutorial that lets learning by doing and not memorizing. Just type :Tutor when you launch the editor and follow the exercises....
Writing Resilient Unit Tests With Ease
I see too many people writing brittle and bloated unit tests. Often it is experienced developers with years of coding. Ultimately, they never used unit tests extensively. Consequently, they lack understanding of writing resilient and easy-to-support unit tests. You might not think of yourself as one of these guys, but let me show three simple technics that will immediately improve your unit test quality. TL;DR Test in isolation — do not rely on the behavior of dependencies but mock them instead....
Create Dynamic Github Profile Using Github Actions and Bash
About a year ago, Github launched a feature that allows adding of README to a user profile. To add the README to your profile, you have to: create a public repository with a name matching your Github username place the README.md in the root of the repository You can learn more about it in Github documentation . What is a Dynamic Github Profile? The dynamic Github profile is updated automatically on some external event or by schedule....
How to run Vaultwarden in Podman as a systemd service
What is Vaultwarden? Vaultwarden is an alternative implementation of Bitwarden server API written in Rust. It’s compatible with official Bitwarden clients and is a perfect choice for a self-hosted vault. Being written in Rust makes it lightweight, unlike the original Bitwarden which is written in C# and quite resource-heavy. Why Podman? Docker doesn’t work properly as a systemd service. The problem is that systemd doesn’t monitor a docker container but a docker client....