Skip to content

Instantly share code, notes, and snippets.

View 0xdevalias's full-sized avatar
👀
Open to opportunities

Glenn 'devalias' Grant 0xdevalias

👀
Open to opportunities
View GitHub Profile
@0xdevalias
0xdevalias / technical-design-docs-rfcs-adrs-decision-logs-etc.md
Created October 1, 2025 01:28
Some notes on technical design documentation practices such as RFCs, ADRs, decision logs, and related approaches for software projects.
@0xdevalias
0xdevalias / toggl-track-sqlite-coredata-macos.md
Last active October 7, 2025 05:02
Some notes on exploring the Toggl Track macOS app's CoreData-backed SQLite database.
@0xdevalias
0xdevalias / zsh-script-patterns-handling-nested-function-exits-and-returns-without-killing-your-shell.md
Created September 19, 2025 12:05
Examples of zsh script patterns for exiting from nested functions — showing how exit inside helpers can kill your shell, why that happens, and safer alternatives using return, subshells, or encapsulated functions.

Zsh Script Patterns: Handling Nested Function Exits and Returns Without Killing Your Shell

This guide explores different ways to structure zsh scripts and functions when you want to exit early from inside a nested function. The main pitfall is that exit inside a sourced script or function doesn’t just stop the function — it can terminate your whole shell session. The examples here show common patterns people try, the problems they run into, and safer alternatives. Each section highlights what happens when you run or source the code, where things can go wrong, and why the simplest approach — a basic standalone script — is usually still the best.

Table of Contents

@0xdevalias
0xdevalias / passwords-pane-url-anchors-deepdive.md
Last active October 3, 2025 07:45
Some notes on reverse-engineering the macOS Passwords System Settings pane — following its path from `Passwords.prefPane` to ExtensionKit `PasswordsSettingsExtension.appex`, uncovering dependencies in private frameworks and the dyld shared cache, and probing for hidden `x-apple.systempreferences` URL anchors or parameters beyond the documented b…

Reverse Engineering macOS Passwords Pane Internals: Searching for Hidden x-apple.systempreferences URL Anchors through Passwords.prefPane, PasswordsSettingsExtension.appex, PrivateFrameworks (PasswordManagerUI.framework, Settings.framework), dyld Cache, etc

Some notes on reverse-engineering the macOS Passwords System Settings pane — following its path from Passwords.prefPane to ExtensionKit PasswordsSettingsExtension.appex, uncovering dependencies in private frameworks and the dyld shared cache, and probing for hidden x-apple.systempreferences URL anchors or parameters beyond the documented basics.

Table of Contents

{
"actions":[
{
"title":"Open Tweet",
"regex":"https?://(mobile\\.|www\\.|m\\.)?twitter\\.com/(@?[a-zA-Z0-9_]{1,15}/)?(status|i/web/status|statuses|i/topics/tweet)/(\\d+).*$",
"testInputs":[
"https://twitter.com/zpower/status/588561590997352448",
"https://mobile.twitter.com/kiebk/status/599159327056863232?cn=cmVwbHk%3D&refsrc=email",
"https://twitter.com/i/web/status/814237378382622720",
"https://twitter.com/hamburger/statuses/221225038941126657",
@0xdevalias
0xdevalias / integrating-workflow-automation-tools-apple-shortcuts-alfred-bettertouchtool-etc-via-cli-etc.md
Last active August 12, 2026 09:54
Some notes on integrating workflow automation tools such as Apple Shortcuts / Alfred / BetterTouchTool / etc via CLI and other methods.

Integrating Workflow Automation Tools (Apple Shortcuts, Alfred, BetterTouchTool, etc) via CLI, etc

Some notes on integrating workflow automation tools such as Apple Shortcuts / Alfred / BetterTouchTool / etc via CLI and other methods.

Table of Contents

@0xdevalias
0xdevalias / web-scraping-browser-rendering.md
Last active January 15, 2026 13:55
Some notes on techniques for extracting and rendering web content, including approaches to automation, limitations, and emerging service models.
@0xdevalias
0xdevalias / model-context-protocol-tools.md
Last active July 27, 2026 04:37
Some notes on Model Context Protocol (MCP) tools I’ve stumbled across that seem interesting or useful to me personally — not aiming to be a catch-all list.

Model Context Protocol (MCP) Tools

Some notes on Model Context Protocol (MCP) tools I’ve stumbled across that seem interesting or useful to me personally — not aiming to be a catch-all list.

Table of Contents

@0xdevalias
0xdevalias / event-workflow-automation-systems.md
Last active August 12, 2026 09:55
Some notes on event and workflow automation systems — tools and platforms for automating processes, orchestrating tasks, and enabling durable, event-driven workflows; spanning open-source projects, cloud services, and distributed systems.

Event / Workflow Automation Systems

Some notes on event and workflow automation systems — tools and platforms for automating processes, orchestrating tasks, and enabling durable, event-driven workflows; spanning open-source projects, cloud services, and distributed systems.

Table of Contents

@0xdevalias
0xdevalias / windows-gaming-on-macos-including-arm-based-m-series-macs.md
Last active December 2, 2026 14:06
Some notes on running Windows games on macOS, including ARM-based M-series Macs.