Skip to content

Instantly share code, notes, and snippets.

Avatar
👀
Open to opportunities

Glenn 'devalias' Grant 0xdevalias

👀
Open to opportunities
View GitHub Profile
@0xdevalias
0xdevalias / converting-json-to-openapi-swagger-spec.md
Created June 2, 2023 01:09
Exploring tools that allow converting a JSON response automagically into an OpenAPI / Swagger spec.
View converting-json-to-openapi-swagger-spec.md

Converting JSON to OpenAPI / Swagger spec

Exploring tools that allow converting a JSON response automagically into an OpenAPI / Swagger spec.

Test JSON Response

{
    "accounts": {
        "default": {
@0xdevalias
0xdevalias / decompile-apple-shortcuts.md
Last active May 22, 2023 05:27
A few notes on decompiling Apple Shortcuts workflows into their raw XML 'source code'.
View decompile-apple-shortcuts.md

Decompile Apple Shortcuts into raw XML 'source code'

A few notes on decompiling Apple Shortcuts workflows into their raw XML 'source code'.

You may also find some benefit in something like this:

Originally posted by @0xdevalias in joshfarrant/shortcuts-js#683 (comment)

@0xdevalias
0xdevalias / chatgpt-reverse-engineering-and-deep-dive-code-exploration.md
Last active May 16, 2023 17:28
Notes on reverse engineering ChatGPT's frontend web app + deep dive explorations of the code
View chatgpt-reverse-engineering-and-deep-dive-code-exploration.md

Reverse engineering ChatGPT's frontend web app + deep dive explorations of the code

Figured it would make sense to create a single gist collating my previous deep dive explorations and notes.. so here it is!

My Deep Dives

May 16th, 2023

https://twitter.com/_devalias/status/1658104103090651140

@0xdevalias
0xdevalias / hidden-fantastical-settings.md
Created May 1, 2023 23:50
Documenting some of the hidden fantastical settings that are available.
View hidden-fantastical-settings.md

Hidden Fantastical Settings

  • Show defaults: defaults read com.flexibits.fantastical2.mac
  • Export defaults as xml plist: defaults export com.flexibits.fantastical2.mac -

Resize the 'all day' section on the 'Week' view

With the 'Week' view, it would be really awesome if we were able to manually resize the top 'all day' section

  • defaults read com.flexibits.fantastical2.mac MaxAllDayHeight
@0xdevalias
0xdevalias / accessing-apple-icloud-synced-password-keychain.md
Last active April 28, 2023 08:30
Some notes on accessing Apple's iCloud Synced Passwords Keychain
View accessing-apple-icloud-synced-password-keychain.md

Accessing Apple's iCloud Synced Passwords Keychain

Some notes on accessing Apple's iCloud Synced Passwords Keychain

(Note: I originally collated/posted a number of the below resources on a comment on Reddit (Ref, before creating this gist to keep better track of them)

Potentially relevant/related:

@0xdevalias
0xdevalias / beeper-custom-theme-styles.md
Last active June 5, 2023 06:14
Custom themes/CSS styling hacks/overrides for Beeper (universal chat app aggregator, built on top of matrix)
View beeper-custom-theme-styles.md
@0xdevalias
0xdevalias / accessing-apple-screen-time-data.md
Last active May 5, 2023 18:12
Some notes on accessing / exporting Apple's Screen Time data
View accessing-apple-screen-time-data.md

Accessing / Exporting Apple's Screen Time Data

Some notes on accessing / exporting Apple's Screen Time data

  • From ChatGPT (Ref):
    • Note: This seems to be wrong, at least on macOS Ventura.. not sure if it was ever correct.
    • On macOS, the Screen Time data is stored in a SQLite database located at:

    • ~/Library/Application Support/ScreenTimeAgent/Database/CoreDuetData.db

    • To access this database, you can use a SQLite browser tool, such as DB Browser for SQLite, which is a free, open-source tool that can be downloaded from their website at https://sqlitebrowser.org/.

  • > Once you have installed DB Browser for SQLite, you can open the CoreDuetData.db file and browse the tables to view the Screen Time data. Note that the data is stored in a compressed format, so you may need to use a SQLite extension or command-line tool to decompress the data for viewing.
@0xdevalias
0xdevalias / reverse-engineering-msi-gamingosd.md
Last active April 13, 2023 00:35
Reverse Engineering MSI GamingOSD (aka: Gaming Intelligence) Protocol (for cross-platform compatibility)
View reverse-engineering-msi-gamingosd.md

Reverse Engineering MSI GamingOSD Protocol

Overview

View macos-launchpad-db-tricks.md