Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Travis trawor

I may be slow to respond.
Block or report user

Report or block trawor

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
akisute / AsyncSenTestingKitTests.h
Created Mar 17, 2012
SenAsyncTestCase - Asynchronous capable SenTestCase
View AsyncSenTestingKitTests.h
// AsyncSenTestingKitTests.h
// AsyncSenTestingKitTests
// Created by 小野 将司 on 12/03/17.
// Copyright (c) 2012年 AppBankGames Inc. All rights reserved.
#import <SenTestingKit/SenTestingKit.h>
#import "SenAsyncTestCase.h"
ipconfiger /
Created Jan 5, 2012
# -*- Encoding: utf-8 -*-
import base64
import binascii
import cgi
import hashlib
import hmac
import logging
import time
import urllib
import urlparse
zbyhoo /
Created May 5, 2011
Solving pbxproj files git merge conflicts when two users add files at the same time.
projectfile=`find -d . -name 'project.pbxproj'`
projectdir=`echo *.xcodeproj`
cat $projectfile | grep -v "<<<<<<< HEAD" | grep -v "=======" | grep -v "^>>>>>>> " > $tempfile
cp $projectfile $savefile
ironfounderson / gist:751259
Created Dec 22, 2010
Loading content from a file contained as a bundle resource within a unit test target
View gist:751259
- (NSString *)contentOfXMLFile:(NSString *)filename {
NSString *contentPath = [[NSBundle bundleForClass:[self class]] pathForResource:filename
NSURL *contentURL = [NSURL fileURLWithPath:contentPath];
return [NSString stringWithContentsOfURL:contentURL
You can’t perform that action at this time.