Skip to content

Instantly share code, notes, and snippets.

View tsukuma's full-sized avatar

Asano Tsukuma tsukuma

  • Tokyo
View GitHub Profile
@tsukuma
tsukuma / Apple_mobile_device_types.txt
Created April 30, 2026 08:34 — forked from adamawolf/Apple_mobile_device_types.txt
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
@tsukuma
tsukuma / create_icns.sh
Created February 14, 2025 08:22 — forked from xtrasmal/create_icns.sh
Create a .icns file and/or png placeholders. Uses imagick to create the placeholders.
#!/bin/bash
# Icons and names
ICONS=(
"icon_16x16.png:16x16"
"icon_16x16@2x.png:32x32"
"icon_32x32.png:32x32"
"icon_32x32@2x.png:64x64"
"icon_128x128.png:128x128"
"icon_128x128@2x.png:256x256"
@tsukuma
tsukuma / DebugLogger.swift
Created November 27, 2024 05:58 — forked from joncardasis/DebugLogger.swift
Reroute print and NSLogs to BOTH Xcode console and a file url [Swift + ObjC Solutions]
//
// DebugLogger.swift
//
// Created by Jonathan Cardasis. on 1/1/18.
// Copyright ©2018 Jonathan Cardasis. All rights reserved.
//
#if DEBUG
import Foundation