Skip to content

Instantly share code, notes, and snippets.

View alemohamad's full-sized avatar

Ale Mohamad ⌘ alemohamad

View GitHub Profile
@IsaacXen
IsaacXen / README.md
Last active April 29, 2026 08:00
(Almost) Every WWDC videos download links for aria2c.
@iccir
iccir / SimStatusBar.sh
Last active June 2, 2025 12:20
iOS Simulator Status Bars
# iPhone with home button
xcrun simctl status_bar booted clear
xcrun simctl status_bar booted override \
--time "9:41 AM" \
--wifiBars 3 --cellularBars 4 --operatorName ""
xcrun simctl spawn booted defaults write com.apple.springboard SBShowBatteryPercentage 1
# iPhone X
xcrun simctl status_bar booted clear
xcrun simctl status_bar booted override --time "9:41" --wifiBars 3 --cellularBars 4
@rileytestut
rileytestut / ExportIPA.swift
Last active April 12, 2026 20:11
Export Swift Playgrounds .ipa
import Foundation
// Export running app as .ipa, then return path to exported file.
// Returns String because app crashes when returning URL from async function for some reason...
func exportIPA() async throws -> String
{
// Path to app bundle
let bundleURL = Bundle.main.bundleURL
// Create Payload/ directory
@lucianoschillagi
lucianoschillagi / .swift
Created August 27, 2024 15:45
Unicode Basic Emojies
import Cocoa
func printBasicEmojies() {
let startScalar = 0x1F600
let endScalar = 0x1F64F
// Iterate over the range and print each character
for scalarValue in startScalar...endScalar {
if let scalar = UnicodeScalar(scalarValue) {