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 / proposal-using-github-discussions-for-automated-moderator-notices.md
Created October 3, 2025 08:18
Some notes on a proposal for using GitHub Discussions to provide automated moderator notices (eg. handling +1 comment spam) with offense tracking and escalation.
@0xdevalias
0xdevalias / reporting-chrome-performance-issues.md
Last active October 15, 2025 03:28
Some quick notes copied out of a ChatGPT convo + some manual sources that I used recently when trying to gather appropriate resources to report a Google Chrome (aka: Chromium) performance issue / memory leak.

Reporting Chrome Performance Issues

Some quick notes copied out of a ChatGPT convo + some manual sources that I used recently when trying to gather appropriate resources to report a Google Chrome (aka: Chromium) performance issue / memory leak.

Table of Contents

@0xdevalias
0xdevalias / hombrew-block-review-context.md
Last active October 2, 2025 09:00
Some notes, links and references related to me being blocked from the Homebrew GitHub organisation in ~2023 after what, as best as I am able to conclude, was mix of misunderstanding and miscommunications; collected as context to support a review of the facts, and hopefully a reconsideration of the block.

Homebrew Block Review Context

Some notes, links and references related to me being blocked from the Homebrew GitHub organisation in ~2023 after what, as best as I am able to conclude, was mix of misunderstanding and miscommunications; collected as context to support a review of the facts, and hopefully a reconsideration of the block.

Table of Contents

@0xdevalias
0xdevalias / reverse-engineering-java.md
Created October 1, 2025 07:32
Some notes on tools and techniques for reverse engineering Java programs.
@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 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