<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kyagi</author_name>
  <author_url>https://blog.hatena.ne.jp/kyagi/</author_url>
  <blog_title>blog.ayakumo.net</blog_title>
  <blog_url>https://blog.ayakumo.net/</blog_url>
  <categories>
    <anon>scala</anon>
    <anon>ammonite</anon>
  </categories>
  <description>sbt は優秀なツールだけれども、さくっと Scala のスクリプトを書くには Ammonite のほうがお気に入り。シェルからは -c オプションで気軽に Scala をスクリプトとして実行可能。 $ amm -c 'import scala.io.Source; val file = Source.fromFile(&quot;/home/kyagi/.gitconfig&quot;); file.getLines.foreach(line =&gt; { if (line.contains(&quot;branch&quot;)) println(line) })' Compiling /home/kyagi/(console) b…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.ayakumo.net%2Fentry%2F2018%2F01%2F16%2F233538&quot; title=&quot;Ammonite を使用してお手軽に Scala のスクリプトを書く - blog.ayakumo.net&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>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kyagi/20180216/20180216164301.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-01-16 23:35:38</published>
  <title>Ammonite を使用してお手軽に Scala のスクリプトを書く</title>
  <type>rich</type>
  <url>https://blog.ayakumo.net/entry/2018/01/16/233538</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
