I hereby claim:
- I am matsuda on github.
 - I am matsuda (https://keybase.io/matsuda) on keybase.
 - I have a public key whose fingerprint is 40A5 FC4E 4C6B 842C C4A9 B057 E06B 2B70 F9EF E01E
 
To claim this, I am signing this object:
| # http://qiita.com/matsukaz/items/42d1372c9e4e31e611f5 | |
| # http://nanoka.wpcloud.net/?p=943 | |
| # http://hachinobu.hateblo.jp/entry/2014/02/19/140659 | |
| $ xcodebuild -showBuildSettings | 
| import UIKit | |
| /** | |
| * [Badge.swift](https://gist.github.com/yonat/75a0f432d791165b1fd6) をベース | |
| */ | |
| class BadgeLabel: UILabel { | |
| var badgeColor: UIColor = UIColor.redColor() | |
| convenience init(badge: String?, color: UIColor = UIColor.redColor()) { | |
| self.init() | 
| $ xcrun lipo | |
| error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: one of -create, -thin <arch_type>, -extract <arch_type>, -remove <arch_type>, -replace <arch_type> <file_name>, -verify_arch <arch_type> ... , -info or -detailed_info must be specified | |
| fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo [input_file] ... [-arch <arch_type> input_file] ... [-info] [-detailed_info] [-output output_file] [-create] [-arch_blank <arch_type>] [-thin <arch_type>] [-remove <arch_type>] ... [-extract <arch_type>] ... [-extract_family <arch_type>] ... [-verify_arch <arch_type> ...] [-replace <arch_type> <file_name>] ... | |
| /** | |
| Simulator | |
| */ | |
| // Xcodeの環境設定>Locations>Derived DataからDerived Dataを元に該当するアプリのディレクトリに移動 | |
| $ cd /Users/xxxxx/Library/Developer/Xcode/DerivedData/<App name>-<xxxxxxxxxxxx>/Build/Products/<Configuration>-iphones | 
| Pod::Spec.new do |s| | |
| s.name = "XSWI" | |
| s.version = "1.0.5" | |
| s.summary = "XML stream writer for iOS" | |
| s.description = <<-DESC | |
| The XSWI project hosts a simple, standalone XML stream writer for iOS implemented in Objective-C. | |
| The project is inspired by the kXML and StAX serializers from the Java world. | |
| DESC | 
| @interface UIViewController (XXX) | |
| /** | |
| iOS8 && iPadの時にmodalPresentationStyleの種類によっては | |
| horizontalSizeClassがUIUserInterfaceSizeClassCompactになるので | |
| TraitCollectionを書き換える。 | |
| 現在判明しているのは | |
| * UIModalPresentationFormSheet | |
| */ | 
I hereby claim:
To claim this, I am signing this object:
| /** | |
| http://mythosil.hatenablog.com/entry/20111017/1318873155 | |
| http://blog.dealforest.net/2012/03/ios-android-per-aes-crypt-connection/ | |
| */ | |
| @interface NSData (AES) | |
| - (NSData *)AES128EncryptedDataWithKey:(NSString *)key; | |
| - (NSData *)AES128DecryptedDataWithKey:(NSString *)key; | |
| - (NSData *)AES128EncryptedDataWithKey:(NSString *)key iv:(NSString *)iv; | 
| $ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)" | |
| ==> This script will install: | |
| /usr/local/bin/brew | |
| /usr/local/Library/... | |
| /usr/local/share/man/man1/brew.1 | |
| Press ENTER to continue or any other key to abort | |
| ==> /usr/bin/sudo /bin/mkdir /usr/local | |
| WARNING: Improper use of the sudo command could lead to data loss | 
| # Safariでdeleteキ−で「戻る」 | |
| # http://www.aivy.co.jp/BLOG_TEST/nagasawa/c/2012/07/safari-6delete.html | |
| # | |
| $ defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2BackspaceKeyNavigationEnabled -bool YES | |
| # クイックルックでテキストを選択できるようにする | |
| $ defaults write com.apple.finder QLEnableTextSelection -bool TRUE; killall Finder | 
| xmlNodePtr cur = ...; | |
| /***** | |
| (1) | |
| */ | |
| xmlChar *prop = xmlGetProp(cur, (const xmlChar *) "nil"); | |
| // xmlChar *prop = xmlGetNsProp(cur, (const xmlChar *) "nil", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); | |
| NSLog(@"prop : %p", prop); | |
| if (prop != NULL) { |