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
# Created by newuser for 5.0.2 | |
export LANG=ja_JP.UTF-8 | |
## PATH | |
export PATH=$HOME/bin:$HOME/.ndenv/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/texbin | |
### Added by the Heroku Toolbelt | |
export PATH=/usr/local/heroku/bin:$PATH |
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
# encoding: utf-8 | |
require 'net/https' | |
require 'oauth' | |
require 'cgi' | |
require 'json' | |
require 'openssl' | |
require "date" | |
require "pp" |
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
# encoding: utf-8 | |
require "net/https" | |
require "oauth" | |
require "cgi" | |
require "json" | |
require "openssl" | |
require "date" | |
require "./key_token.rb" | |
require "pp" |
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
# encoding: utf-8 | |
require 'watir-webdriver' | |
require 'net/https' | |
require 'oauth' | |
require 'cgi' | |
require 'json' | |
require 'openssl' | |
CONSUMER_KEY = "*" |
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
# encoding: utf-8 | |
require "nokogiri" | |
require "open-uri" | |
require "uri" | |
# Lyrics module | |
# | |
# * Lyrics.Search("title") | |
# search songs by "title" in http://www.littleoslo.com/ (Not support pagement) |
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
# Created by newuser for 5.0.2 | |
export LANG=ja_JP.UTF-8 | |
## PATH | |
PATH=$HOME/.ndenv/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/texbin:$HOME/bin | |
export PATH | |
### Added by the Heroku Toolbelt | |
export PATH="/usr/local/heroku/bin:$PATH" |
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
# encoding: utf-8 | |
require 'rubygems' | |
require '../twitter-config.rb' | |
require 'osx/cocoa' | |
include OSX | |
class TweetTunes < NSObject | |
def initialize | |
center = NSDistributedNotificationCenter.defaultCenter |
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 TableView () { | |
this.initialize.apply(this, arguments); | |
} | |
TableView.prototype = { | |
initialize: function(jquery_obj, view_id) { | |
this.view = jquery_obj; | |
if(this.view.length !== 1) { | |
throw new Error("Object does not point at unique element"); | |
} |
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
# encoding: utf-8 | |
require "twitter" | |
require "tweetstream" | |
require "json" | |
CONSUMER_KEY = "" | |
CONSUMER_SECRET = "" | |
ACCESS_TOKEN = "" | |
ACCESS_TOKEN_SECRET = "" |
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
# encoding: utf-8 | |
require "json" | |
require 'gruff' | |
log = {} | |
open("barusu_output.json") do |io| | |
log = JSON.load(io) | |
end |