git shortlog -ns
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
typedef NS_ENUM (<#enumeration type#>, <#enumeration name#>) { | |
<#enumerator1#> = <#value1#>, | |
}; |
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
######################### | |
# .gitignore file for Xcode4 / OS X Source projects | |
# | |
# Version 2.0 | |
# For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects | |
# | |
# 2013 updates: | |
# - fixed the broken "save personal Schemes" | |
# | |
# NB: if you are storing "built" products, this WILL NOT WORK, |
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
# Build Folders (you can keep bin if you'd like, to store dlls and pdbs) | |
[Bb]in/ | |
[Oo]bj/ | |
# mstest test results | |
TestResults | |
## Ignore Visual Studio temporary files, build results, and | |
## files generated by popular Visual Studio add-ons. |
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 *)JSONKeyPathsByPropertyKey { | |
// マッピングしたいものだけ指定。全て名前が一緒なら空のままでOK。 | |
return @{@"hogeFuga", @"hoge_fuga"}; | |
} | |
+(NSValueTransformer*)chaptersJSONTransformer { | |
return [NSValueTransformer mtl_JSONArrayTransformerWithModelClass:UIChapter.class]; | |
} |
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
javascript:$('body').css('background', 'white');$('*').not('.csharp >span').css('color', 'black'); |
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
MTLJSONAdapter *adapter = [[MTLJSONAdapter alloc] initWithModel:self.book]; | |
NSDictionary*jsonDict = adapter.JSONDictionary; | |
NSData* jsonData = [NSJSONSerialization dataWithJSONObject:jsonDict options:0 error:nil]; | |
NSString* jsonString = [[NSString alloc] initWithBytes:[jsonData bytes] length:[jsonData length] encoding:NSUTF8StringEncoding]; |
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
git clone --mirror <SOURCE_REPOSITORY_URL> | |
cd <REPOSITORY> | |
git push --mirror <DESTINATION_REPOSITORY_URL> |
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
git branch -r --merged | grep -o "feature\/.*" | while read BRANCH; do git push origin :${BRANCH}; done; unset BRANCH; |
OlderNewer