This file contains hidden or 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
| require 'net/http' | |
| require 'uri' | |
| require 'rubygems' | |
| require 'json' | |
| module Twitter | |
| class UserStreams | |
| BASE_URI = URI.parse('http://chirpstream.twitter.com/') |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=shift_jis"> | |
| <title>Text Shadow</title> | |
| </head> | |
| <body> | |
| <p id="text" style="text-align:center;line-height:120px;virtical-align:bottom;">HTML5(CSS3)</p> | |
| <script type="text/javascript"> |
This file contains hidden or 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
| 16:01 < reudy> 御茶ノ水博士にツクテモロタ | |
| 16:01 < strato335> まじでw | |
| 16:02 < reudy> まじか | |
| 16:02 < strato335> closerにつくてもろたんじゃないの? | |
| 16:04 <@closer> ツクテモロタwww | |
| 16:05 < reudy> いやおかしくないから | |
| 16:06 <@closer> ごめん | |
| 16:06 < reudy> ツクテモロタ | |
| 16:06 < strato335> バロスwwwwwwwwwwww |
This file contains hidden or 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
| 16:01 < reudy> 御茶ノ水博士にツクテモロタ | |
| 16:01 < strato335> まじでw | |
| 16:02 < reudy> まじか | |
| 16:02 < strato335> closerにつくてもろたんじゃないの? | |
| 16:04 <@closer> ツクテモロタwww | |
| 16:05 < reudy> いやおかしくないから | |
| 16:06 <@closer> ごめん | |
| 16:06 < reudy> ツクテモロタ | |
| 16:06 < strato335> バロスwwwwwwwwwwww |
This file contains hidden or 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
| ["", nil, false, 0].each do |obj| | |
| p obj | |
| %w|blank? nil? empty?|.each do |name| | |
| puts "#{obj.class}##{name}\n #{obj.methods.include?(name) ? obj.send(name) : 'No'}" | |
| end | |
| puts("-" * 20) | |
| end |
This file contains hidden or 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
| require "rubygems" | |
| require "highline" | |
| require "mechanize" | |
| hl = HighLine.new | |
| email = hl.ask('E-mail: ') | |
| password = hl.ask('Password: '){|q| q.echo = '*'} | |
| filename = ARGV.first |
This file contains hidden or 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
| <!-- | |
| Tumblr Theme include Google Analytics | |
| --> | |
| <meta name="text:Google Analytics" content=""/> | |
| {block:IfGoogleAnalytics} | |
| <script type="text/javascript"> | |
| var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="ja"> | |
| <head> | |
| <title>CSS3</title> | |
| <style type="text/css"> | |
| ul.menu { | |
| margin:0; | |
| padding:0; | |
| width:30.0em; | |
| list-style:none; |
This file contains hidden or 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
| #!/usr/bin/ruby | |
| $KCODE = "u" | |
| require "cgi" | |
| require "kconv" | |
| require "rubygems" | |
| require "rmagick" | |
| include Magick |
This file contains hidden or 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
| module Kernel | |
| def fizzbuzz limit=100 | |
| (0..limit).each {|n| puts n.to_fizzbuzz } | |
| end | |
| end | |
| class Integer | |
| def is_fizz? | |
| self % 3 == 0 | |
| end |