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
#!/home/sho/bin/ruby19 | |
class Template | |
def initialize( &block ) | |
@child = [] | |
instance_eval( &block ) | |
end | |
def result | |
@child.join( "\n" ) |
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
#! /usr/bin/env ruby | |
# | |
# tsite.rb: getting current T-Point by scraping tsite.jp. | |
# | |
# Copyright (C) 2011 by TADA Tadashi <[email protected]> | |
# Distributed under GPL. | |
# | |
require 'rubygems' | |
require 'mechanize' |
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
--- mixi2gmail.rb.20080404 2008-04-08 11:17:42.000000000 +0900 | |
+++ mixi2gmail.rb 2009-03-22 14:11:33.000000000 +0900 | |
@@ -34,7 +34,14 @@ | |
rescue LoadError | |
end | |
require 'nkf' | |
+ | |
require 'mechanize' | |
+require 'hpricot' | |
+begin |
NewerOlder