Skip to content

Instantly share code, notes, and snippets.

@devnoname120
devnoname120 / macos_docker_xorg_forwarding.md
Last active October 8, 2026 14:24
Xorg/X11 forwarding on macOS and docker

Xorg/X11 forwarding on macOS and docker

In order to run Xorg apps on macOS you will need to install xquartz:

brew install --cask --no-quarantine xquartz

And then configure it

@devnoname120
devnoname120 / My macOS setup.md
Last active August 1, 2026 17:15
My macOS setup

ℹ️ Enable iCloud end-to-end encryption:

  • Nobody knows that, but iCloud actually supports end-to-end encryption (see “Advanced Data Protection for iCloud”) but it’s disabled by default. If you care about data privacy, you should turn it on.
    • System settings → Apple ID → iCloud → Set Advanced Data Protection to On.
    • System settings → Apple ID → iCloud → Disable Access iCloud Data on the Web.
  • It supports almost all the native Apple apps, with the notable exceptions of iCloud Mail, Contacts, and Calendars. See official data protection matrix for more info.

Table of Contents

@devnoname120
devnoname120 / ios_findmy_uris.md
Created February 2, 2026 13:13
iOS Find My URIs
  • Find My → People → (root): findmy://friends or findmy://people
  • Find My → People → [someone]: findmy://friend/[Person slug]
  • Find My → Devices → (root): findmy://devices
  • Find My → Items → (root): findmy://items
  • Find My → Items → [your item]: findmy://bypass/item?id=[Your item UUID string]&op=selectItem
  • Find My → Me → (root): findmy://me
@devnoname120
devnoname120 / launchd.org
Created November 17, 2025 00:09 — forked from dabrahams/launchd.org
Notes on Apple's under-documented launchd

Notes on Apple’s Under-Documented LaunchD

Start triggers fire regardless of other conditions

For example, StartOnMount=true will cause the job to start when anything is mounted even if other conditions, e.g. QueueDirectories, say the job should not run

Rhythm of repeating jobs

The StartInterval timer begins ticking at the moment the plist is loaded. If something like QueueDirectories is preventing the job from

@devnoname120
devnoname120 / launchd.org
Created November 17, 2025 00:09 — forked from dabrahams/launchd.org
Notes on Apple's under-documented launchd

Notes on Apple’s Under-Documented LaunchD

Start triggers fire regardless of other conditions

For example, StartOnMount=true will cause the job to start when anything is mounted even if other conditions, e.g. QueueDirectories, say the job should not run

Rhythm of repeating jobs

The StartInterval timer begins ticking at the moment the plist is loaded. If something like QueueDirectories is preventing the job from

@devnoname120
devnoname120 / README.md
Created December 16, 2024 18:38
Fix Docker rclone plugin

This script aims to fix the following error:

$ docker compose up -d --build
Error response from daemon: get audiobookshelf_audiobooks: error while checking if volume "audiobookshelf_audiobooks" exists in driver "rclone:latest": error looking up volume plugin rclone:latest: plugin rclone:latest found but disabled
$ docker plugin enable rclone
Error response from daemon: dial unix /run/docker/plugins/7c5c781c3b705d4caf5418cc5ed462b8e1b81596df43129b0eac55ea2047ad2b/rclone.sock: connect: no such file or directory
@devnoname120
devnoname120 / 1757428346.json
Created September 9, 2025 14:43
Karabiner Elements — Citrix: Remap Mac shortcuts to Windows equivalents
{
"title": "Citrix Viewer: map Cmd shortcuts to Ctrl (exact match)",
"rules": [
{
"description": "Citrix Viewer (com.citrix.receiver.icaviewer.mac): Cmd→Ctrl remaps",
"manipulators": [
{
"type": "basic",
"from": { "key_code": "c", "modifiers": { "mandatory": ["command"] } },
"to": [ { "key_code": "c", "modifiers": ["control"] } ],
@devnoname120
devnoname120 / umount.cocci
Created May 24, 2025 06:12
umount.cocci for Linux < 3.12
@has_can_umount@
identifier path, flags;
@@
can_umount(const struct path *path, int flags) { ... }
// Backport for Linux < 5.9
// File: fs/namespace.c
@path_umount depends on file in "namespace.c" && never has_can_umount@
@@
do_umount(...) { ... }
@devnoname120
devnoname120 / aREADME.md
Last active February 28, 2025 09:05
All vita 3.60 NIDs of User and Kernel exports

DB Lookup

Overview

This file is a reference database of every exported functions on a PS Vita running firmware retail 3.60.

Why?

This is helpful to create db.yml tools. For example, I can make sure that every NID of the vitasdk actually exists. I can also use this to find the library and module corresponding to functions in a NID list.

@devnoname120
devnoname120 / powerpoint-force-reapply-note-master.vba
Last active February 13, 2025 20:29
PowerPoint — Force to reapply the Notes Master (i.e. the template with the design/layout/style of all notes) to the notes on each slide — It's useful if you change the Notes Master design but Powerpoint only applies it to new slide notes you create so you're stuck with having your old notes in the old style
Sub RestoreNotesPages()
Dim oSld As Slide
Dim oShp As Shape
Dim lIdx As Long
On Error Resume Next
With ActivePresentation
For Each oSld In .Slides
With oSld.NotesPage.Shapes