Skip to content

Instantly share code, notes, and snippets.

@furu
Created December 18, 2012 19:12
Show Gist options
  • Save furu/4330971 to your computer and use it in GitHub Desktop.
Save furu/4330971 to your computer and use it in GitHub Desktop.
# coding: utf-8
require 'open-uri'
require 'nokogiri'
def bukkonuku_yo
doc = Nokogiri::HTML(open('http://blog.itopoid.net/mikan_yametai'))
message = []
doc.css('img.size-full').each do |img|
message << img['title']
end
message
end
puts bukkonuku_yo.map { |m| m + "\n\n" } if $0 == __FILE__
__END__
最高のUXを体験するために、マウスポインタをかざせ!
@furu
Copy link
Author

furu commented Dec 18, 2012

Gist.vimからの投稿テスト。

Gist.vim最高!

あとこんなスクリプトは使わずに、マウスポインタはかざしましょう。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment