Skip to content

Instantly share code, notes, and snippets.

View ludndev's full-sized avatar
💭
I may be slow to respond.

Judicaël AHYI ludndev

💭
I may be slow to respond.
View GitHub Profile
@ludndev
ludndev / sidecar-prisma-manifest.yaml
Last active November 11, 2025 11:36
🧩 Example: Pod with Prisma Migration Sidecar
apiVersion: v1
kind: Pod
metadata:
name: my-app-with-prisma-migrate
labels:
app: my-app
spec:
restartPolicy: Always
containers:
# --- Main Application Container ---

Source

Windows To Go

Windows To Go is a portable version of Windows booted from a USB device. When a Windows To Go Operating System is booted on a different machine, it will enter a hardware discovery mode and will attempt to install drivers. This process only occurs on the first boot on a new device - on subsequent (re)boots the hardware is remembered and the boot process is significantly faster. Officially only Windows 8/8.1/10 Enterprise Editions and Windows 10 Education support Windows To Go - there are reports of other versions of Windows working, however these are not supported by Misrosoft and there are likely to be activation issues if using on multiple hardware.

This page contains a walkthrough with steps for setting up a multiboot Windows To Go drive. The goal is to set up a dual boot USB drive with both 32-bit and 64-bit versions of Windows 8.1 Update 1 operating systems - bootable on

@ludndev
ludndev / rust_mem_profiling.md
Created October 31, 2025 09:18 — forked from HenningTimm/rust_mem_profiling.md
Memory profiling Rust code with heaptrack in 2019
docker volume create n8n_data
docker run -it --rm \
--name n8n \
-p 5678:5678 \
-e GENERIC_TIMEZONE="Africa/Porto-Novo" \
-e TZ="Africa/Porto-Novo" \
-e N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true \
-e N8N_RUNNERS_ENABLED=true \
ludndev@server:~$ katana --document-root my-web-app
__ __ ______ ______ ______ __ __ ______
/\ \/ / /\ __ \ /\__ _\ /\ __ \ /\ "-.\ \ /\ __ \
\ \ _"-. \ \ __ \ \/_/\ \/ \ \ __ \ \ \ \-. \ \ \ __ \
\ \_\ \_\ \ \_\ \_\ \ \_\ \ \_\ \_\ \ \_\\"\_\ \ \_\ \_\
\/_/\/_/ \/_/\/_/ \/_/ \/_/\/_/ \/_/ \/_/ \/_/\/_/
Katana 0.1.0
Lightweight Web Server - Serving (Static) Content with Elegance
-------------------------------------------------------------------
[2025-10-14 13:16:52] [INFO] Server starting on http://0.0.0.0:8080
You are ChatGPT, a large language model based on the GPT-5 model and trained by OpenAI.
Knowledge cutoff: 2024-06
Current date: 2025-08-08
Image input capabilities: Enabled
Personality: v2
Do not reproduce song lyrics or any other copyrighted material, even if asked.
You're an insightful, encouraging assistant who combines meticulous clarity with genuine enthusiasm and gentle humor.
Supportive thoroughness: Patiently explain complex topics clearly and comprehensively.
Lighthearted interactions: Maintain friendly tone with subtle humor and warmth.
@ludndev
ludndev / millisecond-to-human-readable.util.ts
Created August 27, 2025 13:57
Converts milliseconds to a concise, human-readable time format (e.g., "1h 30m")
function msToHumanReadable(ms: number): string {
const seconds = Math.floor(ms / 1000) % 60;
const minutes = Math.floor(ms / 60000) % 60;
const hours = Math.floor(ms / 3600000) % 24;
const days = Math.floor(ms / 86400000);
const parts: string[] = [];
if (days > 0) parts.push(`${days}d`);
if (hours > 0) parts.push(`${hours}h`);
@ludndev
ludndev / architecture.md
Created August 26, 2025 11:00 — forked from LcsGa/architecture.md
Architecture angular

L'architecture du projet se découpe en deux grandes catégories :

  • L'application en elle-même ;
  • Des bibliothèques génériques (qui pourraient, en principe, être publiées sur npm).

Concentrons-nous sur l'application. Elle se découpe en trois modules principaux et un sous-module :

  • common
  • feature
  • feature/shared (le sous-module)
@ludndev
ludndev / archlinux-qemu-kvm.md
Created August 26, 2025 10:59 — forked from eujuliu/archlinux-qemu-kvm.md
QEMU-KVM Installation for Arch Linux

QEMU-KVM in Arch Linux

Check Virtualization Support

lscpu | grep -i Virtualization
  • VT-x for Intel
  • AMD-Vi for AMD

Ensure that your kernel includes KVM modules

@ludndev
ludndev / ANSI.md
Created August 26, 2025 10:56 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27