<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cookie-s</author_name>
  <author_url>https://blog.hatena.ne.jp/cookie-s/</author_url>
  <blog_title>cookies.txt　　　　　　.scr</blog_title>
  <blog_url>https://cookies.hatenablog.jp/</blog_url>
  <categories>
    <anon>雑記</anon>
    <anon>ruby</anon>
    <anon>program</anon>
  </categories>
  <description>はてな記法のテストのついでに。なんとなくRubyのスクリプトを書きつくる。 #!ruby require &quot;socket&quot; require &quot;thread&quot; s0 = TCPServer.open(ARGV[1]) while true do sock = s0.accept Thread.new(sock) do |sock| io = IO.popen(ARGV[0],&quot;r+&quot;) Thread.new([io,sock]) do |args| while args[0].gets args[1].puts $_ end end Thread.new([io,sock]) do |args|…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcookies.hatenablog.jp%2Fentry%2F2012%2F10%2F08%2F020354&quot; title=&quot;初めての微妙に使えるRubyスクリプト - cookies.txt　　　　　　.scr&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-10-08 02:03:54</published>
  <title>初めての微妙に使えるRubyスクリプト</title>
  <type>rich</type>
  <url>https://cookies.hatenablog.jp/entry/2012/10/08/020354</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
