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
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { | |
static NSString *CellIdentifier = @"SampleTable"; | |
if (!tweetMessages) { | |
UITableViewCell *cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:CellIdentifier] autorelease]; | |
cell.textLabel.text = @"loading..."; | |
cell.textLabel.textColor = [UIColor grayColor]; | |
return cell; | |
} | |
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
# Testflight web interface doesn't allow input non-ASCII characters (e.g. Japanese) with Safari! | |
BROWSER = Google Chrome | |
TESTFLIGHT_TEAM_TOKEN_FILE = ./.testflight_team_token | |
TESTFLIGHT_TEAM_TOKEN_URL = https://testflightapp.com/dashboard/team/edit/?next=/api/doc/ | |
TESTFLIGHT_TEAM_TOKEN = $(shell cat $(TESTFLIGHT_TEAM_TOKEN_FILE)) | |
TESTFLIGHT_API_TOKEN_FILE = ~/.testflight_api_token | |
TESTFLIGHT_API_TOKEN_URL = https://testflightapp.com/account/\#api-token | |
TESTFLIGHT_API_TOKEN = $(shell cat $(TESTFLIGHT_API_TOKEN_FILE)) | |
TESTFLIGHT_NOTES = 'This build was uploaded via the upload API' | |
#TESTFLIGHT_OTHER_OPTIONS = -F replace=True |
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
(lldb) po [NSUserDefaults standardUserDefaults] | |
error: Couldn't prepare the expression for execution in the target | |
(lldb) po [(Class)objc_getClass("NSUserDefaults") standardUserDefaults] | |
(id) $17 = 0x0644e5a0 <NSUserDefaults: 0x644e5a0> |
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
Fetching https://dl-ssl.google.com/android/repository/addons_list-1.xml | |
Validate XML | |
Parse XML | |
Fetched Add-ons List successfully | |
Fetching URL: https://dl-ssl.google.com/android/repository/repository-6.xml | |
Validate XML: https://dl-ssl.google.com/android/repository/repository-6.xml | |
Parse XML: https://dl-ssl.google.com/android/repository/repository-6.xml | |
Found SDK Platform Android 1.1, API 2, revision 1 (Obsolete) | |
Found SDK Platform Android 1.5, API 3, revision 4 | |
Found SDK Platform Android 1.6, API 4, revision 3 |
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
$ clang main.m -o main -framework Cocoa && ./main | |
-[Container dealloc] | |
-[Content dealloc] property | |
-[Content dealloc] associatedObject |
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
SELECT encode(bin,'escape') FROM t; |
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
$ echo "6393BA8BC2DD3CBD7B55D00B9D9587843BDB05CD Windows8-ReleasePreview-64bit-Japanese.iso" | shasum -c /dev/stdin | |
Windows8-ReleasePreview-64bit-Japanese-1.iso: OK |
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
escape ^Tt | |
#bind ^q quit | |
startup_message off | |
bell 'bell in window[%]' | |
hardstatus alwayslastline "[%Lw]%=%H %d%M(%D)%c" | |
defscrollback 100000 | |
defencoding UTF-8 | |
defutf8 on |
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
task "assets:precompile" do | |
`(cd /tmp && curl -O https://heroku-buildpack-nodejs.s3.amazonaws.com/nodejs-0.8.19.tgz)` | |
`(mkdir -p bin/nodejs && cd bin/nodejs && tar xzf /tmp/nodejs-0.8.19.tgz)` | |
`(cd bin && ln -s nodejs/bin/node node)` | |
`node bin/nodejs/bin/npm install` | |
end |