Skip to content

Instantly share code, notes, and snippets.

@zytzjx
zytzjx / gist:54415e50b95bc359715d0aa09830f774
Created January 22, 2019 18:36
iPhone ActivationState & SIMStatus
_CFStringMakeConstantString("ActivationState");
_CFStringMakeConstantString("Unactivated");
_CFStringMakeConstantString("Activated");
_CFStringMakeConstantString("FactoryActivated");
_CFStringMakeConstantString("SoftActivation");
_CFStringMakeConstantString("MismatchedIMEI");
_CFStringMakeConstantString("MismatchedICCID");
_CFStringMakeConstantString("MissingSIM");
_CFStringMakeConstantString("Unlocked");
_CFStringMakeConstantString("WildcardActivated");
@irazasyed
irazasyed / homebrew-permissions-issue.md
Last active September 1, 2026 14:20
Homebrew: Permissions Denied Issue Fix (OS X / macOS)

Homebrew Permissions Denied Issues Solution

sudo chown -R $(whoami) $(brew --prefix)/*

@adamawolf
adamawolf / Apple_mobile_device_types.txt
Last active November 25, 2026 05:49
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S