2013-10-09から1日間の記事一覧

rubyでTwitterのメンションを待ち受ける

require 'tweetstream' TweetStream.configure do |config| config.consumer_key = 'xxx' config.consumer_secret = 'xxx' config.oauth_token = 'xxx' config.oauth_token_secret = 'xxx' config.auth_method = :oauth end client = TweetStream::Client.ne…

emacsで選択部分をコメントアウトする

リージョンを選択してから M - ; (メタキー+セミコロン)でできる。