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
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
android:background="@color/tumblr_dashboard_background" | |
android:orientation="vertical" > | |
<include layout="@layout/brand_bar_layout"/> | |
<ScrollView android:id="@+id/PostScrollView" | |
android:layout_width="fill_parent" |
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
@implementation UIControl (RepresentedObject) | |
static char kRepresentedObjectKey; | |
- (void)setRepresentedObject:(id<NSObject>)object{ | |
id assocObject = [self representedObject]; | |
if(assocObject != object){ | |
[assocObject release]; | |
objc_setAssociatedObject(self, &kRepresentedObjectKey, object, OBJC_ASSOCIATION_RETAIN_NONATOMIC); | |
} |
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
#import "JPImagePickerViewController.h" | |
@interface JPImagePickerViewController () | |
@end | |
@implementation JPImagePickerViewController | |
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil | |
{ |
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
#Version: 1.0 | |
#Fields: date time x-edge-location sc-bytes c-ip cs-method cs(Host) cs-uri-stem sc-status cs(Referer) cs(User-Agent) cs-uri-query cs(Cookie) x-edge-result-type x-edge-request-id | |
2012-11-25 02:39:47 STL2 23853 75.132.22.52 GET d23o3xv0lvihc9.cloudfront.net /prerelease/Kaleidoscope-2.0.0-81.zip 200 http://www.kaleidoscopeapp.com/download_beta Mozilla/5.0%20(Linux;%20Android%204.1.2;%20SAMSUNG-SGH-T989%20Build/JZO54K)%20AppleWebKit/535.19%20(KHTML,%20like%20Gecko)%20Chrome/18.0.1025.166%20Mobile%20Safari/535.19 - - Error 9XxQm0w0kyPGGex-zs2ZlI2ZTSLe1mQw60_irUDRQhPWzsa7Apod6w== |
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
export PATH="/usr/local/heroku/bin:$PATH" | |
if [ -f /usr/local/git/contrib/completion/git-completion.bash ]; then | |
. /usr/local/git/contrib/completion/git-completion.bash | |
fi | |
GIT_PS1_SHOWDIRTYSTATE=true | |
GIT_PS1_SHOWSTASHSTATE=true | |
GIT_PS1_SHOWUNTRACKEDFILES=true | |
if [ -f /opt/local/etc/bash_completion ]; 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
// | |
// JPSubscriptedCache.h | |
// | |
// | |
// Created by Jamie Pinkham on 5/14/13. | |
// | |
// | |
#import <UIKit/UIKit.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
// | |
// JPSubscriptedCache.m | |
// | |
// | |
// Created by Jamie Pinkham on 5/14/13. | |
// | |
// | |
#import "JPSubscriptedCache.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
NSDictionary *viewsDict = NSDictionaryOfVariableBindings(_viewToAnimate); | |
NSLayoutConstraint *animationConstraint = [NSLayoutConstraint constraintsWithVisualFormat:@"H:|-(3)-[_viewToAnimate]" options:0 metrics:nil views:viewsDict][0]; | |
[self.containerView removeConstraint:self.leftEdgeConstraint]; | |
[self.containerView addConstraint:animationConstraint]; | |
[UIView animateWithDuration:0.3 animations:^{ | |
[self.view layoutIfNeeded]; | |
} completion:^(BOOL finished) { | |
; | |
}]; |
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/python | |
import sys | |
import os, shutil | |
import subprocess | |
import os.path | |
from datetime import datetime | |
import time | |
######################## Functions ######################### |
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
// | |
// UBCoreDataStack.h | |
// LevelDBMigrator | |
// | |
// Created by Jamie Pinkham on 1/28/14. | |
// Copyright (c) 2014 Jamie Pinkham. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
OlderNewer