Skip to content

Instantly share code, notes, and snippets.

View Mr-Bossman's full-sized avatar
💤
Slept through school

Jesse Taube Mr-Bossman

💤
Slept through school
View GitHub Profile
@Mr-Bossman
Mr-Bossman / emile-68k-qemu.sh
Last active April 22, 2026 03:11
generate a bootable linux image for 68k using emile
#!/bin/bash
PART_NAME="linux"
IMG_NAME="emile.img"
PART_SIZE=$((1024*1024*1000))
BS=$((1024*1024))
# HD0-OpenRetroSCSI-7.5.3.hda
# https://mega.nz/folder/8hA3AQCJ#pWUq92L70yDXlogy9lk5Dg/file/hkIxnQ4S
#mv HD0-OpenRetroSCSI-7.5.3.hda MacOS.img
cp MacOS.img "$IMG_NAME"
@Mr-Bossman
Mr-Bossman / ronginx.sh
Last active August 3, 2025 20:50
Read-only filesystem support for Nginx
#!/bin/bash
do_install() {
cat <<EOF > /etc/systemd/system/ronginx.service
[Unit]
Description=Read-only filesystem support for Nginx
After=tmp.mount
[Service]
Type=oneshot
@Mr-Bossman
Mr-Bossman / Dockerfile
Last active November 19, 2025 15:44
booting mips64el Linux in qemu using Windows NT4 ARC ROM
# Dockerfile to build a bootable Debian image for MIPS Magnum platform using GRUB as bootloader
# Steps to build and run:
# mkdir tmpdir && cd tmpdir
# podman build -v $(pwd):/workspace --target build .
# podman build -v $(pwd):/workspace --target grubexe .
# podman build -v $(pwd):/workspace --device /dev/fuse --cap-add SYS_ADMIN --target rootfs .
# podman build -v $(pwd):/workspace --target final .
# qemu-system-mips64el -M magnum -m 128 -net nic -net user -global ds1225y.filename=nvram -bios NTPROM.RAW -hda disk.img
# rootfs may take a while, you can use your host debootstrap to speed it up.