<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Memos on Piyopanman</title>
    <link>https://piyopanman.dev/memos/</link>
    <description>Recent content in Memos on Piyopanman</description>
    <image>
      <title>Piyopanman</title>
      <url>https://piyopanman.dev/images/piyopanman.png</url>
      <link>https://piyopanman.dev/images/piyopanman.png</link>
    </image>
    <generator>Hugo -- 0.154.2</generator>
    <language>ja</language>
    <lastBuildDate>Sat, 02 Mar 2024 23:08:58 +0900</lastBuildDate>
    <atom:link href="https://piyopanman.dev/memos/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>行動をチャンク化して「1日に1ターンしか行動できない」から脱却する</title>
      <link>https://piyopanman.dev/memos/chunking-actions/</link>
      <pubDate>Sat, 02 Mar 2024 23:08:58 +0900</pubDate>
      <guid>https://piyopanman.dev/memos/chunking-actions/</guid>
      <description>&lt;p&gt;1 日に 1 ターンしか行動できない方、いませんか？私です。というか、私でした。&lt;br&gt;
例えば、&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;その日美容院に行く予定があったら、美容院に行く以外のことは何も手につかない&lt;/li&gt;
&lt;li&gt;午後から人に会う予定があったので午前のうちに作業をしようと思ったが、結局何もできず時間を無駄にしてしまった&lt;/li&gt;
&lt;li&gt;午前中だけバイトのシフトが入っていて午後は時間があったはずなのに、気づいたら特に何もせず 1 日が終わっていた&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;など。&lt;br&gt;
自分がまさにこれだったのですが、「理論的には自由に使える時間はたっぷりあったはずなのに、何もできていない」ということに強烈な無力感を覚え、悲しい気持ちになりがちでした。&lt;br&gt;
しかし最近になってこれを解消する方法を見つけたので、私以外の誰かの役に立つかもしれないと思い、メモしておきます。&lt;/p&gt;</description>
    </item>
    <item>
      <title>精神的なフッ軽さ</title>
      <link>https://piyopanman.dev/memos/fukkaru/</link>
      <pubDate>Wed, 05 Jul 2023 22:11:03 +0900</pubDate>
      <guid>https://piyopanman.dev/memos/fukkaru/</guid>
      <description>&lt;p&gt;このツイートについて&lt;br&gt;
&lt;blockquote class=&#34;twitter-tweet&#34;&gt;&lt;p lang=&#34;ja&#34; dir=&#34;ltr&#34;&gt;技術的な文脈に限らず、何かに取り組むときの精神的なフッ軽さっていいなぁと最近よく思う&lt;br&gt;具体的で明確な理由がなくてもとりあえずやってみることが出来るかどうかというか好奇心というか&lt;/p&gt;&amp;mdash; ぴよぱんまん (@hiyoko_coder) &lt;a href=&#34;https://twitter.com/hiyoko_coder/status/1676567743150309376?ref_src=twsrc%5Etfw&#34;&gt;July 5, 2023&lt;/a&gt;&lt;/blockquote&gt;
&lt;script async src=&#34;https://platform.twitter.com/widgets.js&#34; charset=&#34;utf-8&#34;&gt;&lt;/script&gt;

&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;技術的な文脈に限らず、何かに取り組むときの精神的なフッ軽さっていいなぁと最近よく思う
具体的で明確な理由がなくてもとりあえずやってみることが出来るかどうかというか好奇心というか&lt;/p&gt;</description>
    </item>
    <item>
      <title>【Hugo】紛らわしい用語の整理</title>
      <link>https://piyopanman.dev/memos/hugo/</link>
      <pubDate>Fri, 30 Dec 2022 15:24:46 +0900</pubDate>
      <guid>https://piyopanman.dev/memos/hugo/</guid>
      <description>&lt;p&gt;紛らわしい用語とか紛らわしい用法とかまとめておく！&lt;br&gt;
間違っていたらTwitterか何かで教えてください！！！！&lt;/p&gt;
&lt;h2 id=&#34;section-content-type-archetype&#34;&gt;Section, Content Type, Archetype&lt;/h2&gt;
&lt;h3 id=&#34;section&#34;&gt;Section&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://gohugo.io/content-management/sections/&#34;
    

     
        target=&#34;_blank&#34; rel=&#34;noopener&#34;
    
&gt;
    公式
&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;ディレクトリ構造によって決められるやつ。&lt;/li&gt;
&lt;li&gt;content直下のディレクトリか&lt;code&gt;_index.md&lt;/code&gt;を含むディレクトリはセクション扱いになる&lt;/li&gt;
&lt;li&gt;front matterで上書きできない&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://gohugo.io/variables/page/#section-variables-and-methods&#34;
    

     
        target=&#34;_blank&#34; rel=&#34;noopener&#34;
    
&gt;
    sectionに関する変数やメソッド
&lt;/a&gt;がある&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;content-type&#34;&gt;Content Type&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://gohugo.io/content-management/types/&#34;
    

     
        target=&#34;_blank&#34; rel=&#34;noopener&#34;
    
&gt;
    公式
&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;typeが設定されていない場合は所属しているディレクトリになる&lt;/li&gt;
&lt;li&gt;どのテンプレートを使ってレンダリングされるかに使用される&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;archetype&#34;&gt;Archetype&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://gohugo.io/content-management/archetypes/&#34;
    

     
        target=&#34;_blank&#34; rel=&#34;noopener&#34;
    
&gt;
    公式
&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;hugo new xxx&lt;/code&gt;したときに、どの&lt;code&gt;.md&lt;/code&gt;ファイルを使ってファイルを生成するかを決める&lt;/li&gt;
&lt;li&gt;&lt;code&gt;hugo new posts/hoge.md&lt;/code&gt;ってしたら、&lt;code&gt;archetype/posts.md&lt;/code&gt;をもとにして&lt;code&gt;content/posts/hoge.md&lt;/code&gt;が作られる&lt;/li&gt;
&lt;li&gt;&lt;code&gt;hugo new xxx&lt;/code&gt;で作ったコンテントファイルで&lt;code&gt;{{ .Site.Xxx }}&lt;/code&gt;みたいに変数は使えないが、&lt;code&gt;archetype&lt;/code&gt;ディレクトリ内の&lt;code&gt;.md&lt;/code&gt;ファイルでは使える&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;taxonomy-term-value&#34;&gt;Taxonomy, Term, Value&lt;/h2&gt;
&lt;h3 id=&#34;taxonomy&#34;&gt;Taxonomy&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;&#34;
    

    
&gt;
    公式
&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;ユーザが独自にコンテンツを分類するための仕組み&lt;/li&gt;
&lt;li&gt;コンテンツを分類するために使われる&lt;/li&gt;
&lt;li&gt;&lt;code&gt;config.yml&lt;/code&gt;内でサイトレベルで設定するもの&lt;/li&gt;
&lt;li&gt;Taxonomyごとのリンクを設定できる（&lt;code&gt;/categories/&lt;/code&gt; &lt;code&gt;/tags/&lt;/code&gt;など）&lt;/li&gt;
&lt;li&gt;デフォルトでは、&lt;code&gt;categories&lt;/code&gt;と&lt;code&gt;tags&lt;/code&gt;というtaxonomyが設定されている&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;term&#34;&gt;Term&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;taxonomyの中のkey(categoriesの中の &lt;em&gt;memo&lt;/em&gt; とかがterm)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;value&#34;&gt;Value&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Termにアサインされたコンテンツ&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;front matterの中で&lt;br&gt;
&lt;code&gt;taxonomy: [term1, term2]&lt;/code&gt;&lt;br&gt;
ってする。例えば,&lt;br&gt;
&lt;code&gt;categories: [memo, development]&lt;/code&gt;&lt;br&gt;
なので、Valueにあたるのはコンテンツファイル。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
