<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mzp</author_name>
  <author_url>https://blog.hatena.ne.jp/mzp/</author_url>
  <blog_title>みずぴー日記</blog_title>
  <blog_url>https://mzp.hatenadiary.org/</blog_url>
  <categories>
    <anon>Erlang</anon>
    <anon>30分プログラム</anon>
  </categories>
  <description>30分プログラム、その664。ErlangでファイルのMD5計算をやってみました。 本当は、md5ベースで重複ファイルの削除をするぜ、みたいなことをやりたかったんです。でも、特定ファイルのmd5を計算するだけで時間が立ってしまいました。特にio_lib:formatに渡す書式文字列が強敵でした。 使い方 1&gt; md5:md5_file(&quot;foo.txt&quot;). &quot;1f83a7283ad5fdb12130895272bf4634&quot; ソースコード -module(md5). -compile([export_all]). -import(file, [read_file/1]). hex(N)-&gt; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20090924%2Fhash&quot; title=&quot;ErlangでファイルのMD5計算 - みずぴー日記&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>2009-09-24 00:00:00</published>
  <title>ErlangでファイルのMD5計算</title>
  <type>rich</type>
  <url>https://mzp.hatenadiary.org/entry/20090924/hash</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
