Skip to content

Instantly share code, notes, and snippets.

View joshuaseltzer's full-sized avatar

Joshua Seltzer joshuaseltzer

View GitHub Profile
@wh1te4ever
wh1te4ever / TrollDetector.m
Last active November 29, 2025 10:50
TrollStore Detector
//
// ViewController.m
// JBDetectTest
//
// Created by seo on 3/27/25.
//
#import "ViewController.h"
#import <dlfcn.h>
@PoomSmart
PoomSmart / yt_facts.txt
Last active December 4, 2025 05:43
iOS YouTube Facts
# Compatibility
Last supported iOS 10: 14.44.3 (833450380) (removed in 14.45.3 (833537029))
Last supported iOS 11: 16.32.6 (843602406) (removed in 16.33.3 (843713589))
Last supported iOS 12: 17.39.4 (852538300) (removed in 17.40.5 (852652654))
Last supported iOS 13: 17.40.5 (852652654) (removed in 17.41.2 (852781429))
Last supported iOS 14: 19.20.2 (866031654) (removed in 19.21.2 (866202758))
Last supported iOS 15: 20.21.6 (875034940) (removed in 20.22.1 (875214761))
Temporarilty dropped iOS 12/13 support: 17.36.3 (852119666)
@PoomSmart
PoomSmart / YouTubeDefaultVideoQuality.x
Last active October 23, 2025 12:56
Sets the default video quality for videos on iOS YouTube.
#import <YouTubeHeader/MLAVPlayer.h>
#import <YouTubeHeader/MLHAMPlayerItem.h>
#import <YouTubeHeader/MLQuickMenuVideoQualitySettingFormatConstraint.h>
int targetResolution = 1440;
int targetFPS = 60;
static NSString *getClosestQualityLabel(NSArray <MLFormat *> *formats) {
int minDiff = INT_MAX;
NSString *closestQualityLabel;
@Fanman03
Fanman03 / UAP-Guide.md
Last active January 5, 2026 01:39
UniFi AP Buyers Guide

UniFi AP Buyers Guide

(updated May 2025)

The APs in this list are ordered from highest to lowest performance. However, unless you have a very high number of devices you likely do NOT need to buy the most expensive, highest performance AP. You can also check Ebay for deals, especially on older equipment.

All APs in this list support both wired backhaul and mesh modes. However, wired connections are strongly recommended for better performance and reliability.

Number of spatial streams are listed in order of 2.4GHz, 5GHz, 6GHz.

Good Choices:

@Orangera1n
Orangera1n / 15on16sepactivationguide.md
Last active July 2, 2025 00:16
How to activate a device on iOS 15 that was futurerestored on 16 sep

whatisthisthisthisthisthisthis?

This is a guide on how to activate ur idevice on ios 15 (maybe ios 14 idk) when its futurerestored on 16 sep.

DISCLAIMER: I am very aware people might use this to bypass icloud, but I am NOT encouraging you to bypass icloud.

ALSO: THIS IS RECOMMENDED FOR ADVANCED USERS ONLY, i am not responsable for ur device being broken (tho idk how it becomes broken via this)

also, i've only tested this on macOS, might work on linux tho if u replace darwin with linux and shit.

@MTACS
MTACS / LPM.m
Last active September 1, 2025 20:06
Toggle Low Power Mode programmatically on iOS 16+
// iOS 16+
// _CDBatterySaver class doesn't exist on versions higher than 16.0
@interface _PMLowPowerMode : NSObject
+ (id)sharedInstance;
- (NSInteger)getPowerMode;
- (void)setPowerMode:(NSInteger)arg0 fromSource:(id)arg1;
- (void)setPowerMode:(NSInteger)arg0 fromSource:(id)arg1 withCompletion:(id)arg2; // Don't use if completion is nil, callback requires non null parameter
@end
@MartinEesmaa
MartinEesmaa / youtube_formats.md
Last active January 5, 2026 18:18 — forked from AgentOak/youtube_formats.md
Youtube Format IDs

Note: This is all almost full YouTube ID informations. Original owner goes to AgentOak, modified version by Martin Eesmaa.

See the credits and also special thanks in below.

Last updated: 05 January 2026

Also known as itag or format codes and way back they could be specified with the fmt parameter (e.g. &fmt=22) used to be on website address bar after YouTube Video ID, (deprecated?). Depending on the age and/or popularity of the video, not all formats will be available.

DASH video

@jasonk
jasonk / Reolink API.md
Last active November 30, 2025 15:09
Simple Bash Examples for Reolink API
@rinsuki
rinsuki / Disable Apple Music.mobileconfig
Created October 19, 2021 00:02
Disable Apple Music in macOS 12 Monterey Music.app
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadDescription</key>
<string>Disable Apple Music in Music.app</string>
<key>PayloadDisplayName</key>
@refo
refo / Disable Microsoft AutoUpdate on MacOS.md
Last active August 19, 2025 12:24
Disable Microsoft AutoUpdate on MacOS (Office 365 updater)

Following commands disables Microsoft AutoUpdate launch agent from launching at boot and periodicaly checking for updates.

sudo defaults write /Library/LaunchAgents/com.microsoft.update.agent.plist Disabled -bool YES
sudo defaults write /Library/LaunchAgents/com.microsoft.update.agent.plist RunAtLoad -bool NO
sudo chflags schg /Library/LaunchAgents/com.microsoft.update.agent.plist

source: https://forums.macrumors.com/threads/how-to-get-rid-of-microsoft-autoupdate.2231809/?post=28384662#post-28384662