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
// Returns the persistent store coordinator for the application. This implementation creates and return a coordinator, having added the store for the application to it. (The directory for the store is created, if necessary.) | |
- (NSPersistentStoreCoordinator *)persistentStoreCoordinator | |
{ | |
if (_persistentStoreCoordinator) { | |
return _persistentStoreCoordinator; | |
} | |
NSManagedObjectModel *mom = [self managedObjectModel]; | |
if (!mom) { | |
NSLog(@"%@:%@ No model to generate a store from", [self class], NSStringFromSelector(_cmd)); |
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
#!/usr/bin/env python | |
aws_access_key = "" # Your AWS Access Key | |
aws_secret_key = "" # Your AWS Secret Key | |
bucket_name = "" # Your Bucket Name | |
import os as os | |
import mimetypes | |
from boto.s3.connection import S3Connection |
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
// | |
// NLCachedImageTableViewCell.h | |
// niners | |
// | |
// Created by Lyman, Nathan(nlyman) on 1/9/12. | |
// Copyright (c) 2012 __MyCompanyName__. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> |