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
shelve () { | |
local filename=${1:-shelf.patch} | |
if [[ -a $filename ]]; then | |
echo 1>&2 shelve: file "'$filename'" already exists | |
return 256 | |
fi | |
svn diff | tee $filename | wc -l | read linecount && svn revert -R . | |
if [[ $linecount -eq 0 ]]; then |
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
#include <Foundation/Foundation.h> | |
@interface BusyWaiter : NSObject | |
{ | |
BOOL _done; | |
} | |
- (void)markDone; | |
- (BOOL)isDone; | |
@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
int main(int argc, char **argv) | |
{ | |
return 0; | |
} | |
#import <Foundation/Foundation.h> | |
@interface Foo : NSObject | |
-(id)newFoo; | |
@end |
NewerOlder