-
リモートリポジトリをローカルにクローン(複製)します。
git clone #{リモートリポジトリのURL}
-
クローンしたディレクトリへ移動(Change Directry)
cd #{ローカルパス}
-
必要なGemを一気にインストール
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
$ 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
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
(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
# 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
- (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
class ApplicationController < ActionController::Base | |
... | |
# FORCE to implement content_for in controller | |
def view_context | |
super.tap do |view| | |
(@_content_for || {}).each do |name,content| | |
view.content_for name, content | |
end | |
end | |
end |