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
Pod::Spec.new do |s| | |
s.name = "starIOPrintSDK" | |
s.version = "3.13.1" | |
s.summary = "Star Micronics iOS Print SDK" | |
s.description = " This package contains StarIO and its SDK.\n StarIO is a library for supporting to develope application for Star printers.\n\n StarIO.framework version: 1.19.2\n Supported OS: iOS 5.1.1 - 8.2\n\n Please refer to document including this package for details.\n" | |
s.homepage = "http://www.starmicronics.com/support/sdkdocumentation.aspx" | |
s.platform = :ios, "5.1.1" | |
s.license = { :type => "Commercial", :text => " This package contains StarIO and its SDK.\n StarIO is a library for supporting to develope application for Star printers.\n\n StarIO.framework version: 1.19.2\n Supported OS: iOS 5.1.1 - 8.2\n\n Please refer to document including this package for details.\n" } | |
s.author = { "Star Micronics Co., Ltd.": "[email protected]" } | |
s.source = { :http => "http://www.starmicronics.com/suppo |
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
- (void)testGetPixelDataFromCGImageRefExample { | |
UIImage *image = [self loadImage]; | |
[self rawDataCopyWithImage:image]; | |
[self rawDataDrawWithImage:image]; | |
} | |
- (void)rawDataCopyWithImage:(UIImage*)image | |
{ | |
CGImageRef imageRef = image.CGImage; |
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
#import <UIKit/UIKit.h> | |
#import <XCTest/XCTest.h> | |
#import <Realm/Realm.h> | |
@interface Person: RLMObject | |
@property (nonatomic, copy) NSString* name; | |
@property (nonatomic, copy) NSDate* birthdate; | |
@end | |
@implementation Person |
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
- (void)testChildInstance | |
{ | |
NSString *string; | |
MOAspectsTestChildObject* testChildObj = [[MOAspectsTestChildObject alloc] init]; | |
string = [testChildObj stringWithBOOL:YES]; | |
XCTAssertTrue([string isEqualToString:@"真"]); | |
string = [testChildObj stringWithBOOL:NO]; | |
XCTAssertTrue([string isEqualToString:@"偽"]); | |
__block NSString *hookedString; |
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
// | |
// MOAspectsClassHierarchyTestCase.m | |
// MOAspectsDemo | |
#import <UIKit/UIKit.h> | |
#import <XCTest/XCTest.h> | |
#import "MOAspects.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
- (void)testWhySenTestIsCheckingTypeEncoding | |
{ | |
NSInteger a1 = 100; | |
STAssertEquals(a1, 100, @"type encoding mismatch!!"); | |
} |
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
find . -name "*.[mh]" -print0 | xargs -0 uncrustify -c ~/.uncrustify/uncrustify.cfg --replace --no-backup |
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
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb | |
index 7d0115c..e1631b9 100644 | |
--- a/Library/Homebrew/download_strategy.rb | |
+++ b/Library/Homebrew/download_strategy.rb | |
@@ -61,7 +61,7 @@ class CurlDownloadStrategy < AbstractDownloadStrategy | |
# Private method, can be overridden if needed. | |
def _fetch | |
- curl @url, '-C', downloaded_size, '-o', @temporary_path | |
+ curl '-k', @url, '-C', downloaded_size, '-o', @temporary_path |
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
--- gitbuildsys/utils.py.orig 2012-11-14 22:23:01.000000000 +0900 | |
+++ gitbuildsys/utils.py 2012-11-15 07:33:56.000000000 +0900 | |
@@ -23,6 +23,7 @@ | |
import pycurl | |
import hashlib | |
import signal | |
+import re | |
import xml.etree.ElementTree as ET | |
from collections import defaultdict | |