Skip to content

Instantly share code, notes, and snippets.

View League2EB's full-sized avatar
🏠
Working from home

League2EB

🏠
Working from home
View GitHub Profile
@rampfox
rampfox / TNT’s certificate.md
Last active June 26, 2024 16:11
If Crashes when opening Mac Cracked Apps

Apple removed TNT’s certificate, so the app will crash after July 12th. The current solution is to sign it yourself.

Run in Terminal

codesign --force --deep --sign - /Applications/name.app

if Permission denied don't forget to add sudo

example:

import UIKit
struct Action {
let title: String
let style: UIAlertAction.Style
let action: () -> Void
}
extension Action {
static func `default`(_ title: String, action: @escaping () -> Void) -> [Action] {
@5SMNOONMS5
5SMNOONMS5 / 台灣身分證認證.swift
Last active February 13, 2023 02:42
台灣身分證認證 swift 5
//A 台北市 J 新竹縣
//B 台中市 K 苗栗縣 T 屏東縣
//C 基隆市 U 花蓮縣
//D 台南市 M 南投縣 V 台東縣
//E 高雄市 N 彰化縣 W 金門縣
//F 台北縣 O 新竹市 X 澎湖縣
//G 宜蘭縣 P 雲林縣
//H 桃園縣 Q 嘉義縣 Z 連江縣
//I 嘉義市
@boodle
boodle / Making Apple Developer certificates on Linux.md
Last active May 5, 2024 09:07
Making Apple Developer certificates on Linux
  1. Create a new directory;
mkdir Apple\ Enterprise
cd Apple\ Enterprise
  1. Generate a certificate signing request
openssl req -nodes -newkey rsa:2048 -keyout ios_enterprise.key -out CertificateSigningRequest.certSigningRequest