Skip to content

Instantly share code, notes, and snippets.

View bradhowes's full-sized avatar
🏛️
Constitutional Crisis

Brad Howes bradhowes

🏛️
Constitutional Crisis
View GitHub Profile
@bradhowes
bradhowes / repro.el
Created August 1, 2025 20:30
Bits of frame manipulation from my init.el to reproduce positioning issue
;;; init.el --- load the full configuration -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:
(defconst my/screen-laptop (intern "my/screen-laptop")
"Symbol to indicate display is MacBook Pro 16\" laptop screen.")
(defconst my/screen-4k (intern "my/screen-4k")
"Symbol to indicate display is 4K screen.")
@bradhowes
bradhowes / DSPHeaders-coverage.json
Last active July 27, 2025 16:43
DSPHeaders coverage
{"label":"Coverage","message":"100.00%","schemaVersion":1,"color":"success"}
@bradhowes
bradhowes / auv3-support--coverage.json
Last active July 27, 2025 15:50
auv3-support coverage
{"label":"Coverage","message":"","schemaVersion":1,"color":"success"}
@bradhowes
bradhowes / SF2LibAU-coverage.json
Last active August 10, 2025 02:34
Code coverage for SF2LibAU
{"label":"Coverage","message":"90.31%","schemaVersion":1,"color":"success"}
{"label":"Coverage","message":"93.27%","schemaVersion":1,"color":"success"}
@bradhowes
bradhowes / swift-grab-tca-coverage.json
Last active February 3, 2025 21:14
swift-grab-tca-coverage
{"label":"Coverage","message":"12.34%","schemaVersion":1,"color":"success"}
@bradhowes
bradhowes / macOS_ISO.md
Created January 14, 2025 21:07
macOS Installer to ISO
  • Download OS from AppStore (eg macOS Sonoma) -- do not install

  • Open terminal to get shell prompt. Go to desktop:

% cd ~/Desktop
  • Create DMG container (note 1 hyphen in "-volume" and other args)
@bradhowes
bradhowes / gist:e4db684fa782f913d0454750bb103c72
Last active July 15, 2025 21:22
Using msmtp on macOS with iCloud
  • Install msmtp using brew install msmtp
  • Configure msmtp using the following:
# Set default values for all the accounts.
defaults
auth on
logfile ~/.maildir/msmtp.log
port 587
protocol smtp
@bradhowes
bradhowes / AUv3Controls-coverage.json
Last active July 27, 2025 15:11
AUv3Controls Coverage
{"label":"Coverage","message":"79.19%","schemaVersion":1,"color":"success"}
@bradhowes
bradhowes / Makefile
Created October 20, 2022 17:23
Code Coverage from Xcode via Make
# XCode scheme to build and test
SCHEME = Searching
# The sim to use when running tests
PLATFORM_IOS = iOS Simulator,name=iPhone SE (3rd generation)
# Coomand line options for xcodebuild that incorporate the above values
DEST = -project Searching.xcodeproj -scheme "$(SCHEME)" -destination platform="$(PLATFORM_IOS)"
# The pattern to use when matching lines from xcov output. The coverage total will be the average