Skip to content

Instantly share code, notes, and snippets.

@Kyle-Ye
Kyle-Ye / iPhone Mirroring.md
Last active July 25, 2024 11:22
Launch iPhone Mirroring.app on macOS 15 Beta 1
@insidegui
insidegui / devicectl.sh
Created October 19, 2023 21:58
Helper functions for using devicectl to kill processes on connected iOS devices
# Add to your zsh profile
function devicepid() {
if [ -z "$1" ]; then
echo "Usage: devicepid <device-name> <search>"
echo "Example: devicepid 'iPhone 15 Pro Max' SpringBoard"
return 1
fi
if [ -z "$2" ]; then
@sanxiyn
sanxiyn / most-frequent.py
Created December 31, 2020 17:58
BNT162b2
import csv
import python_codon_tables
def read_csv_file(file_path):
with open(file_path) as f:
reader = csv.reader(f)
records = list(reader)
return records
@IsaacXen
IsaacXen / README.md
Last active July 23, 2024 08:00
(Almost) Every WWDC videos download links for aria2c.
@terhechte
terhechte / wwdc2007videos.md
Last active May 26, 2022 16:50
WWDC 2007 Video Listing

WWDC 2007 Video Listing

Content and Media

  • 1-01 Session 601 - Improving Your Video With Professional Preprocessing.mov
  • 1-02 Session 602 - The Encoding Process In Depth.mov
  • 1-03 Session 603 - Delivering Your Media.mov
  • 1-04 Session 604 - Iterative Cocoa and Web Application Design.mov
  • 1-05 Session 605 - Understanding Web Accessibility for Building Better Websites.mov
  • 1-06 Session 606 - Motion Graphics Design Using Quartz Composer.mov
  • 1-07 Session 607 - Development Methods for WebKit AJAX Applications.mov
@rxwei
rxwei / ad-manifesto.md
Last active November 9, 2023 09:58
First-Class Automatic Differentiation in Swift: A Manifesto
@shotahorii
shotahorii / 20171104_2.md
Last active March 27, 2023 20:53
(un)pivot on Presto

Pivot

Query
SELECT
  uid,
  kv['c1'] AS c1,
  kv['c2'] AS c2,
  kv['c3'] AS c3
FROM (
@guycalledseven
guycalledseven / manual-uninstall-wireshark.sh
Created March 6, 2017 12:10
Manually remove Wireshark leftovers MacOS
sudo rm -r /Applications/Wireshark.app
sudo rm -r /Library/Wireshark
sudo rm /Library/StartupItems/ChmodBPF
sudo rm /Library/LaunchDaemons/org.wireshark.ChmodBPF.plist
sudo rm /Library/Application\ Support/Wireshark/ChmodBPF/ChmodBF
sudo rm /Library/Application\ Support/Wireshark/ChmodBPF/org.wireshark.ChmodBPF.plist
sudo dscl . -delete /Groups/access_bpf
@steventroughtonsmith
steventroughtonsmith / gist:52f0c6783446b6fc536e
Created January 17, 2016 06:49
NSExtensionSDK providers
AddressBookUI.framework
(
"com.apple.people-picker"
)
AudioToolbox.framework
(
"com.apple.AudioUnit",
"com.apple.AudioUnit-UI"

HomeKit Service and Characteristic UUIDs

Thanks to HAP-NodeJS

Service UUID
Accessory Information 0000003E-0000-1000-8000-0026BB765291
Air Quality Sensor 0000008D-0000-1000-8000-0026BB765291
Battery Service 00000096-0000-1000-8000-0026BB765291
Bridging State 00000062-0000-1000-8000-0026BB765291