I hereby claim:
- I am tternes on github.
- I am tternes (https://keybase.io/tternes) on keybase.
- I have a public key whose fingerprint is FFF3 75C0 638B 6546 80AD FE08 D003 33C6 1989 42AA
To claim this, I am signing this object:
- (id)swizzled_retain | |
{ | |
NSLog(@"yes, I know"); | |
return [self swizzled_retain]; | |
} | |
+ (void)load | |
{ | |
// swizzle retain | |
Class c = [self class]; |
#!/bin/bash | |
######################################## | |
# Quick and dirty script for cloning an svn branch with git without pulling the entire repo history | |
# | |
# Usage: git-svn-clone.sh <URL> <LOCAL_OUTPUT_PATH> | |
# e.g. git-svn-clone.sh http://myserver.com/svn/branches/feature-1.0 feature-1.0 | |
# | |
######################################## |
#!/usr/bin/xcrun swift -i | |
println("that is awesome") |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
curl -X POST --data '{"message":"Hello, Pactola"}' http://pactola.io/f1b7db32/notification |
var request = require('request'); | |
var data = JSON.stringify({ message:"Hello, Pactola" }); | |
request.post("http://pactola.io/f1b7db32/notification", {form:data}); |
BTPactolaNotificationRequest *request = [[BTPactolaNotificationRequest alloc] init]; | |
request.deviceIdentifier = @"123456"; | |
request.title = @"My App" | |
request.message = @"Something Happened!" | |
[request sendRequest]; |
clang hi.c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o hi | |
where -isysroot parameter is discovered with: | |
xcrun --sdk macosx10.9 --show-sdk-path | |
--sdk parameter possibilities: | |
thaddeus@pegasus:~$ xcodebuild -showsdks | |
OS X SDKs: |
Seems to help now to give the path to the symbols that match the version of iOS that produced the crash. | |
For iOS 5.1: | |
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash -v crashfile /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.1\ \(9B176\)/Symbols | |
For iOS 5.0.1: | |
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash -v crashfile ~/Library/Developer/Xcode/iOS\ DeviceSupport/5.0.1\ \(9A405\)/Symbols |