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
is this a pastebin |
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
// | |
// NSBlockOperation.h | |
// NSOperations | |
// | |
// Created by Sean Hess on 5/28/10. | |
// Copyright 2010 __MyCompanyName__. All rights reserved. | |
// | |
// Must be used with PlausibleBlocks | |
#import <Foundation/Foundation.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
// | |
// NSBlockOperation.m | |
// NSOperations | |
// | |
// Created by Sean Hess on 5/28/10. | |
// Copyright 2010 __MyCompanyName__. All rights reserved. | |
// | |
#import "NSBlockOperation.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
headendExample: """ | |
<headend headendId="AK50401"> | |
<name>GCI Cable</name> | |
<mso msoId="14730">GCI</mso> | |
<marketIds> | |
<marketId type="DMA">743</marketId> | |
</marketIds> | |
<postalCodes> |
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
16 Jul 09:43:41 - Finished 1000, Waiting for GC to kick in | |
16 Jul 09:43:51 - Continuing 62 MB | |
16 Jul 09:43:55 - Finished 2000, Waiting for GC to kick in | |
16 Jul 09:44:05 - Continuing 93 MB | |
16 Jul 09:44:09 - Finished 3000, Waiting for GC to kick in | |
16 Jul 09:44:19 - Continuing 107 MB | |
16 Jul 09:44:23 - Finished 4000, Waiting for GC to kick in | |
16 Jul 09:44:33 - Continuing 102 MB | |
16 Jul 09:44:38 - Finished 5000, Waiting for GC to kick in | |
16 Jul 09:44:48 - Continuing 106 MB |
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
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
[merge] | |
tool = opendiff | |
summary = true | |
[format] | |
pretty = format:%Cgreen %h %Cblue %ar - %an %Creset %s - %Cgreen%p |
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
diff --git a/lib/itv/app/programs.coffee b/lib/itv/app/programs.coffee | |
index 3556a38..e43a02c 100644 | |
--- a/lib/itv/app/programs.coffee | |
+++ b/lib/itv/app/programs.coffee | |
@@ -9,6 +9,11 @@ exports.load: (dep) -> | |
# cb (err, program) | |
exports.details: (programId, cb) -> | |
db.programs.findOne { _id: programId }, cb | |
+ | |
+ # Returns all episodes for seriesId |
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
# Actual connections to the server are independent of these objects | |
# These objects just USE the connections under the hood | |
# The module is responsible for managing connections to different databases, too | |
# Or, rather, the database object | |
sys = require 'sys' | |
SortAscendingNum = 1 |
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
# I need a way to clear the cached dependencies. Or more acurately, have them be different | |
# for each tree. | |
exports.basics = (assert) -> | |
dep = dependency.container find | |
mongo = dep('wrapper/mongo') | |
db = mongo.db "localhost", 27017, "test" | |
db.collection 'mongo.basics' | |
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
- (void)testDiskCache { | |
// Test that we hit the disk cache | |
// First, nuke the cache, run it once, then clear the memory cache | |
// Then, run the request again and make sure it loads from cache | |
[[TVURLCache sharedCache] nuke]; | |
NSString * value = @"testDiskCache"; | |
NSString * url = @"http://testDiskCache"; |
OlderNewer