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
// depends on https://github.com/coryalder/LevenshteinSwift | |
class SuggestionController { | |
// has a couple of notable vars: | |
// delegate, where the inputted text is loaded from | |
// rawCompletions, an array of possible suggestions (unfiltered) | |
// autocompletions, the filtered array of suggestions we're offer up to the user | |
func filterAutocompletions() { | |
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
<table> | |
<tr><td>hi</td><td>hello</td></tr> | |
<tr><td>howdy</td><td>hi hi</td></tr> | |
<tr><td>bye</td><td>goodbye</td></tr> | |
</table> |
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
Appirater | |
AQGridView | |
AutoHyperlinks | |
Boost | |
Chromium | |
CocoaLumberjack | |
CoreTextHyperlinkView | |
EGODatabase | |
EGOTableViewPullRefresh | |
HPGrowingTextView |
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
#!/bin/bash | |
cd ~/textmate | |
git pull origin | |
git submodule update | |
ninja TextMate | |
: ${NEWTEXTMATEPATH:="$HOME/build/TextMate/Applications/TextMate/TextMate.app"} | |
if [ -d $NEWTEXTMATEPATH ]; then | |
rm -rf /Applications/TextMate.app | |
mv $NEWTEXTMATEPATH /Applications/ | |
fi |
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:$('#mw-page-base, #mw-head-base, #content, #mw-head, #mw-panel, #footer').css('display','inherit'); $('#mw-sopaOverlay').css('display','none'); |
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
iOS Apps | |
http://itunes.apple.com/ca/app/tunein-radio-pro/id319295332?mt=8 | |
http://itunes.apple.com/ca/app/tunein-radio/id418987775?mt=8 | |
http://itunes.apple.com/ca/app/ootunes-radio-recording-alarm/id302782364?mt=8 | |
http://itunes.apple.com/ca/app/ifree-radio/id401485652?mt=8 | |
Android Apps | |
http://daappsblog.blogspot.com/2010/03/listen-tweet-apps-for-android.html | |
https://market.android.com/details?id=com.radio.rapp&feature=search_result |
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
#! /usr/bin/env python | |
# based on vplayer.py (http://pymedia.org/tut/src/vplayer.py.html) by dmitry borisov (http://pymedia.org) | |
# bloated and uglied for fair reasons by sven könig (http://www.popmodernism.org) | |
import sys, thread, time, traceback, Queue, os | |
import optparse | |
import pymedia | |
import pymedia.video.muxer as muxer |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>DVTConsoleDebuggerInputTextColor</key> | |
<string>0 0 0 1</string> | |
<key>DVTConsoleDebuggerInputTextFont</key> | |
<string>Menlo-Bold - 11.0</string> | |
<key>DVTConsoleDebuggerOutputTextColor</key> | |
<string>0 0 0 1</string> |
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
// when specify id as the type, you can use NSObject methods. | |
// when you specify as a custom protocol, you cannot. | |
// UNLESS you say that your custom protocol includes <NSObject> | |
#import <Foundation/Foundation.h> | |
@protocol CustomProtocol // <NSObject> // uncommenting <NSObject> fixes the issue | |
@end |