This file contains hidden or 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
File: archives/37/p37_0x06_Card-O-Rama: Magnetic Stripe Technology and Beyond_by_Count Zero.txt | |
Card-O-Rama: Magnetic Stripe Technology and Beyond | |
or | |
"A Day in the Life of a Flux Reversal" | |
Written by | |
oooOO Count Zero OOooo | |
Restricted Data Transmissions |
This file contains hidden or 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 "stdlib" | |
import "unistd" | |
delay = 1 | |
x = 10 | |
blocks = [ | |
`x += 1`, | |
`x -= 1`, | |
`x *= 2`, |
This file contains hidden or 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
+ (NSString *)_pathForImageName:(NSString *)aFileName | |
{ | |
NSString * const extension = [aFileName pathExtension]; | |
if([extension length] == 0) | |
return | |
[self _pathForImageName:[aFileName stringByAppendingString:@".png"]] | |
?: [self _pathForImageName:[aFileName stringByAppendingString:@".jpeg"]] | |
?: [self _pathForImageName:[aFileName stringByAppendingString:@".jpg"]]; | |
else { | |
aFileName = [aFileName stringByDeletingPathExtension]; |
This file contains hidden or 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
@implementation NSThread (Blocks) | |
#pragma clang diagnostic push | |
#pragma clang diagnostic ignored "-Warc-performSelector-leaks" | |
- (void)cy_executeBlock:(dispatch_block_t const)aBlock afterDelay:(NSTimeInterval const)aDelay | |
{ | |
dispatch_block_t const blockCopy = [[aBlock copy] performSelector:NSSelectorFromString(@"retain")]; | |
AfterDelay(aDelay, ^{ | |
[self performSelector:@selector(_cy_executeBlock:) |
This file contains hidden or 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
- (dispatch_block_t)_enableSpeakers | |
{ | |
++self->_interruptCount; | |
UInt32 const speakerOverride = kAudioSessionOverrideAudioRoute_Speaker; | |
AudioSessionSetProperty(kAudioSessionProperty_OverrideAudioRoute, | |
sizeof(speakerOverride), | |
&speakerOverride); | |
__block BOOL disabled = NO; | |
return ^{ |
This file contains hidden or 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
- (void)_testRecordingAtPath:(NSString *)aPath | |
{ | |
XCTAssert(YES,@"foo"); | |
} | |
+ (NSArray *)testInvocations | |
{ | |
NSMutableArray *invocations = [[super testInvocations] mutableCopy]; | |
NSArray * const aiff = [[NSBundle bundleForClass:self] pathsForResourcesOfType:@"aiff" inDirectory:@"Recordings"]; | |
NSArray * const wave = [[NSBundle bundleForClass:self] pathsForResourcesOfType:@"wav" inDirectory:@"Recordings"]; |
This file contains hidden or 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 <UIKit/UIKit.h> | |
@interface CYBackdropView : UIView | |
@property(nonatomic) UIColor *blurColor; | |
@property(nonatomic) float blurStrength; | |
@end |
This file contains hidden or 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
require "polyglot" | |
require "treetop" | |
require "sinatra" | |
module Nodes | |
class Text < Treetop::Runtime::SyntaxNode | |
end | |
class APIMethod < Treetop::Runtime::SyntaxNode | |
end |
This file contains hidden or 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
#define CF_AUTORELEASED __attribute__ ((cleanup(CFReleaseCleanup))) | |
static inline void CFReleaseCleanup(CF_CONSUMED void *objPtr) { | |
CFRelease(*(CFTypeRef *)objPtr); | |
} |