Skip to content

Instantly share code, notes, and snippets.

@maxried
maxried / Dockerfile
Created August 7, 2025 06:40
scratch-editor in Docker
FROM node:24-alpine AS builder
ARG SCRATCH_VERSION=develop
RUN apk add git
WORKDIR /source
RUN git clone --branch ${SCRATCH_VERSION} --depth 1 https://github.com/scratchfoundation/scratch-editor.git .
RUN npm install
RUN npm run build
FROM nginx:alpine
COPY --from=builder /source/packages/scratch-gui/build /usr/share/nginx/html
Badly tested script, mostly invented by ChatGPT. Tries to created a CSR with a new key that mimic a certificate used by a reachable server. Use this to generate a new CSR. Use it at your own risk, do not pay for certificates unless you understand what you are doing.
@maxried
maxried / parse_rfb_capture.py
Created May 11, 2026 08:12
iDRAC RFB Converter
#!/usr/bin/env python3
"""Vibe-coded tool to convert iDRAC RFB crashvideos and bootvideos to a playable format."""
import argparse
import hashlib
import os
import shutil
import struct
import subprocess
import sys