Skip to main content

Recently Updated Pages

Firewall with ufw

Linux

ufw (Uncomplicated Firewall) is a software, which helps modifying iptable rules on your linux mac...

Updated 3 weeks ago by Matthias

Nushell "fill"

AI hallucinations

I'm currently learning Nushell and I wanted to know, how I can fill a number with leading zeros. ...

Updated 1 month ago by Matthias

Intro

AI hallucinations

For learning, I like to use LLMs to ask questions, get recommendations or review what I could do ...

Updated 1 month ago by Matthias

ESP32

Microcontrollers

The Family The ESP32 is a whole family of microcontrollers. Depending on the type, they differ f...

Updated 1 month ago by Matthias

Quadlets

Podman

Podman Quadlets are declarative configuration files for defining your infrastructure (containers,...

Updated 1 month ago by Matthias

28BYJ-48 with ULN2003 driver

Components

28BYJ-48 The 28BYJ-48 is a geared stepper motor. One whole revolution are around 2048 steps (32 ...

Updated 1 month ago by Matthias

Clippy and linting

Rust Basics

With cargo check you have an integrated linter in Rust. But additionally there is another linting...

Updated 2 months ago by Matthias

ST-Link V2

Tools

The ST-Link V2 is a USB Programmer and Debugger für Single Wire Debugger compatible controllers, ...

Updated 3 months ago by Matthias

SeaORM

Rust Frameworks

SeaORM (from SeaQL) is an ORM for Rust. Installation  When Installing SeaORM, you need to defin...

Updated 5 months ago by Matthias

Server

Nuxt 4

> TODO explain server engine, nitro h3 Endpoints export default defineEventHandler(async (event...

Updated 5 months ago by Matthias

config

Rust Frameworks

config (crates.io) is a library for building configuration structs from sources like env variable...

Updated 5 months ago by Matthias

Rasberry Pi Pico

Microcontrollers

Pinout A good website to look at the pinout: https://pico.pinout.xyz/  

Updated 5 months ago by Matthias

Modify Images

ffmpeg

Resize ffmpeg -i input.jpg -vf "scale=1920:-1" output.jpg Change quality ffmpeg -i input.jpg -...

Updated 6 months ago by Matthias

Tracing

Rust Frameworks

Tracing is a library for logging. It consists of multiple libraries. You need at least tracing, w...

Updated 6 months ago by Matthias

Check open ports

Linux

If you want to check open ports on your Linux device, you can use the ss command (socket statisti...

Updated 6 months ago by Matthias

Cross compilation

Rust

You can cross compile your Rust code using the target specifier. For example: cargo build --targ...

Updated 6 months ago by Matthias

Serde

Rust Frameworks

Serde (Serialize and Deserialize) is a library to serialize and deserialize data to or from a str...

Updated 6 months ago by Matthias

Tricks

Rust

Allow everything what can be a str reference   fn do_something<S: AsRef<str>>(input: S) { le...

Updated 6 months ago by Matthias

Patterns

TypeScript

Exhaustive patterns In this case, exhaustive means "It covers all cases", e.g. for an enum, so...

Updated 6 months ago by Matthias

Smart Pointers

Rust Basics

Smart Pointers are references to data, so you can use it, without taking ownership of this data. ...

Updated 6 months ago by Matthias