Skip to content

Instantly share code, notes, and snippets.

View kode54's full-sized avatar

Christopher Snowhill kode54

View GitHub Profile
@peteristhegreat
peteristhegreat / Readme.md
Last active July 3, 2025 22:33
Realtek bluetooth usb adapter RTL8671b
@thalamus
thalamus / ArchLinuxARM-M1
Last active February 23, 2025 12:24
How to boot Arch Linux ARM in QEMU (patched for M1)
/*
* This document is provided to the public domain under the
* terms of the Creative Commons CC0 public domain license
*/
How to boot Arch Linux ARM in QEMU (patched for M1)
Prerequisites:
QEMU - patched for M1 processors - patches: https://github.com/utmapp/qemu
@akihikodaki
akihikodaki / README.en.md
Last active July 1, 2025 19:31
Linux Desktop on Apple Silicon in Practice

Linux Desktop on Apple Silicon in Practice

I bought M1 MacBook Air. It is the fastest computer I have, and I have been a GNOME/GNU/Linux user for long time. It is obvious conclusion that I need practical Linux desktop environment on Apple Silicon.

Fortunately, Linux already works on Apple Silicon/M1. But how practical is it?

  • Two native ports exist.
@rexim
rexim / main.rs
Last active October 31, 2024 20:32
The Most Memory Safe Buffer Overflow in Rust!
// The Most Memory Safe Buffer Overflow in Rust!
//
// Consider all the code below under Public Domain
//
// How to build:
// $ rustc main.rs
//
// Wrong password:
// $ printf "hello\n" | ./main
//
@sigio
sigio / fixsubs.py
Created February 29, 2024 23:24
Fix hidive srt subs for mkv
#!/usr/bin/env python3
#
# Fix (hidive) srt subtitles for mkv player
# These subs seem to have multi-line captions with a 1ms start offset
# mpv then prints these in the wrong order (issue #7070)
# This script will merge subtitle lines correctly for mpv
#
# Public domain (created mostly with ChatGPT)
#
import argparse
@jetfir3
jetfir3 / download_fusion.sh
Last active July 12, 2025 13:58
Download VMware Fusion Pro Without a Broadcom Account
#!/usr/bin/env bash
# Download VMware Fusion for macOS without Broadcom account
#
# Use '-k' to keep the download file compressed, exiting after download.
# Use '-v VERSION' to specify desired version (13.0.0 or higher required).
BASE_URL="https://softwareupdate-prod.broadcom.com/cds/vmw-desktop"
CDN_MIRROR="softwareupdate-prod.broadcom.com:443:softwareupdate-prod.broadcom.com.cdn.cloudflare.net:443"