Skip to content

Instantly share code, notes, and snippets.

View song1900's full-sized avatar
πŸ˜Άβ€πŸŒ«οΈ
?

Woojin Song song1900

πŸ˜Άβ€πŸŒ«οΈ
?
View GitHub Profile
@song1900
song1900 / Woojin Song's GitHub Stats
Last active November 3, 2025 00:59
Github Stats
⭐ Total Stars: 2
βž• Total Commits: 1,739
πŸ”€ Total PRs: 551
🚩 Total Issues: 11
πŸ“¦ Contributed to: 12
@song1900
song1900 / GitCommitBestPractices.md
Created March 11, 2025 07:04 — forked from luismts/GitCommitBestPractices.md
Git Tips and Git Commit Best Practices

Git Commit Best Practices

Basic Rules

Commit Related Changes

A commit should be a wrapper for related changes. For example, fixing two different bugs should produce two separate commits. Small commits make it easier for other developers to understand the changes and roll them back if something went wrong. With tools like the staging area and the ability to stage only parts of a file, Git makes it easy to create very granular commits.

Commit Often

Committing often keeps your commits small and, again, helps you commit only related changes. Moreover, it allows you to share your code more frequently with others. That way itβ€˜s easier for everyone to integrate changes regularly and avoid having merge conflicts. Having large commits and sharing them infrequently, in contrast, makes it hard to solve conflicts.

@song1900
song1900 / Apple_mobile_device_types.txt
Created February 19, 2025 05:48 — 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
@song1900
song1900 / gdpr_message.swift
Created January 4, 2024 10:43
μ• λ“œλͺΉ GDPR λ©”μ‹œμ§€ κ΅¬ν˜„ 일뢀
func prepareGDPRMessage(){
#if DEBUG
// TODO: GDPR ν…ŒμŠ€νŠΈμ‹œμ—λ§Œ μ‚¬μš©
UMPConsentInformation.sharedInstance.reset()
let parameters = UMPRequestParameters()
let debugSettings = UMPDebugSettings()
debugSettings.testDeviceIdentifiers = [ASIdentifierManager.shared().advertisingIdentifier.uuidString]