Skip to content

Instantly share code, notes, and snippets.

View clurect's full-sized avatar
💻
Working

Stephen Wright clurect

💻
Working
View GitHub Profile
@clurect
clurect / 00-README.md
Created November 12, 2025 22:00 — forked from hjanuschka/00-README.md
Chromium macOS SDK Compatibility Patch - Fix for older SDKs missing kCGBitmapByteOrderInfoMask and kCGImageByteOrder32Host

Tested with: Xcode 15.4 (SDK 14.5)

Apply

cd /path/to/chromium/src
git apply 1.patch
autoninja -C out/Default chrome
@clurect
clurect / forked.js
Last active November 6, 2024 17:14
Electron with children processes
const process = require('process')
process.on('message', ()=> {
console.log('mess')
process.send('ahoy')
setTimeout(() => {
process.send('kill')
}, 3000)
})