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:
#!/usr/bin/xcrun swift -i | |
println("that is awesome") |
I hereby claim:
To claim this, I am signing this object:
var request = require('request'); | |
var data = JSON.stringify({ message:"Hello, Pactola" }); | |
request.post("http://pactola.io/f1b7db32/notification", {form:data}); |
#!/bin/sh | |
curl -X POST --data '{"message":"Hello, Pactola"}' http://pactola.io/f1b7db32/notification |
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: |
typedef NS_OPTIONS(NSInteger, EVILogLevel) | |
{ | |
EVILogLevelError, | |
EVILogLevelWarning, | |
EVILogLevelInfo, | |
EVILogLevelDebug, | |
}; | |
typedef void(^EVILoggingCallback)(EVILogLevel level, NSString *message); |
extern void EVILog(EVILogLevel level, NSString *fmt, ...); |
@implementation AppDelegate | |
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification | |
{ | |
// ... | |
EVIRegisterLoggingCallback(^(EVILogLevel level, NSString *message) { | |
NSLog(@"EVIStreamer (%@): %@", EVILogLevelString(level), message); | |
}); | |
// ... | |
} |