Skip to content

Instantly share code, notes, and snippets.

@hyugogirubato
hyugogirubato / linux_imobiledevice.sh
Created December 29, 2025 10:27
Bash script to build and install libimobiledevice, usbmuxd, and related iOS device libraries from source on Debian/Ubuntu systems.
#!/bin/bash
# Exit script on any error
set -e
# Install necessary packages and dependencies
sudo apt update
sudo apt install -y \
build-essential \
checkinstall \
@hyugogirubato
hyugogirubato / retropy.py
Last active August 31, 2025 16:59
Generate Python client methods from Retrofit definitions.
import argparse
import re
from pathlib import Path
def parse_keys(key: str, value: str) -> dict:
"""
Parses Retrofit annotations (like @Path, @Query, etc.) and extracts their values as Python data types.
Args: