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
namespace Carlson | |
{ | |
class CToken | |
{ | |
public: | |
static void GoNextToken( const char* fname, std::deque<CToken>::iterator& tokenItty, std::deque<CToken>& tokens ); | |
}; | |
} |
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> | |
#define PASTE(a,b) a ## b | |
#define OCONSTANT(a) @class a; extern a* PASTE(k,a); @interface a : NSObject @end | |
#define OCONSTANTI(a) @class a; a* PASTE(k,a) = nil; @implementation a +(void) load { PASTE(k,a) = [[a alloc] init]; } @end | |
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> | |
@interface MyClass : NSObject | |
@end | |
@implementation MyClass | |
@end |
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
@interface NSIndexSet (ULIIndexSetCreation) | |
+(NSIndexSet*) indexSetWithIndexes: (const NSInteger [])indexes count: (NSUInteger)count; | |
@end | |
@implementation NSIndexSet (ULIIndexSetCreation) | |
+(NSIndexSet*) indexSetWithIndexes: (const NSInteger [])indexes count: (NSUInteger)count |
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
# param 1 is path to root of repository to clone | |
# param 2 is folder to clone to. The folder's name must be the | |
# same as the folder to be extracted from the repository at param 1. | |
GIT='/Applications/Xcode.app/Contents/Developer/usr/bin/git' | |
$GIT clone --no-hardlinks "$1" "$2" | |
cd "$2" | |
$GIT filter-branch --subdirectory-filter "`basename $2`" HEAD #-- --all |
NewerOlder