Installation procedure for pre-build actions to automatically populate Xcode Info.plist with dynamic data.
Edit Xcode Scheme and add a pre-action script.
Copy the contents of preaction.sh into the pre-action script box.
| #import <Foundation/Foundation.h> | |
| @interface NSString (MCHTMLToPlainTextConversion) | |
| -(NSString *)stringByConvertingHTMLToPlainText; | |
| @end |
Installation procedure for pre-build actions to automatically populate Xcode Info.plist with dynamic data.
Edit Xcode Scheme and add a pre-action script.
Copy the contents of preaction.sh into the pre-action script box.
| From: http://snipt.net/yonishin/about-xcode-4-project-template | |
| XCode 4 Projects and Files Template Folder: /Developer/Library/Xcode/Templates | |
| Examples: | |
| /Developer/Library/Xcode/Templates/Project Templates/Base/Other/Empty.xctemplate | |
| /Developer/Library/Xcode/Templates/Project Templates/Base/Base.xctemplate | |
| /Developer/Library/Xcode/Templates/Project Templates/Mac/Mac Base.xctemplate | |
| /Developer/Library/Xcode/Templates/Project Templates/Mac/Application/Command Line Tool.xctemplate | |
| /Developer/Library/Xcode/Templates/Project Templates/Mac/Application/Cocoa Application.xctemplate |
| #!/usr/bin/env python | |
| # coding=utf8 | |
| # author=evi1m0 | |
| # website=linux.im | |
| ''' | |
| 12306 Captcha Picture: | |
| author: Evi1m0@20150316 | |
| 1. Download Captcha | |
| 2. Pic Conver Text |
You know the pain, you cloned a repo over HTTPS, and now Git asks you for your password each time you want to push or pull.
Chances are you already have the git credential-osxkeychain command installed.
If not, just install Git with brew: brew install git.
Once installed, just tell Git to use the KeyChain to store your credentials:
git config --global credential.helper osxkeychain