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
This article explains the rsyslog logging service and compares it to the newer journald system. It uses practical command examples to manage the services and update configuration files.
Use Caddy for local HTTPS (TLS) between front-end reverse proxy and LAN hosts - Wiki - Caddy Community
TL;DL This Wiki explains how to enable https connections between hosts in a LAN with automatically renewed certificates. Just scroll down and go over the example Caddyfiles. They hopefully have enough comment to understand the idea 😉 Introduction If you have successfully followed the Wiki Using Caddy as a reverse proxy in a home network by @Matt, you have setup a reverse proxy that provides a TLS encrypted connection from the internet to that reverse proxy. This is mandatory and you should...
Create LXC Templates Every time inspiration struck or I saw a blog post with something I wanted to try, it was frustrating and time consuming to get the base operating system set up to the way I like it before proceeding with the project. Now I just update the template each point release or when I add something substantial to my dotfiles so it's ready to go whenever I need to spin up a fresh container.