Skip to content

Instantly share code, notes, and snippets.

View dwatteau's full-sized avatar

dwa dwatteau

  • 16:02 (UTC +01:00)
View GitHub Profile
@tkafka
tkafka / Detect electron apps causing macOS Tahoe lag.md
Last active March 10, 2026 05:41
Detect Electron apps on mac where the Electron hasn't yet been updated to fix the system wide lag
@mrdaemon
mrdaemon / imaging.md
Last active February 9, 2026 20:39
Archiving CDROMs on Linux, A Quick and Dirty Guide

A quick and dirty guide to dumping images of your CDs and DVDs on Linux

https://untrusted.website/@mr_daemon

This roughly describes the process I use to dump my old CDs to image files while attempting to retain as much of the original data as possible.

This guide is very terminal oriented but it should remain accessible.

This covers mostly data cds such as games and software, and has mixed

@andshrew
andshrew / ps3_hdd_decryption_notes.md
Last active January 8, 2026 13:48
PS3 Linux / FreeBSD Drive Decryption Notes

These are the steps I took on Linux Mint using the PS3 HDD decryption helper

Reference discussion: HDD mounting and decryption on Linux

Install qemu for PowerPC64 and download FreeBSD Image

  1. qemu-system-ppc64 is used to emulate a PowerPC CPU
    Install via:
    sudo apt install qemu-system-ppc
  2. FreeBSD has some instructions for using qemu with PowerPC64 here.
    They have pre-built disk files which you can download here.
@max-i-mil
max-i-mil / linux-vms-on-apple-m1-with-networking.md
Last active February 17, 2026 09:45
Short summary to run Linux VMs on an Apple M1 host using QEMU, libvirt and HVF with a working network setup

Linux Virtual Machines with Private Network on an Apple M1 Device

Background

The aim was to be able to:

  1. Run multiple Linux VMs on an Apple M1/ARM device
  2. Use Apple's HVF for native performance speeds
  3. Configure VMs to allow network access to each other
  4. Configure VMs to allow access to the internet
  5. Not rely on custom modifications of software
@Gemba
Gemba / touche_savegame_patcher.py
Last active March 14, 2026 20:52
Modify 'Touché: The Adventures of the Fifth Musketeer' savegames to overcome unsolvable puzzles due to logic errors in the original game script. See also: https://wiki.scummvm.org/index.php?title=Touche/TODO
#! /usr/bin/env python3
# Modify 'Touché: The Adventures of the Fifth Musketeer' savegames to overcome
# unsolvable puzzles due to logic errors in the original game script.
#
# At some point you may be stuck, because:
# You can not take a flask any longer which is needed or you can not
# leave the castle to do some puzzle to get a specific item.
#
# If this does ring a bell you have found the right place.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UnifiedBar</key>
<dict>
<key>DisclosureRequired</key>
<string>ace440ac-b4f6-4b43-aade-02bba1589aef</string>
<key>Enabled</key>
<false/>
@nico
nico / blocks.txt
Last active April 30, 2025 15:24
unicode blocks for terminal UI drawing; lots new in unicode 13
General Punctuation
U+201x ‐ ‒ – — ― ‖ ‗ ‘ ’ ‚ ‛ “ ” „ ‟
U+202x † ‡ • ‣ ․ ‥ … ‧
U+203x ‰ ‱ ′ ″ ‴ ‵ ‶ ‷ ‸ ‹ › ※ ‼ ‽ ‾ ‿
U+204x ⁀ ⁁ ⁂ ⁃ ⁄ ⁅ ⁆ ⁇ ⁈ ⁉ ⁊ ⁋ ⁌ ⁍ ⁎ ⁏
U+205x ⁐ ⁑ ⁒ ⁓ ⁔ ⁕ ⁖ ⁗ ⁘ ⁙ ⁚ ⁛ ⁜ ⁝ ⁞
Arrows
U+219x ← ↑ → ↓ ↔ ↕ ↖ ↗ ↘ ↙ ↚ ↛ ↜ ↝ ↞ ↟
U+21Ax ↠ ↡ ↢ ↣ ↤ ↥ ↦ ↧ ↨ ↩ ↪ ↫ ↬ ↭ ↮ ↯
@wader
wader / modd.conf
Last active July 14, 2021 02:28
Hex Fiend template development tricks
WAV.tcl {
prep: osascript \
-e 'tell application "System Events"' \
-e ' tell process "Hex Fiend"' \
-e ' click pop up button 1 of window 1' \
-e ' click menu item "WAV" of menu 1 of pop up button 1 of window 1' \
-e ' end tell' \
-e 'end tell'
}
@ross-newman
ross-newman / QEMU PPC Setup for Debian
Last active October 27, 2025 13:53
Building PPC Linux code using QEMU on Ubuntu 18.04 LTS
#!/bin/bash
echo "Building Debina 10 QEMU instance..."
wget https://cdimage.debian.org/cdimage/ports/10.0/powerpc/iso-cd/debian-10.0-powerpc-NETINST-1.iso
sudo apt install qemu
# Create new disk for install
qemu-img create -f qcow2 debian10.qcow2 2000M
# Boot the install image
qemu-system-ppc -L pc-bios -boot d -M mac99 -m 1024 -net nic,model=sungem -net user -hda debian10.qcow2 -cdrom ./debian-10.0-powerpc-NETINST-1.iso -g 1024x768x8
# Run the image
qemu-system-ppc -L pc-bios -boot c -prom-env "boot-device=hd:,\yaboot" -prom-env "boot-args=conf=hd:,\yaboot.conf" \
@mohanpedala
mohanpedala / bash_strict_mode.md
Last active March 18, 2026 14:25
set -e, -u, -o, -x pipefail explanation