{"image_url":null,"title":" LZO/Ruby: \u5727\u7e2e\u3057\u3066\u307f\u308b","blog_url":"https://so-wh.at/","height":"190","provider_name":"Hatena Blog","type":"rich","blog_title":"so what","author_url":"https://blog.hatena.ne.jp/winebarrel/","provider_url":"https://hatena.blog","width":"100%","categories":["RUBY"],"version":"1.0","url":"https://so-wh.at/entry/20080729/p2","description":"\u304d\u3061\u3093\u3068\u5727\u7e2e\u3067\u304d\u3066\u308b\u304b\u4e0d\u5b89\u3060\u3063\u305f\u306e\u3067\u3001\u3061\u3087\u3063\u3068\u52d5\u4f5c\u78ba\u8a8d\u3002 require 'lzoruby' open('index.html', 'rb') do |fin| open('index.html.lzo', 'wb') do |fout| fout << LZO.compress(fin.read) end end open('index.html.lzo', 'rb') do |fin| open('index.html.2', 'wb') do |fout| fout << LZO.decompress(fin.read) end end ~/work$ wget http://d.hat\u2026","author_name":"winebarrel","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fso-wh.at%2Fentry%2F20080729%2Fp2\" title=\" LZO/Ruby: \u5727\u7e2e\u3057\u3066\u307f\u308b - so what\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2008-07-29 00:00:00"}