today's howtos
-
How to Sign git Commits with an SSH key - The New Stack
Development projects can get very busy. They can also grow to massive proportions. When projects do expand (especially those of an open-source nature), they take on more and more developers. That’s great… until it’s not.
For example, what happens if a rogue developer hops onto a project and adds a commit that injects malicious software into the code? No project wants to have to deal with such an issue.
To that end, projects must be very careful who they allow in. But what happens if someone sneaks under the radar? Maybe a rogue developer gains access to your project and adds a commit that injects malicious code and does so under the guise of another developer. When you see that developer’s name associated with the commit, you let it pass, assuming the code is solid and there’s no need to worry.
-
Reload Zsh Configuration - (think)
I’ve been using Zsh on-and-off for a very long time (15+ years), but I still occasionally learn something new about it.
-
Hierarchical Kubernetes namespaces explained by example
Confused by hierarchical namespaces in Kubernetes? In this Kubernetes tutorial we'll examine what hierarchical namespaces are, how to add them to a Kubernetes cluster and then how to use them.
-
Manage dotfiles from anywhere with Git - Earthly Blog
Have you ever found yourself in a situation where you had to format your computer and manually reinstall all the programs you were using? Or did you change machines and have to go to the page of each of the software you use and download and run the installer one by one? Or even customize some mouse/keyboard settings?
This is a bit of work for everyone, but it’s even more work for devs. We have a series of environment configuration files, variables, binary configurations, and shells that need to be configured the way we want them to be so we can be as productive as possible!
Let’s understand how dotfiles will solve this problem and how you will be much more productive when you start versioning them using Git.
-
How to automate a microservice setup in Kubernetes using Earthly - Earthly Blog
Kubernetes(K8s) is an open source system that automates the deployment, scaling, and management of containerized applications such as microservices. It’s designed to make it easy to deploy applications to a wide range of virtual machines and cloud providers e.g Digital ocean, AWS. K8s is built on a foundation of open standards. It helps you manage the lifecycle of processes running in the container. This guide will walk you through how to automatically setup your microservices with k8s using Earthly. A complete microservice setup on Kubernetes requires both the configuration and deployment of your application. Each service will have its own unique functionality and operates independently of the other services, and can be deployed individually.
-
Grafana's problem with the order of dashboard panel legends and Prometheus
It's common to build Grafana dashboards with graph panels (including bar graphs) that have multiple things in them. Generally when you do this, you include a legend with labels. The legend labels come from the query or queries you make, as covered in the query options for Prometheus as a datasource (the same is true for Loki as a datasource).
If each separate thing on the panel comes from a separate query, it's easy to put the legend labels in any order that you want, because the legend order comes from the order of the queries, and Grafana lets you freely re-order them. You might have this if you're graphing various memory metrics from a Linux server, for example, because the Prometheus host agent exposes each different thing from /proc/meminfo as a separate metric (and some things aren't exposed directly anyway, such as the amount of swap space used; you get only 'total swap' and 'free swap').
-
Pros and cons of Linux and how to deal with HP laptop battery issues
-
How To Install Inkscape on Linux Mint 21 - idroot
In this tutorial, we will show you how to install Inkscape on Linux Mint 21. For those of you who didn’t know, Inkscape is professional quality vector graphics software that runs on Linux, macOS, and Windows desktop computers. Inkscape is great for anyone who wants to get creative with their artwork, as it has many features that bring any design to life. These features include scalability and the ability to import/export so the artwork can be used in any vector graphics program.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of an Inkscape vector graphics editor on Linux Mint 21 (Vanessa).
-
'Linux IP Stacks Commentary' Book Tries Free Online Updates [Ed: Slashdot seems to be running marketing plugs as "stories"]
Recently the authors of Elements of Publishing shared an update. "After ten years in print, our publisher decided against further printings and has reverted the rights to us. We are publishing Elements of Programming in two forms: a free PDF and a no-markup paperback."