Skip to content

Instantly share code, notes, and snippets.

View JALsnipe's full-sized avatar
🥴

Josh Lieberman JALsnipe

🥴
View GitHub Profile
@JALsnipe
JALsnipe / 8.1.2.log
Created January 21, 2015 17:42
VideoCore 8.1.2 (12B440)
2015-01-21 12:37:30.095 SampleBroadcaster[339:137898] Creating context
2015-01-21 12:37:30.264 SampleBroadcaster[339:137898] Context creation succeeded
Apple::AudioMixer(lldb) bt all
* thread #1: tid = 0x21aaa, 0x331c1518 libsystem_kernel.dylib`mach_msg_trap + 20, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x331c1518 libsystem_kernel.dylib`mach_msg_trap + 20
frame #1: 0x331c1310 libsystem_kernel.dylib`mach_msg + 40
frame #2: 0x252c759a CoreFoundation`__CFRunLoopServiceMachPort + 146
frame #3: 0x252c5b60 CoreFoundation`__CFRunLoopRun + 1016
frame #4: 0x25212b30 CoreFoundation`CFRunLoopRunSpecific + 476
frame #5: 0x25212942 CoreFoundation`CFRunLoopRunInMode + 106
@JALsnipe
JALsnipe / 8.0.2.log
Created January 21, 2015 17:43
VideoCore 8.0.2 (12A405)
2015-01-21 12:35:02.810 SampleBroadcaster[1681:4235325] Creating context
2015-01-21 12:35:02.890 SampleBroadcaster[1681:4235325] Context creation succeeded
Apple::AudioMixer(lldb) bt all
* thread #1: tid = 0x40a03d, 0x33339518 libsystem_kernel.dylib`mach_msg_trap + 20, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x33339518 libsystem_kernel.dylib`mach_msg_trap + 20
frame #1: 0x33339310 libsystem_kernel.dylib`mach_msg + 40
frame #2: 0x25552dca CoreFoundation`__CFRunLoopServiceMachPort + 146
frame #3: 0x25551390 CoreFoundation`__CFRunLoopRun + 1016
frame #4: 0x2549edb0 CoreFoundation`CFRunLoopRunSpecific + 476
frame #5: 0x2549ebc2 CoreFoundation`CFRunLoopRunInMode + 106
@JALsnipe
JALsnipe / 8.1.2(2).log
Created January 21, 2015 17:53
VideoCore 8.1.2 (12B440)
2015-01-21 12:52:24.208 SampleBroadcaster[197:5577] Creating context
2015-01-21 12:52:24.359 SampleBroadcaster[197:5577] Context creation succeeded
Apple::AudioMixer2015-01-21 12:52:24.701 SampleBroadcaster[197:5663] Focus mode not supported: AVCaptureFocusModeContinuousAutoFocus
2015-01-21 12:52:24.702 SampleBroadcaster[197:5663] Exposure mode not supported: AVCaptureExposureModeContinuousAutoExposure
(lldb) bt all
* thread #1: tid = 0x15c9, 0x35a5a518 libsystem_kernel.dylib`mach_msg_trap + 20, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x35a5a518 libsystem_kernel.dylib`mach_msg_trap + 20
frame #1: 0x35a5a310 libsystem_kernel.dylib`mach_msg + 40
frame #2: 0x27b6059a CoreFoundation`__CFRunLoopServiceMachPort + 146
frame #3: 0x27b5eb60 CoreFoundation`__CFRunLoopRun + 1016
@JALsnipe
JALsnipe / 8.1.2(3).log
Created January 21, 2015 18:48
VideoCore 8.1.2 (12B440)
2015-01-21 13:46:40.812 SampleBroadcaster[465:150188] Creating context
2015-01-21 13:46:40.923 SampleBroadcaster[465:150188] Context creation succeeded
Apple::AudioMixer2015-01-21 13:46:43.126 SampleBroadcaster[465:150188] Received memory warning.
(lldb) bt all
* thread #1: tid = 0x24aac, 0x331c1518 libsystem_kernel.dylib`mach_msg_trap + 20, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x331c1518 libsystem_kernel.dylib`mach_msg_trap + 20
frame #1: 0x331c1310 libsystem_kernel.dylib`mach_msg + 40
frame #2: 0x252c759a CoreFoundation`__CFRunLoopServiceMachPort + 146
frame #3: 0x252c5b60 CoreFoundation`__CFRunLoopRun + 1016
frame #4: 0x25212b30 CoreFoundation`CFRunLoopRunSpecific + 476
@JALsnipe
JALsnipe / importFoundation
Created April 17, 2015 16:36
Swift REPL import Foundation
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:11:10: note: while building module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:11:
#include <sys/types.h>
^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/sys/cdefs.h"
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/sys/cdefs.h:680:2: error: Unsupported architecture
#error Unsupported architecture
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoun
@JALsnipe
JALsnipe / importUIKit
Created April 17, 2015 16:42
Swift REPL import UIKit
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8:9: note: while building module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8:
#import <Availability.h>
^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/sys/cdefs.h"
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/sys/cdefs.h:680:2: error: Unsupported architecture
#error Unsupported architecture
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8:9: note: while building
@JALsnipe
JALsnipe / reset.rb
Last active December 7, 2015 15:28
Reset all iOS Simulators
# Reset all iOS Simulators
# Modified to reset without prompt from stdin
simulatorList = []
# Get all of the simulator UUIDs from Xcode
rawSimulatorList = `xcrun simctl list`
rawSimulatorList.each_line do |line|
if line.start_with?(" ")
simulator = line.strip
@JALsnipe
JALsnipe / invokeSKUIImageColorAnalyzer.swift
Created February 10, 2016 22:40
Get colors for a UIImage using the private StoreKitUI framework
// Forward declaration
class SKUIAnalyzedImageColors: NSObject {}
// convienence extensions for accessing private properties
extension SKUIAnalyzedImageColors {
func backgroundColor() -> UIColor {
return self.valueForKey("_backgroundColor") as! UIColor
}
@JALsnipe
JALsnipe / .git-commit-template.txt
Created March 11, 2016 05:17 — forked from adeekshith/.git-commit-template.txt
A Git commit template to make it easy to enforce a good and uniform commit message style across teams.
# <type>: (If applied, this commit will...) <subject> (Max 50 char)
# |<---- Using a Maximum Of 50 Characters ---->|
# Explain why this change is being made
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|
# Provide links or keys to any relevant tickets, articles or other resources
# Example: Github issue #23
# Type(<scope>): <subject>
# <body>
# <footer>
# Type should be one of the following:
# * feat (new feature)
# * fix (bug fix)
# * docs (changes to documentation)