This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This code works: | |
TWRequest *request = [[TWRequest alloc] initWithURL:[NSURL URLWithString:@"http://api.twitter.com/1/statuses/home_timeline.json"] | |
parameters:nil | |
requestMethod:TWRequestMethodGET]; | |
// But this code crashes: | |
TWRequest *request = [[TWRequest alloc] initWithURL:[NSURL URLWithString:@"http://api.twitter.com/1/statuses/home_timeline.json"] | |
parameters:@{@"count":@(200)} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// PVEmulatorViewController.m | |
// Provenance | |
// | |
// Created by James Addyman on 08/08/2013. | |
// Copyright (c) 2013 James Addyman. All rights reserved. | |
// | |
#import "PVGLViewController.h" | |
#import "PVEmulatorCore.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// PVEmulatorViewController.m | |
// Provenance | |
// | |
// Created by James Addyman on 08/08/2013. | |
// Copyright (c) 2013 James Addyman. All rights reserved. | |
// | |
#import "PVGLViewController.h" | |
#import "PVEmulatorCore.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
int main(int argc, char *argv[]) { | |
@autoreleasepool { | |
NSInteger myNum = ({ | |
1+1; | |
}); | |
NSLog(@"%zd", myNum); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makefile for PCSX ReARMed (libretro) | |
ifeq ($(platform),) | |
platform = unix | |
ifeq ($(shell uname -a),) | |
platform = win | |
else ifneq ($(findstring MINGW,$(shell uname -a)),) | |
platform = win | |
else ifneq ($(findstring Darwin,$(shell uname -a)),) | |
platform = osx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ld /Users/james/Library/Developer/Xcode/DerivedData/Provenance-gleuluimsajnpagtfsvuqhxkldcw/Build/Products/Release-iphoneos/PVMednafen.framework/PVMednafen normal arm64 (in target 'PVMednafen-iOS' from project 'PVMednafen') | |
cd /Users/james/dev/Provenance/Cores/Mednafen | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target arm64-apple-ios9.3 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk -L/Users/james/Library/Developer/Xcode/DerivedData/Provenance-gleuluimsajnpagtfsvuqhxkldcw/Build/Products/Release-iphoneos -L/Users/james/dev/Provenance/Cores/Mednafen/libsndfile -L/Users/james/dev/Provenance/Cores/Mednafen -F/Users/james/Library/Developer/Xcode/DerivedData/Provenance-gleuluimsajnpagtfsvuqhxkldcw/Build/Products/Release-iphoneos -F/Users/james/dev/Provenance/Cores/Mednafen/mednafen/src -F/Users/james/dev/Provenance/Cores/Mednafen/../../Carthage/Build/iOS -filelist /Users/james/L |