Skip to content

Instantly share code, notes, and snippets.

View fbehrens's full-sized avatar
🎯
Focusing

fkbs fbehrens

🎯
Focusing
View GitHub Profile
# Image Quality Validator — Architekturplan
## Context
Tool zur Validierung von Digitalisierungsqualität. Erkennt Farbtargets (ColorChecker SG/Classic, Custom) in RAW/TIFF-Bildern, misst Farbwerte, validiert gegen FADGI, Metamorfoze, ISO 19264, ISO 12647. Output: PDF+HTML Reports. Electron-App mit Svelte Frontend, Python Backend.
## Stack
- **Backend**: Python 3.12+ / FastAPI
- **Frontend**: Electron + Svelte + TypeScript
- **Farbwissenschaft**: ArgyllCMS CLI-Tools (scanin, colverify, etc.) als Subprocess
- **Bildverarbeitung**: OpenCV, rawpy (RAW), Pillow (TIFF)
# Wie kann ich Windows 11 so konfigurieren, dass ich durch Druck auf die Print-Taste ein Screenshot mache?
Um Windows 11 so zu konfigurieren, dass die **Druck-Taste** direkt einen Screenshot macht, hast du zwei Möglichkeiten:
## Option 1: Screenshot direkt als Datei speichern (empfohlen)
1. Öffne die **Einstellungen** (Windows + I)
2. Gehe zu **Barrierefreiheit** → **Tastatur**
3. Scrolle nach unten und aktiviere die Option **"Bildschirmtaste zum Öffnen der Bildschirmaufnahme verwenden"**
@fbehrens
fbehrens / nas.md
Created January 2, 2026 19:51
WLAN Festplatte

Für Consumer haben aktuell drei Modelle das beste Preis-Leistungs-Verhältnis, je nach individuellem Bedarf:

1. Der Preis-Leistungs-Sieger: Synology DS224+

Dieses Modell ist der „Sweet Spot“ für die meisten Heimanwender.

  • Warum: Sie bietet einen Intel-Prozessor (wichtig für flüssige Bedienung und Video-Transcoding in Plex/Photos) und unterstützt Docker/Container.
  • Vorteil: Viel Leistung für einen fairen Preis (~330–350 €). Der Arbeitsspeicher lässt sich offiziell erweitern.
  • Ideal für: Fotosicherung, Video-Streaming, kleine Server-Anwendungen.
@fbehrens
fbehrens / vpn_recommendations_by_claude.md
Created October 21, 2025 11:46
What reliable VPN providers can you recommend? Please provide a table with pros and cons and price information

I'll search for current information about reliable VPN providers, including their pricing and features.Based on current expert reviews and testing, here's a comprehensive comparison of reliable VPN providers:

Top VPN Providers Comparison

Provider Pros Cons Price
NordVPN Over 8,200 servers in 126+ countries; five-times-verified no-logs policy; includes Threat Protection (ad/malware blocking); speeds decreased by only 6% in testing; post-quantum encryption Prices quoted pre-tax and increase significantly on auto-renewal $2.99/month for Basic plan (27 months, $80.73 upfront)
Surfshark Unlimited device connections; fastest speeds in testing; excellent streaming reliability (unblocked all sites tested); audited no-logs policy; includes ad/cookie blocking Slower on long-distance connections; occasional IPv6 leaks; kill switch not enabled by default $1.99/month (27 months, $53.73 upfront)
Proton VPN F
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/dotnet-fsharp
{
"name": "F# (.NET)",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/dotnet:0-6.0-bullseye",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/node:1": {
@fbehrens
fbehrens / readme.md
Last active October 24, 2021 15:20
UISP Mobile

Product: LiteBeam 5AC Gen2

Webinterface setup.ubnt.com Captive Portal: insecure certificate (not thrusted) Serial: b3d5a4dc Thumbprint (sha1): 50933389 A677D7C3 0C125876 7AE9F0B5 8E299FBE -> Difficult to use because certificate is not trusted

@fbehrens
fbehrens / trigger.sql
Last active August 23, 2021 13:38
tsql autid trigger.sql
/*
DROP TABLE GUESTS
go
CREATE TABLE GUESTS (
ID int IDENTITY(1,1) PRIMARY KEY,
NAME VARCHAR(50),
SURNAME VARCHAR(50),
)
DROP TABLE Audit
ipmo Microsoft.PowerShell.ConsoleGuiTools
$global:sysCode="C:\Users\fb\code"
if( $null -ne (get-psreadlineOption).PredictionSource ) {
Set-PSReadLineOption -PredictionSource History }
if( $null -ne (get-psreadlineOption).PredictionViewStyle ) {
Set-PSReadLineOption -PredictionViewStyle ListView }
function glg{
@fbehrens
fbehrens / barcodeLeb.fsx
Last active December 16, 2020 20:12
use Barcode lib
// Microsoft (R) F# Interactive version 11.0.0.0 for F# 5.0
// #r "C:/Users/fb/OneDrive/code/schnelltest/etc/barcodelib/BarcodeStandard/bin/Debug/netstandard2.0/BarcodeStandard.dll"
// #r "System.Drawing.Common"
// or
#r "nuget: BarcodeLib"
open BarcodeLib
open System.Drawing
let b = new Barcode()
filter Decode { [System.Net.WebUtility]::UrlDecode($_) }
filter Get-Songs{
$xml = New-Object XML.XmlDocument
$xml.LoadXml((Get-Content $_))
$disk = $xml.BPP.disc
$outFile = $_.name -replace "\.bpp$",".mp3"
$(0..($disk.path.Length -1) | % {
"$($disk.path[$_].src | Decode)$($disk.file[$_].src | Decode)"
} )> $outFile