Skip to content

Instantly share code, notes, and snippets.

View n0ctu's full-sized avatar

n0ctu

  • Switzerland
View GitHub Profile
@n0ctu
n0ctu / find_affected_files.sh
Created May 10, 2026 09:59
Identify corrupted files in NFTS images using a gddrescue map-file
#!/usr/bin/env bash
#
# find_affected_files.sh
#
# Identifies files affected by bad sectors in a ddrescue rescue.
# Reads the ddrescue mapfile, locates each bad region within the image's
# partitions, and uses ntfscluster (for NTFS) to map sectors to file paths.
#
# Usage: sudo ./find_affected_files.sh
#
@n0ctu
n0ctu / docker-compose.yml
Created April 2, 2025 21:00
WIP: Ollama + Open WebUI Setup
---
services:
ollama-server:
image: ollama/ollama:latest
container_name: ollama-server
ports:
- "11434:11434"
volumes:
- ./ollama-data:/root/.ollama
@n0ctu
n0ctu / arch-linux-n0ctu.md
Last active February 28, 2025 07:41
Multi-Boot: Arch Linux & Windows with GRUB, LUKS2, and Btrfs on UEFI

Multi-Boot: Arch Linux & Windows with GRUB, LUKS2, and Btrfs on UEFI

0.1. Abstract

This document expands upon the official Arch Linux Wiki installation guide by covering some more steps:

  • Arch Linux installation on a LUKS2 container on Btrfs
  • Microsoft Windows 10/11 installation with BitLocker