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
// | |
// AsyncSenTestingKitTests.h | |
// AsyncSenTestingKitTests | |
// | |
// Created by 小野 将司 on 12/03/17. | |
// Copyright (c) 2012年 AppBankGames Inc. All rights reserved. | |
// | |
#import <SenTestingKit/SenTestingKit.h> | |
#import "SenAsyncTestCase.h" |
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
# -*- Encoding: utf-8 -*- | |
import base64 | |
import binascii | |
import cgi | |
import hashlib | |
import hmac | |
import logging | |
import time | |
import urllib | |
import urlparse |
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
#!/bin/sh | |
projectfile=`find -d . -name 'project.pbxproj'` | |
projectdir=`echo *.xcodeproj` | |
projectfile="${projectdir}/project.pbxproj" | |
tempfile="${projectdir}/project.pbxproj.out" | |
savefile="${projectdir}/project.pbxproj.mergesave" | |
cat $projectfile | grep -v "<<<<<<< HEAD" | grep -v "=======" | grep -v "^>>>>>>> " > $tempfile | |
cp $projectfile $savefile |
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
- (NSString *)contentOfXMLFile:(NSString *)filename { | |
NSString *contentPath = [[NSBundle bundleForClass:[self class]] pathForResource:filename | |
ofType:@"xml"]; | |
NSURL *contentURL = [NSURL fileURLWithPath:contentPath]; | |
return [NSString stringWithContentsOfURL:contentURL | |
encoding:NSUTF8StringEncoding | |
error:nil]; | |
} |