Webの地上化 - keita watanabe
Firefox Developer Conference
http://mozilla.jp/events/2010/fxdevcon/
Cloud <-> 地上
require 'formula' | |
# http://tech.kayac.com/archive/using-libcurl-in-iphone.html | |
class IosCurl < Formula | |
url 'http://curl.haxx.se/download/curl-7.21.3.tar.gz' | |
version '7.21.3' | |
homepage 'http://curl.haxx.se/' | |
md5 '25e01bd051533f320c05ccbb0c52b246' |
Webの地上化 - keita watanabe
Firefox Developer Conference
http://mozilla.jp/events/2010/fxdevcon/
Cloud <-> 地上
Webの地上化 - keita watanabe
Firefox Developer Conference
http://mozilla.jp/events/2010/fxdevcon/
Cloud <-> 地上
function TwitterSearch(){ | |
var defaultSearchWord = 'kinect'; | |
var defaultInterval = 30; | |
function searchUrl(searchWord){ | |
var urlBase = 'http://search.twitter.com/search.json?q='; | |
return urlBase + searchWord; | |
} | |
var log = Ti.API.log; |
// UIImageViewひとつだけaddSubviewされた状態 | |
var w = UIApplication.sharedApplication.keyWindow | |
log('AAA'); | |
var transition = CATransition.animation | |
transition.timingFunction = CAMediaTimingFunction.functionWithName(kCAMediaTimingFunctionLinear) | |
transition.type = kCATransitionFade | |
transition.duration = 1.0 | |
log(transition) |
JSCocoa Interactive Consoleを最近のXCode/iPhoneシミュレータで動かす | |
http://ido.nu/kuma/2008/11/23/jscocoa-interactive-console-for-iphone-ja/ | |
1. 自分のiPhoneアプリケーションプロジェクトを準備 普通に動作してる事を確認 | |
2. JSCocoa, JSCocoa/iPhone, JSCocoaInteractiveShellのファイルをプロジェクトに追加 | |
- *.jsファイルは*.js_にリネームした(Bunleとして読むため) | |
- ヘッダ検索パスに /usr/include/libxml2/ 追加 | |
- フレームワークにlibxml2.dylib追加 | |
- 他のリンカフラグに-lffi |
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'nokogiri' | |
require 'open-uri' | |
module JD_EXT | |
module FixMP3TagFromSC | |
class << self | |
def jd_webui_url | |
'http://localhost:8765/' |
@implementation XXX (UnitTest) | |
- (NSManagedObjectModel *)managedObjectModel2 { | |
//... | |
} | |
@end | |
@implementation XXXTestCase | |
- (void)swapMethods { |
#import <UIKit/UIKit.h> | |
@interface HelloWebKitViewController : UIViewController <UIWebViewDelegate> { | |
IBOutlet UIWebView *webView; | |
} | |
@property (nonatomic,retain) UIWebView *webView; | |
@end | |
// iPhone + UIWebView | |
// http://www.syuhari.jp/blog/archives/888 |
#!/usr/bin/env ruby | |
require 'rubygems' | |
#$:.unshift File.dirname(__FILE__) + '/../../lib/' | |
require 'echonest' | |
require 'pit' | |
require 'pp' | |
module DumpEchonestPlaylist | |
class << self | |
def init |