Skip to content

Instantly share code, notes, and snippets.

View Navimark's full-sized avatar
🍋
Focusing

Navimark

🍋
Focusing
View GitHub Profile
@adamawolf
adamawolf / Apple_mobile_device_types.txt
Last active November 18, 2024 09:05
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
ACTION
AD_HOC_CODE_SIGNING_ALLOWED
ALTERNATE_GROUP
ALTERNATE_MODE
ALTERNATE_OWNER
ALWAYS_SEARCH_USER_PATHS
ALWAYS_USE_SEPARATE_HEADERMAPS
APPLE_INTERNAL_DEVELOPER_DIR
APPLE_INTERNAL_DIR
APPLE_INTERNAL_DOCUMENTATION_DIR
@ArchieR7
ArchieR7 / apns.py
Created April 26, 2017 06:27
python apple push notification server by auth key
# -*- coding: utf8 -*-
import jwt
import time
import json
import os
from hyper import HTTPConnection
class ApnsPusher:
def __init__(self, apns_key_id = '', apns_key_name = '.p8', team_id = '', bundle_id = ''):