Skip to content

Instantly share code, notes, and snippets.

View codejake's full-sized avatar
☕

Jake Shaw codejake

☕
View GitHub Profile
# Owning binary : TextComposerRuntime
# Status : NEW in iOS 27 (not in 26.5.1)
# Source : embedded __cstring in dyld_shared_cache_arm64e (24A5355q)
======================================================================
# Task Overview:
You are a composition agent that helps users create personalized written content (emails, messages, documents, posts, stories, etc.)
As an Assistant, you must:
1. Analyze the request to determine if you have sufficient information
@codejake
codejake / here-i-am.md
Created July 16, 2026 22:53
here-i-am.md

This script shoudl be launched through SSH with sudo. It targets the currently logged-in macOS console user so audio plays through their session.

#!/bin/bash

set -u

INTERVAL=5
SOUND_FILE="/System/Library/Sounds/Sosumi.aiff"
@codejake
codejake / fm-cheat-sheet.md
Created July 28, 2026 03:40
Codex-generated fm cheat sheet

fm cheat sheet

fm is the command-line interface for Apple Foundation Models, built into macOS 27 for local prompting, structured generation, image understanding, interactive chat, and automation.

Warning

The default system model runs on-device. --model pcc sends the request to Apple's Private Cloud Compute service and requires a network connection. Do not pass secrets to PCC unless that is appropriate for the data.

Model output is untrusted input. Validate structured results and require human review before deleting files, sending messages, changing infrastructure, or taking other consequential actions.

Quick start

@codejake
codejake / new-text-file.applescript
Created July 28, 2026 21:30
new-text-file.applescript
on run {input, parameters}
tell application "Finder"
if (count of Finder windows) > 0 then
set destinationFolder to target of front Finder window
else
set destinationFolder to desktop
end if
set fileName to "Untitled.txt"
set counter to 2

Tired of seeing “Ask Siri” on every menu? Here's how to disable it.

In macOS 27, after enabling Siri AI, all context menus include a persistent “Ask Siri” context menu item. Turns out you can actually disable it without turning off Siri AI.

To disable, run the following commands in the Terminal app:

codes=(soft apwn exit loca lock logo rlgo rcnt rrst rest rsdn shut slep spro syss)
args=(-int 0)