首先不同网站,当然可以使用同一个邮箱,比如我的github,gitlab,bitbucket的账号都是monkeysuzie[at]gmail.com 这时候不用担心密钥的问题,因为这些网站push pull 认证的唯一性的是邮箱 比如我的windows 上 2个账号一个gitlab 一个github (用的都是id_rsa)
host github
hostname github.com
Port 22
host gitlab.zjut.com
open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/ |
#!/bin/sh | |
appicon="icon1024.png" | |
outputDir="AppIcon" | |
outputNamePrefix="AppIcon" | |
sizeArray=("29" "40" "50" "57" "58" "60" "72" "76" "80" "87" "100" "114" "120" "144" "152" "180") |
@interface CustomImagePickerController : UIImagePickerController | |
{ | |
BOOL m_bWillDisappear; | |
} | |
@end | |
@implementation CustomImagePickerController | |
- (void)viewWillAppear:(BOOL)animated { | |
[super viewWillAppear:animated]; |
#!/bin/sh | |
mkdir targetPath | |
find originPath -name "*.h" -print | xargs -I {} ln -s {} targetPath/ |
# 把图片最大一边压缩到800px,另一边按比例缩放 | |
sips -Z 800 ./*.png | |
# 顺时针旋转90度 | |
sips -r 90 ./*.png | |
# 垂直翻转 | |
sips -f vettical ./*.png | |
#更多命令 sips -h |
rm -rf `find . -type d -name .svn` |
rm -rf `find . -name .DS_Store` |
# Created by http://www.gitignore.io | |
### Xcode ### | |
build | |
*.xcodeproj/* | |
!*.xcodeproj/project.pbxproj | |
!*.xcworkspace/contents.xcworkspacedata | |
### Objective-C ### |