I've moved this gist to https://github.com/phynet/iOS-Schemes please check it there ;)
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
| sil_stage canonical | |
| import Builtin | |
| import Swift | |
| import SwiftShims | |
| // static Swift.Process._argc : Swift.Int32 | |
| sil_global [fragile] @static Swift.Process._argc : Swift.Int32 : $Int32 | |
| // globalinit_33_1BDF70FFC18749BAB495A73B459ED2F0_token5 |
Moved to git repository: https://github.com/denji/golang-tls
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
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
| // Objective-C | |
| @interface Document: NSObject | |
| @property (nonatomic, copy) NSArray *notes; | |
| @property (nonatomic, readonly) RACSignal *notesUpdatedSignal; | |
| @end | |
| @implementation Document | |
| - (RACSignal *)notesUpdatedSignal | |
| { | |
| // In Objective-C, just simply use RACObserve |
To remove a submodule you need to:
- Delete the relevant section from the .gitmodules file.
- Stage the .gitmodules changes git add .gitmodules
- Delete the relevant section from .git/config.
- Run git rm --cached path_to_submodule (no trailing slash).
- Run rm -rf .git/modules/path_to_submodule (no trailing slash).
- Commit git commit -m "Removed submodule "
- Delete the now untracked submodule files rm -rf path_to_submodule
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
Generate the list yourself:
$ cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS*.sdk/System/Library/Frameworks/UIKit.framework/Headers
$ grep UI_APPEARANCE_SELECTOR ./* | \
sed 's/NS_AVAILABLE_IOS(.*)//g' | \
sed 's/NS_DEPRECATED_IOS(.*)//g' | \
sed 's/API_AVAILABLE(.*)//g' | \
sed 's/API_UNAVAILABLE(.*)//g' | \
sed 's/UI_APPEARANCE_SELECTOR//g' | \
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
| @interface SomeViewController () | |
| // Declare some collection properties to hold the various updates we might get from the NSFetchedResultsControllerDelegate | |
| @property (nonatomic, strong) NSMutableIndexSet *deletedSectionIndexes; | |
| @property (nonatomic, strong) NSMutableIndexSet *insertedSectionIndexes; | |
| @property (nonatomic, strong) NSMutableArray *deletedRowIndexPaths; | |
| @property (nonatomic, strong) NSMutableArray *insertedRowIndexPaths; | |
| @property (nonatomic, strong) NSMutableArray *updatedRowIndexPaths; | |
| @end |
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
| #!/bin/bash | |
| # source: http://www.haskell.org/pipermail/haskell-cafe/2011-March/090170.html | |
| sudo rm -rf /Library/Frameworks/GHC.framework | |
| sudo rm -rf /Library/Frameworks/HaskellPlatform.framework | |
| sudo rm -rf /Library/Haskell | |
| rm -rf ~/.cabal | |
| rm -rf ~/.ghc | |
| rm -rf ~/Library/Haskell |
