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
{ | |
"brightness": 0.07, | |
"saturation": 1.1, | |
"sharpness": 0.1 | |
} |
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
# -*- coding: utf-8 -*- | |
$:.unshift("/Library/RubyMotion/lib") | |
require 'motion/project/template/ios' | |
begin | |
require 'bundler' | |
Bundler.require | |
rescue LoadError | |
end |
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 LoginController < UIViewController | |
def viewDidLoad | |
super | |
@button = TWTRLogInButton.buttonWithLogInCompletion Proc.new {|session, error| | |
if error | |
NSLog("Error : #{error}") | |
else | |
NSLog("UserName : #{session.userName}") |
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 TimelineController < UIViewController | |
def viewDidLoad | |
super | |
@tweets = [] | |
@table = UITableView.alloc.initWithFrame(self.view.bounds) | |
@table.registerClass(TWTRTweetTableViewCell, forCellReuseIdentifier: 'Cell') | |
@table.dataSource = self | |
@table.delegate = self |
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
function addStyleSheet(href) { | |
var link = document.createElement("link"); | |
link.setAttribute("rel", "stylesheet"); | |
link.setAttribute("type", "text/css"); | |
link.setAttribute("href", href); | |
var head = document.getElementsByTagName("head")[0]; | |
head.appendChild(link); | |
} |
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
# -*- coding: utf-8 -*- | |
require 'rubygems' | |
require 'sqlite3' | |
# ~/Library/Containers/com.qiita.Kobito/Data/Library/Kobito/Kobito.db | |
KOBITO_DB = "/tmp/Kobito.db" | |
EXPORT_PATH = "/tmp/export" | |
COLUMNS = %w(ZTITLE ZRAW_BODY) | |
db = SQLite3::Database.new(KOBITO_DB) |
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
license: mit |
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
[{"name":"北海道コンサドーレ札幌","team_number":14,"category":1},{"name":"ベガルタ仙台","team_number":54,"category":1},{"name":"鹿島アントラーズ","team_number":1,"category":1},{"name":"浦和レッズ","team_number":3,"category":1},{"name":"柏レイソル","team_number":11,"category":1},{"name":"FC東京","team_number":22,"category":1},{"name":"川崎フロンターレ","team_number":21,"category":1},{"name":"横浜F・マリノス","team_number":5,"category":1},{"name":"湘南ベルマーレ","team_number":12,"category":1},{"name":"清水エスパルス","team_number":7,"category":1},{"name":"ジュビロ磐田","team_number":13,"category":1},{"name":"名古屋グランパス","team_number":8,"category":1},{"name":"ガンバ大阪","team_number":9,"category":1},{"name":"セレッソ大阪","team_number":20,"category":1},{"name":"ヴィッセル神戸","team_number":18,"category":1},{"name":"サンフレッチェ広島","team_number":10,"category":1},{"name":"サガン鳥栖","team_number":33,"category":1},{"name":"V・ファーレン長崎","team_number":47,"category":1},{"name":"モンテディオ山形","team_number":29,"category":2},{"name":"水戸ホーリーホック","team_number":94,"category":2},{"name":"栃木SC","team_number":40,"category":2},{" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer