Skip to content

Instantly share code, notes, and snippets.

@WitherOrNot
WitherOrNot / tmogged.cmd
Last active September 19, 2026 07:09
i'm sorry dave
<# :
:: I wonder who made Task Manager...
@setlocal DisableDelayedExpansion
@echo off
echo "%*" | find /i "-el" >nul && set _elev=1
set _PSarg="""%~f0""" -el
@leminlimez
leminlimez / Domains.md
Last active September 19, 2026 02:51
A deep dive into the iOS backup/restore system

Domains.plist

Documentation of /System/Library/Backup/Domains.plist. File taken from iOS 16.4 iPhone SE 3. The file was removed in iOS 17.0

Values

Values in the plist. Other than SystemDomains, these are not really important and are just here for preservation sake.

A domain in domains.plist contains keys that determine what gets backed up for what types of devices and where (i.e. iCloud vs iTunes). Not all domains have each key. The only 2 keys that must be in every domain are RootPath and RelativePathsToBackupAndRestore. Some domains have the value ShouldDigest. I am not sure exactly what it means but I have included it for documentation purposes.

  • Version: "24.0"
  • SystemDomains: (Dictionary), see below
@aarondfrancis
aarondfrancis / audit-your-codebase.md
Created August 14, 2026 15:20
A read-only, agent-orchestrated codebase audit prompt for data structures, state modeling, algorithms, and ownership.

Audit this entire codebase for materially useful simplifications in its data structures, state representation, control flow, algorithms, and ownership.

This is an audit-only exercise. Do not edit files, run tests, implement recommendations, commit, or push. Read-only inspection commands are allowed.

You are the coordinator. Continue until the complete codebase has been reviewed and the final audit is validated.

  1. Establish the coverage contract

Inspect the repository and inventory every identifiable subsystem.

"3 step" + a link to a paper/article/report is standing shorthand for: read the full source (not just abstract or preview), then write one continuous summary in three layers of increasing length. Layer 1 is one paragraph: the whole piece at maximum compression, a complete stopping point on its own. Layer 2 is two paragraphs that continue from Layer 1 without restating it, adding the next tier of detail (mechanism, key evidence, how the result was produced). Layer 3 is three paragraphs that continue from Layer 2 (methodology specifics, numbers, context, limitations, implications). Every prefix (1, 1+2, 1+2+3) must read as a self-contained summary at its depth. Mark the three layers visibly so the reader can stop at a boundary: a short bold label on its own line before each layer ("Layer 1", "Layer 2", "Layer 3"). No other headers or formatting inside the layers. Nothing is repeated across layers; each only adds. Compression is the point; analysis serves it. Write in plain, direct sentences for a smart reader o

@primaryobjects
primaryobjects / m3u8.md
Last active September 18, 2026 23:54
How to download m3u8 and ts video movie streams.

m3u8 Downloading

  1. Open Chrome Developer tools and click the Network tab.
  2. Navigate to the page with the video and get it to start playing.
  3. Filter the list of files to "m3u8".
  4. Find master.m3u8 or index.m3u8 and click on it.
  5. Save the file to disk and look inside it.
  6. If the file contains a single m3u8 master url, copy that one instead.
  7. Run the program m3u8x.
  8. Paste the same m3u8 url in both textboxes (URL and Quality URL) and click "Headers" and set the referral url and user-agent from the request as found in Chrome.
@Microtribute
Microtribute / Neue-Haas-Unica-Pro.css
Last active September 18, 2026 23:50
Gmail Desktop Custom Style
/*
* @link https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight#common_weight_name_mapping
*/
/*
* For this specific font we arrage the weights as follows:
* UltraLight 100
* Thin 200
* Light 300
* Regular 400
@trilorian
trilorian / ikea-rodret_E2201_ZHA.yaml
Last active September 18, 2026 23:43 — forked from damru/ikea-rodret_E2201_ZHA-Z2M_control-anything.yaml
IKEA RODRET Dimmer Remote (E2201) - ZHA
blueprint:
name: IKEA Rodret Dimmer v. 1.4
description: "## IKEA RODRET Dimmer remote (v1.87)
Only for use with [ZHA](https://www.home-assistant.io/integrations/zha/)
Available controls (optional):
- Click the **on** or **off** buttons