Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Piping terminal output to the browser using systemfd
An opportunity I use systemfd in combination with watchexec to run a web server project with a tight development loop.
-
Allowlist for .gitignore
At my current job, while reorganizing our company's root git monorepo, we decided to adopt a .gitignore allowlist pattern.
-
Raconn - Ssh multi hostname
TLDR: Raconn Introduction Recently I wanted to connect to a local machine with ssh but didn't know it's IP, I knew the MAC address which I could translate into the IPv6 link-local address but since the connect syscall requires the local iface name for ip6…
-
Nginx Explorer - Upload
After listing files and setting up per directory accesses, we would like to allow some users to upload files.
-
Nginx Explorer - Cookie Authentication
Previously, we configured nginx to list directories and files in html.
-
Nginx Explorer - File listing
TLDR Nginx explorer is a minimal web interface for file download/upload using only nginx builtin modules. git clone https://github.com/izissise/nginx-explorer.git nginx-explorer/ngxp.sh download_icons nginx-explorer/ngxp.sh servethis Genesis Sharing files…
-
Modern PATH environment variable
The PATH environment variable is read by the shell or libc to find and execute programs, this is how the shell can find /bin/ls when ls is typed in a terminal.
-
Git Config
Git can change configuration depending on the directory you're in.
-
Unified Kernel Image
Unified Kernel Image UKIs can run on UEFI systems and simplify the distribution of small kernel images.
-
Edk2 UEFI Boot 0000
Edk2 Edk2 is the official UEFI implementation.
-
Qemu IPv6 Slirp
Qemu support rootless mode routing of network packets through the host using Slirp, you only need to give the right options to qemu to set this up, without having to tinker with tap interfaces or iptables.
-
Snap 2 Flatpak
Sometimes, I want to use closed-source applications on Linux.
-
Binary Patching KWin for 3-Finger Overview Gesture
TLDR: Go to patching Plasma 6 I recently updated to Kde Plasma 6, and it's great except for one minor annoyance: the overview effect is triggered on the touchpad with a 4-finger swipe, and I'd prefer to trigger it with a 3-finger swipe instead.
-
Video motion
I saw the following youtube video, I like the concept a lot but I only have ffmpeg.
-
Initramfs
Linux basic initramfs With a compiled kernel image, it can be useful to load your own initramfs: make it as small as possible considering the features you need create a minimal test environment for the kernel image mount a remote filesystem as the root yo…
-
Parallel bash function call
Introduction Now that we can execute bash functions remotly, we can scale the execution using GNU Parallel.
-
Remote bash function with ssh
Genesis Often when a shell command line start to become a little long, I like to break it down into functions.
-
Network manager connection action
Genesis It as always been kind of a hassle to do actions upon connecting to a network using network manager, especially if you want your script to run a with user permissions.