Made the Find My export CLI buildable against published fork dependencies, fixed export filename collisions, improved Apple ID authentication and reuse, investigated the OpenBubbles upstream state, fixed the iCloud Keychain and PCS failures observed during live testing, fixed the naming-record association, split the resulting dependency changes into publishable fork commits, added interactive escrow bottle deletion, replaced the hardcoded device identity with
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| Convert FindMy data into an OpenTagViewer-compatible zip archive. | |
| Scans a directory for both FindMy.py JSON files and decrypted plist files, | |
| deduplicates by accessory identifier, and produces a zip that can be imported | |
| in the OpenTagViewer Android app. | |
| The structure follows the wiki guide: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env -S deno run --allow-read --allow-write | |
| import { readAll } from "jsr:@std/io@0.225.2/read-all"; | |
| import { parseArgs } from "jsr:@std/cli@1.0.24/parse-args"; | |
| import { parse } from "npm:@plist/parse@1.1.0"; | |
| import { Value, Dictionary } from "npm:@plist/common@1.1.0"; | |
| async function readStdinAsArrayBuffer(): Promise<ArrayBuffer> { | |
| const bytes = await readAll(Deno.stdin); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define _GNU_SOURCE | |
| #include <arpa/inet.h> | |
| #include <netinet/in.h> | |
| #include <netinet/ip.h> | |
| #include <stdarg.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <sys/socket.h> | |
| #include <unistd.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| blueprint: | |
| name: Zigbee2MQTT Action Trigger | |
| description: Trigger an action when a Zigbee2MQTT event occurs. | |
| domain: automation | |
| input: | |
| event_entity: | |
| name: Event Entity | |
| description: "Select the Zigbee2MQTT event entity that will trigger this automation. It should have an `event_type` attribute, which will be checked for conditions." | |
| selector: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import serial | |
| import time | |
| import argparse | |
| import logging | |
| import sys | |
| """ | |
| examples: | |
| path.py --pinlen_min=6 --pinlen_max=6 --log_file l6_dbg.txt --progress | |
| mp64 '?d?d?d?d?d?d' | path.py --infile=- --log_file l6_dbg.txt --progress |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define _GNU_SOURCE | |
| #include <sys/syscall.h> | |
| #include <sys/mount.h> | |
| #include <sys/stat.h> | |
| #include <sys/types.h> | |
| #include <sched.h> | |
| #include <unistd.h> | |
| #include <fcntl.h> | |
| #include <stdio.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "net" | |
| "sync" | |
| "github.com/miekg/dns" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # Step 0: Log in | |
| if ! op whoami >/dev/null 2>/dev/null; then | |
| eval "$(op signin)" | |
| fi | |
| if [ "$(bw status | jq -r .status)" != "unlocked" ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "io/ioutil" | |
| "os" | |
| "k8s.io/apimachinery/pkg/runtime" | |
| "k8s.io/apimachinery/pkg/runtime/serializer" | |
| "k8s.io/apimachinery/pkg/runtime/serializer/json" |
NewerOlder