<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bamch0h</author_name>
  <author_url>https://blog.hatena.ne.jp/bamch0h/</author_url>
  <blog_title>bamchoh’s diary</blog_title>
  <blog_url>https://bamch0h.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>2水準系直行表を作成するスクリプト require 'terminal-table' require 'csv' def dup_row(rows) new_rows = [] rows.each do |row| 2.times do new_rows &lt;&lt; row.dup end end new_rows end def add_cols(rows) c = [0,1].cycle new_rows = rows.dup new_rows.each do |row| d = c.next add_row = [] row.each do |v| add_row &lt;&lt; (v ^ d) end…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbamch0h.hatenablog.com%2Fentry%2F2021%2F09%2F12%2F231220&quot; title=&quot; 2水準系直行表の作成 - bamchoh’s diary&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>2021-09-12 23:12:20</published>
  <title> 2水準系直行表の作成</title>
  <type>rich</type>
  <url>https://bamch0h.hatenablog.com/entry/2021/09/12/231220</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
