CocoaPods project setup
Create a Podfile
at the root of your project
platform :ios, '5.0'
pod 'AFNetworking'
pod 'OHAttributedLabel'
// Trie.ts - super simple JS implementation | |
// https://en.wikipedia.org/wiki/Trie | |
// ----------------------------------------- | |
// we start with the TrieNode | |
class TrieNode<V> { | |
// we keep a reference to parent | |
public parent = null; | |
for i in *.wav; do lame -b 320 -h "${i}" "${i%.wav}.mp3"; done |
- (UIViewController *)topViewController{ | |
return [self topViewController:[UIApplication sharedApplication].keyWindow.rootViewController]; | |
} | |
- (UIViewController *)topViewController:(UIViewController *)rootViewController | |
{ | |
if (rootViewController.presentedViewController == nil) { | |
return rootViewController; | |
} | |
Create a Podfile
at the root of your project
platform :ios, '5.0'
pod 'AFNetworking'
pod 'OHAttributedLabel'
"""GitHub flavoured markdown: because normal markdown has some vicious | |
gotchas. | |
Further reading on the gotchas: | |
http://blog.stackoverflow.com/2009/10/markdown-one-year-later/ | |
This is a Python port of GitHub code, taken from | |
https://gist.github.com/901706 | |
To run the tests, install nose ($ easy_install nose) then: |
curl https://raw.github.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash | |
echo "source ~/.git-completion.bash" >> ~/.bash_profile |