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 / 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 November 4, 2025 11:50
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 October 3, 2025 09:37
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 October 20, 2025 21:52
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.
@0xdevalias
0xdevalias / event-workflow-automation-systems.md
Last active September 16, 2025 06:35
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 September 1, 2025 09:46
Some notes on running Windows games on macOS, including ARM-based M-series Macs.
@0xdevalias
0xdevalias / running-intel-software-on-apple-silicon-macs-x86-64-virtualization-emulation-on-arm.md
Last active September 1, 2025 09:38
Some notes on running x86/64 software on modern ARM devices like Apple’s M-series, covering tools, emulation, and virtualization options.

Running Intel Software on Apple Silicon Macs (x86/64 Virtualization & Emulation on ARM)

Some notes on running x86/64 software on modern ARM devices like Apple’s M-series, covering tools, emulation, and virtualization options.

Table of Contents