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
// | |
// UIImageView+HTUIImageCategoryNamespaceConflictResolver.h | |
// HotelTonight | |
// | |
// Created by Jonathan Sibley on 7/9/13. | |
// Copyright (c) 2013 Hotel Tonight. All rights reserved. | |
// | |
@interface UIImageView (HTUIImageCategoryNamespaceConflictResolver) |
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
// Fetch NSDictionary containing possible saved state | |
NSString *errorDesc = nil; | |
NSPropertyListFormat format; | |
NSString *plistPath; | |
NSString *rootPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, | |
NSUserDomainMask, YES) objectAtIndex:0]; | |
plistPath = [rootPath stringByAppendingPathComponent:@"SavedState.plist"]; | |
NSData *plistXML = [[NSFileManager defaultManager] contentsAtPath:plistPath]; | |
NSDictionary *unarchivedData = (NSDictionary *)[NSPropertyListSerialization | |
propertyListFromData:plistXML |
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
# Add `~/bin` to the `$PATH` | |
export PATH="$HOME/bin:$PATH" | |
# Python 3.5 packages | |
export PATH="$PATH:~/Library/Python/3.5/bin" | |
# Sublime Text - http://stackoverflow.com/a/16495202 | |
export EDITOR='subl -w' | |
# Load the shell dotfiles, and then some: |
NewerOlder