How to display Git branches easily as a tree in CLI
Git is a tool that employs a command line interface (CLI). For many beginner programmers, it’s the first one of this kind they learn. This alone could be confusing, but on top of that, Git’s default responses do not clearly visualize the state of you...
Starship is the minimal, blazing fast, and extremely customizable prompt for any shell! Shows the information you need, while staying sleek and minimal. Quick installation available for Bash, Fish, ZSH, Ion, and Powershell.
In this video, I’m setting up Authelia. It’s a very lightweight authentication service, which can be used to provide authentication to services which don’t natively support any form of authentication. I think this is a great choice for small scale homelab environments, as it’s simple to run and administer.
Contents Video Authelia Configuration User File TLS Certificate Protected Service Example with Caddy Video Authelia I installed Authelia on an LXC container (Debian 12), and set it up with a dns name / AAAA record in public dns, and all the jazz required for normal HTTPS access.
C4 Diagrams using PlantUML and VSCode (on Windows 10)
I was doing my daily scan of Twitter the other day and came across this One of the commenters questioned how it was implemented, and there were a few follow up comments. Below are my steps for get…
Flake.nix Phoenix & PostgreSQL - Learning Resources / Guides/Tuts/Tips/Info - Elixir Programming Language Forum
I’ll post this here, It might help someone in the future. Feedback is greatly appreciated. I use it with direnv on NixOS, It should work with nix on Linux or macOS. custom commands: pg-stop, pg-start, … flake.nix { description = "General Elixir Project Flake"; #source: 20221130; https://github.com/toraritte/shell.nixes/blob/f9af46639a9bb5fb22705ebdfd25783866e22c0f/elixir-phoenix-postgres/shell.nix #source: 20221130; https://github.com/webuhu/elixir_nix_example inputs = { nixpkg...
V2: reverse proxy to UNIX socket? - Help - Caddy Community
1. My Caddy version (V2 beta 14): 2. How I run Caddy: I use the systemd service template mentioned in the documentation. My Caddyfile looks like this: samvanderkris.xyz, www.samvanderkris.xyz { reverse_proxy * unix:/run/gunicorn.sock root /static /home/sam/samvanderkris header / Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" } a. System environment: Ubuntu server 19.10, caddy is running as a systemd service. The reverse proxy is supposed to...
How can I mount a Raspberry Pi Linux distro image?
Normal filesystem images can be easily mounted:
mount system.img /mnt
Examined, and modified. But when I try this with a Raspberry Pi system image (e.g. raspbian), I get:
mount: unknown filesys...
With the release of Apple silicon, the adoption of ARM-based CPUs is surging. Many developers are facing a new challenge: compiling their software for ARM-based CPUs. And it’s not just about the binar
Docker containers: Your runtime for old & new apps
You'll often see Docker described as the runtime for modern apps using microservice architectures. Here's how to use containers as the runtime for all of your applications.
is there a way to use exiftool command on all files with specific extensions inside a folder?
E.g.
exiftool -overwrite_original -all= *.jpg *.png *.jpeg
The problem of the command above is that it