<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lef237</author_name>
  <author_url>https://blog.hatena.ne.jp/lef237/</author_url>
  <blog_title>LEFログ</blog_title>
  <blog_url>https://lef237.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>ChatGPTの回答（アイキャッチ用） 日記です。 ChatGPTに「Rustでcalコマンドを実装する方法」と訊いてみたら、コード付きで次のような答えが返ってきました。 Rustでcalコマンド（カレンダーを表示するコマンド）を実装するには、標準ライブラリのchronoというモジュールを使用すると便利です。このモジュールには、日付や時刻を扱うためのデータ型や関数が用意されています。例えば、次のようなコードでcalコマンドと同様の機能を実装することができます。 use chrono::{Datelike, Local}; fn main() { // 現在の日付を取得する let today …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flef237.hatenablog.com%2Fentry%2F2022%2F12%2F04%2F112356&quot; title=&quot;ChatGPTがすごい🤖　新しい言語や技術を学ぶときに使えそう💡 - LEFログ&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/l/lef237/20221204/20221204112027.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-12-04 11:23:56</published>
  <title>ChatGPTがすごい🤖　新しい言語や技術を学ぶときに使えそう💡</title>
  <type>rich</type>
  <url>https://lef237.hatenablog.com/entry/2022/12/04/112356</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
