Skip to content

Instantly share code, notes, and snippets.

View landonepps's full-sized avatar
👨‍💻
💻✈️🎙

Landon Epps landonepps

👨‍💻
💻✈️🎙
View GitHub Profile
@landonepps
landonepps / Import ETSymbolication Symbols.py
Last active December 19, 2023 04:59
Import ETSymbolication Symbols into Hopper
import csv
doc = Document.getCurrentDocument()
path = Document.askFile("Symbols CSV file", None, False)
if path is not None:
with open(path) as csvfile:
csvreader = csv.reader(csvfile, delimiter=",", quotechar="\"")
for i, parts in enumerate(csvreader):
if len(parts) > 2:
@landonepps
landonepps / ObservableLazy.swift
Created June 8, 2023 18:51
How @ObservationTracked could work
import SwiftUI
import Observation
class User {
var id: Int {
get {
access(keyPath: \.id)
return _id
}
@landonepps
landonepps / UnfairLock.swift
Created June 28, 2022 15:47
An implementation of OSAllocatedUnfairLock for iOS 15 and earlier
//
// UnfairLock.swift
// Created by Epps, Landon on 6/28/22.
//
import Foundation
final class UnfairLock: NSLocking {
enum Ownership: Equatable, Hashable {
@landonepps
landonepps / keybase.md
Created December 21, 2019 05:22
Keybase Proof

Keybase proof

I hereby claim:

  • I am landonepps on github.
  • I am landonepps (https://keybase.io/landonepps) on keybase.
  • I have a public key ASAMlU25GQP7JVqFzft30ri4v2E710u5_slIFeFBXvTiAwo

To claim this, I am signing this object: