This commit is contained in:
falsycat
2023-02-24 08:30:16 +00:00
parent 0f56cefd61
commit f38c75f3e2
33 changed files with 120 additions and 49 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Notes on</title><link>https://ar.falsy.cat/note/</link><description>Recent content in Notes on</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><atom:link href="https://ar.falsy.cat/note/index.xml" rel="self" type="application/rss+xml"/><item><title>ObsidianとQuartzによるセカンドブレインデジタルガーデンの構築</title><link>https://ar.falsy.cat/note/info-tech/publish-obsidian-by-quartz/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ar.falsy.cat/note/info-tech/publish-obsidian-by-quartz/</guid><description>&lt;h2 id="概要">概要&lt;/h2>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Notes on</title><link>https://ar.falsy.cat/note/</link><description>Recent content in Notes on</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><atom:link href="https://ar.falsy.cat/note/index.xml" rel="self" type="application/rss+xml"/><item><title>ArchLinuxのインストール</title><link>https://ar.falsy.cat/note/info-tech/install-archlinux/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ar.falsy.cat/note/info-tech/install-archlinux/</guid><description>概要 ArchLinuxのインストール手順を記録する Live Environmentの起動方法については触れない 前提 qemu上の仮想マシン BIOS GPT x86_64 デュアルブートなし できるだけシンプル,ミニマリスティックに 手順 1. 事前準備 1 2 3 loadkeys jp106 # キーボード設定 ping google.</description></item><item><title>ObsidianとQuartzによるセカンドブレインデジタルガーデンの構築</title><link>https://ar.falsy.cat/note/info-tech/publish-obsidian-by-quartz/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ar.falsy.cat/note/info-tech/publish-obsidian-by-quartz/</guid><description>&lt;h2 id="概要">概要&lt;/h2>
&lt;ul>
&lt;li>
&lt;a href="https://github.com/jackyzha0/quartz" rel="noopener">Quartz&lt;/a>で

View File

@@ -0,0 +1,49 @@
<!doctype html><html lang=en><head><meta charset=utf-8><meta name=description content="概要 ArchLinuxのインストール手順を記録する Live Environmentの起動方法については触れない 前提 qemu上の仮想マシン BIOS GPT x86_64 デュアルブートなし できるだけシンプル,ミニマリスティックに 手順 1. 事前準備 1 2 3 loadkeys jp106 # キーボード設定 ping google."><meta property="og:title" content="ArchLinuxのインストール"><meta property="og:description" content="概要 ArchLinuxのインストール手順を記録する Live Environmentの起動方法については触れない 前提 qemu上の仮想マシン BIOS GPT x86_64 デュアルブートなし できるだけシンプル,ミニマリスティックに 手順 1. 事前準備 1 2 3 loadkeys jp106 # キーボード設定 ping google."><meta property="og:type" content="website"><meta property="og:image" content="https://ar.falsy.cat/icon.png"><meta property="og:url" content="https://ar.falsy.cat/note/info-tech/install-archlinux/"><meta property="og:width" content="200"><meta property="og:height" content="200"><meta name=twitter:card content="summary"><meta name=twitter:title content="ArchLinuxのインストール"><meta name=twitter:description content="概要 ArchLinuxのインストール手順を記録する Live Environmentの起動方法については触れない 前提 qemu上の仮想マシン BIOS GPT x86_64 デュアルブートなし できるだけシンプル,ミニマリスティックに 手順 1. 事前準備 1 2 3 loadkeys jp106 # キーボード設定 ping google."><meta name=twitter:image content="https://ar.falsy.cat/icon.png"><title>ArchLinuxのインストール</title><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" type=image/png href=https://ar.falsy.cat//icon.png><link href=https://ar.falsy.cat/styles.b369a84b3c6e6bfd686ad1f9da65641c.min.css rel=stylesheet><link href=https://ar.falsy.cat/styles/_light_syntax.86a48a52faebeaaf42158b72922b1c90.min.css rel=stylesheet id=theme-link><script src=https://ar.falsy.cat/js/darkmode.557cde7fcc3511a3d7ca8545ecd46d77.min.js></script>
<script src=https://ar.falsy.cat/js/util.a0ccf91e1937fe761a74da4946452710.min.js></script>
<link rel=preload href=https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/katex.min.css as=style onload='this.onload=null,this.rel="stylesheet"' integrity=sha384-R4558gYOUz8mP9YWpZJjofhk+zx0AS11p36HnD2ZKj/6JR5z27gSSULCNHIRReVs crossorigin=anonymous><script defer src=https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/katex.min.js integrity=sha384-z1fJDqw8ZApjGO3/unPWUPsIymfsJmyrDVWC8Tv/a1HeOtGmkwNd/7xUS0Xcnvsx crossorigin=anonymous></script>
<script defer src=https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/contrib/auto-render.min.js integrity=sha384-+XBljXPPiv+OzfbB3cVmLHf4hdUFHlWNZN5spNQ7rmHTXpd7WvJum6fIACpNNfIR crossorigin=anonymous></script>
<script defer src=https://cdn.jsdelivr.net/npm/katex@0.16.2/dist/contrib/copy-tex.min.js integrity=sha384-ww/583aHhxWkz5DEVn6OKtNiIaLi2iBRNZXfJRiY1Ai7tnJ9UXpEsyvOITVpTl4A crossorigin=anonymous></script>
<script async src=https://unpkg.com/@floating-ui/core@0.7.3></script>
<script async src=https://unpkg.com/@floating-ui/dom@0.5.4></script>
<script async src=https://ar.falsy.cat/js/popover.aa9bc99c7c38d3ae9538f218f1416adb.min.js></script>
<script defer src=https://ar.falsy.cat/js/code-title.ce4a43f09239a9efb48fee342e8ef2df.min.js></script>
<script defer src=https://ar.falsy.cat/js/clipboard.2913da76d3cb21c5deaa4bae7da38c9f.min.js></script>
<script defer src=https://ar.falsy.cat/js/callouts.7723cac461d613d118ee8bb8216b9838.min.js></script>
<script>const SEARCH_ENABLED=!1,LATEX_ENABLED=!0,PRODUCTION=!0,BASE_URL="https://ar.falsy.cat/",fetchData=Promise.all([fetch("https://ar.falsy.cat/indices/linkIndex.c040c1436cb72314ec9cfac7769e51ca.min.json").then(e=>e.json()).then(e=>({index:e.index,links:e.links})),fetch("https://ar.falsy.cat/indices/contentIndex.c3de5f8d04f16dab1f39926495971482.min.json").then(e=>e.json())]).then(([{index:e,links:t},n])=>({index:e,links:t,content:n})),render=()=>{const e=new URL(BASE_URL),t=e.pathname,n=window.location.pathname,s=t==n;addCopyButtons(),addTitleToCodeBlocks(),addCollapsibleCallouts(),initPopover("https://ar.falsy.cat",!0);const o=document.getElementById("footer");if(o){const e=document.getElementById("graph-container");if(!e)return requestAnimationFrame(render);e.textContent="";const t=s&&!0;drawGraph("https://ar.falsy.cat",t,[{"/moc":"#4388cc"}],t?{centerForce:1,depth:-1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.5,linkDistance:1,opacityScale:3,repelForce:1,scale:1.4}:{centerForce:1,depth:1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.6,linkDistance:1,opacityScale:3,repelForce:2,scale:1.2})}var i=document.getElementsByClassName("mermaid");i.length>0&&import("https://unpkg.com/mermaid@9/dist/mermaid.esm.min.mjs").then(e=>{e.default.init()});function a(n){const e=n.target,t=e.className.split(" "),s=t.includes("broken"),o=t.includes("internal-link");plausible("Link Click",{props:{href:e.href,broken:s,internal:o,graph:!1}})}const r=document.querySelectorAll("a");for(link of r)link.className.includes("root-title")&&link.addEventListener("click",a,{once:!0})},init=(e=document)=>{addCopyButtons(),addTitleToCodeBlocks(),renderMathInElement(e.body,{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1}],macros:{'':"'"},throwOnError:!1})}</script><script type=module>
import { attachSPARouting } from "https:\/\/ar.falsy.cat\/js\/router.d6fe6bd821db9ea97f9aeefae814d8e7.min.js"
attachSPARouting(init, render)
</script><script defer data-domain=ar.falsy.cat src=https://plausible.io/js/script.js></script>
<script>window.plausible=window.plausible||function(){(window.plausible.q=window.plausible.q||[]).push(arguments)}</script></head><body><div id=search-container><div id=search-space><input autocomplete=off id=search-bar name=search type=text aria-label=Search placeholder="Search for something..."><div id=results-container></div></div></div><script src=https://cdn.jsdelivr.net/npm/flexsearch@0.7.21/dist/flexsearch.bundle.js integrity="sha256-i3A0NZGkhsKjVMzFxv3ksk0DZh3aXqu0l49Bbh0MdjE=" crossorigin=anonymous defer></script>
<script defer src=https://ar.falsy.cat/js/full-text-search.e6e2e0c213187ca0c703d6e2c7a77fcd.min.js></script><div class=singlePage><header><h1 id=page-title><a class=root-title href=https://ar.falsy.cat/>ar.falsy.cat</a></h1><div class=spacer></div><div id=search-icon><p>Search</p><svg tabindex="0" aria-labelledby="title desc" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.9 19.7"><title id="title">Search Icon</title><desc id="desc">Icon to open search</desc><g class="search-path" fill="none"><path stroke-linecap="square" d="M18.5 18.3l-5.4-5.4"/><circle cx="8" cy="8" r="7"/></g></svg></div><div class=darkmode><input class=toggle id=darkmode-toggle type=checkbox tabindex=-1>
<label id=toggle-label-light for=darkmode-toggle tabindex=-1><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="dayIcon" viewBox="0 0 35 35" style="enable-background:new 0 0 35 35"><title>Light Mode</title><path d="M6 17.5C6 16.672 5.328 16 4.5 16h-3C.672 16 0 16.672.0 17.5S.672 19 1.5 19h3C5.328 19 6 18.328 6 17.5zM7.5 26c-.414.0-.789.168-1.061.439l-2 2C4.168 28.711 4 29.086 4 29.5 4 30.328 4.671 31 5.5 31c.414.0.789-.168 1.06-.44l2-2C8.832 28.289 9 27.914 9 27.5 9 26.672 8.329 26 7.5 26zm10-20C18.329 6 19 5.328 19 4.5v-3C19 .672 18.329.0 17.5.0S16 .672 16 1.5v3C16 5.328 16.671 6 17.5 6zm10 3c.414.0.789-.168 1.06-.439l2-2C30.832 6.289 31 5.914 31 5.5 31 4.672 30.329 4 29.5 4c-.414.0-.789.168-1.061.44l-2 2C26.168 6.711 26 7.086 26 7.5 26 8.328 26.671 9 27.5 9zM6.439 8.561C6.711 8.832 7.086 9 7.5 9 8.328 9 9 8.328 9 7.5c0-.414-.168-.789-.439-1.061l-2-2C6.289 4.168 5.914 4 5.5 4 4.672 4 4 4.672 4 5.5c0 .414.168.789.439 1.06l2 2.001zM33.5 16h-3c-.828.0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5h3c.828.0 1.5-.672 1.5-1.5S34.328 16 33.5 16zM28.561 26.439C28.289 26.168 27.914 26 27.5 26c-.828.0-1.5.672-1.5 1.5.0.414.168.789.439 1.06l2 2C28.711 30.832 29.086 31 29.5 31c.828.0 1.5-.672 1.5-1.5.0-.414-.168-.789-.439-1.061l-2-2zM17.5 29c-.829.0-1.5.672-1.5 1.5v3c0 .828.671 1.5 1.5 1.5s1.5-.672 1.5-1.5v-3C19 29.672 18.329 29 17.5 29zm0-22C11.71 7 7 11.71 7 17.5S11.71 28 17.5 28 28 23.29 28 17.5 23.29 7 17.5 7zm0 18c-4.136.0-7.5-3.364-7.5-7.5s3.364-7.5 7.5-7.5 7.5 3.364 7.5 7.5S21.636 25 17.5 25z"/></svg></label><label id=toggle-label-dark for=darkmode-toggle tabindex=-1><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="nightIcon" viewBox="0 0 100 100" style="enable-background='new 0 0 100 100'"><title>Dark Mode</title><path d="M96.76 66.458c-.853-.852-2.15-1.064-3.23-.534-6.063 2.991-12.858 4.571-19.655 4.571C62.022 70.495 50.88 65.88 42.5 57.5 29.043 44.043 25.658 23.536 34.076 6.47c.532-1.08.318-2.379-.534-3.23-.851-.852-2.15-1.064-3.23-.534-4.918 2.427-9.375 5.619-13.246 9.491-9.447 9.447-14.65 22.008-14.65 35.369.0 13.36 5.203 25.921 14.65 35.368s22.008 14.65 35.368 14.65c13.361.0 25.921-5.203 35.369-14.65 3.872-3.871 7.064-8.328 9.491-13.246C97.826 68.608 97.611 67.309 96.76 66.458z"/></svg></label></div></header><article><h1>ArchLinuxのインストール</h1><p class=meta>Last updated
Feb 24, 2023</p><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info tech</a></li><li><a href=https://ar.falsy.cat/tags/linux/>Linux</a></li></ul><aside class=mainTOC><details><summary>Table of Contents</summary><nav id=TableOfContents><ol><li><a href=#概要>概要</a></li><li><a href=#前提>前提</a></li><li><a href=#手順>手順</a><ol><li><a href=#1-事前準備>1. 事前準備</a></li><li><a href=#2-パーティショニング>2. パーティショニング</a></li><li><a href=#3-インストール>3. インストール</a></li><li><a href=#4-初期設定>4. 初期設定</a></li></ol></li></ol></nav></details></aside><a href=#概要><h2 id=概要><span class=hanchor arialabel=Anchor># </span>概要</h2></a><ul><li><a href=https://archlinux.org rel=noopener>ArchLinux</a>のインストール手順を記録する</li><li>Live Environmentの起動方法については触れない</li></ul><a href=#前提><h2 id=前提><span class=hanchor arialabel=Anchor># </span>前提</h2></a><ul><li><a href=/note/info-tech/qemu/ rel=noopener class=internal-link data-src=/note/info-tech/qemu/>qemu</a>上の仮想マシン</li><li>BIOS</li><li>GPT</li><li>x86_64</li><li>デュアルブートなし</li><li>できるだけシンプル,ミニマリスティックに</li></ul><a href=#手順><h2 id=手順><span class=hanchor arialabel=Anchor># </span>手順</h2></a><a href=#1-事前準備><h3 id=1-事前準備><span class=hanchor arialabel=Anchor># </span>1. 事前準備</h3></a><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre tabindex=0 class=chroma><code><span class=lnt>1
</span><span class=lnt>2
</span><span class=lnt>3
</span></code></pre></td><td class=lntd><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=cl>loadkeys jp106 <span class=c1># キーボード設定</span>
</span></span><span class=line><span class=cl>ping google.com <span class=c1># インターネット疎通確認</span>
</span></span><span class=line><span class=cl>timedatectl status <span class=c1># 時間の確認 (この時点ではUTC)</span>
</span></span></code></pre></td></tr></table></div></div><a href=#2-パーティショニング><h3 id=2-パーティショニング><span class=hanchor arialabel=Anchor># </span>2. パーティショニング</h3></a><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre tabindex=0 class=chroma><code><span class=lnt>1
</span><span class=lnt>2
</span><span class=lnt>3
</span></code></pre></td><td class=lntd><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=cl>cfdisk /dev/sda <span class=c1># 先頭1MiBをBIOS bootに残りをLinuxに設定</span>
</span></span><span class=line><span class=cl>mkfs.ext4 /dev/sda1 <span class=c1># フォーマット</span>
</span></span><span class=line><span class=cl>mount /dev/sda1 /mnt <span class=c1># /mntへマウント</span>
</span></span></code></pre></td></tr></table></div></div><a href=#3-インストール><h3 id=3-インストール><span class=hanchor arialabel=Anchor># </span>3. インストール</h3></a><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre tabindex=0 class=chroma><code><span class=lnt>1
</span><span class=lnt>2
</span></code></pre></td><td class=lntd><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=cl>vim /etc/pacman.d/mirrorlist <span class=c1># 日本のmirrorを指定しておく</span>
</span></span><span class=line><span class=cl>pacstrap -K /mnt base linux linux-firmware vim <span class=c1># Wi-Fiで10分くらい</span>
</span></span></code></pre></td></tr></table></div></div><ul><li>執筆時点で有効な日本のmirror<ul><li><code>http://mirrors.cat.net/archlinux/$repo/os/$arch</code></li><li><code>https://mirrors.cat.net/archlinux/$repo/os/$arch</code></li></ul></li></ul><a href=#4-初期設定><h3 id=4-初期設定><span class=hanchor arialabel=Anchor># </span>4. 初期設定</h3></a><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre tabindex=0 class=chroma><code><span class=lnt>1
</span><span class=lnt>2
</span></code></pre></td><td class=lntd><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=cl>genfstab -U /mnt &gt;&gt; /mnt/etc/fstab
</span></span><span class=line><span class=cl>arch-chroot /mnt <span class=c1># 以下仮想rootで作業</span>
</span></span></code></pre></td></tr></table></div></div><a href=#時計関係><h4 id=時計関係><span class=hanchor arialabel=Anchor># </span>時計関係</h4></a><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre tabindex=0 class=chroma><code><span class=lnt>1
</span><span class=lnt>2
</span></code></pre></td><td class=lntd><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=cl>ln -sf /usr/share/zoneinfo/Asia/Tokyo /etc/localtime <span class=c1># TZを東京に</span>
</span></span><span class=line><span class=cl>hwclock --systohc
</span></span></code></pre></td></tr></table></div></div><a href=#言語関係><h4 id=言語関係><span class=hanchor arialabel=Anchor># </span>言語関係</h4></a><ul><li><code>/etc/locale.gen</code>を編集して,<code>en_US.UTF-8 UTF-8</code>をアンコメント</li><li><code>locale-gen</code></li><li><code>/etc/locale.conf</code>を作成して<code>LANG=en_US.UTF-8</code>を追記-</li><li><code>/etc/vconsole.conf</code>を作成して<code>KEYMAP=jp106</code>を追記</li></ul><a href=#カスタマイズ><h4 id=カスタマイズ><span class=hanchor arialabel=Anchor># </span>カスタマイズ</h4></a><ul><li><code>/etc/hostname</code>にホスト名を設定</li><li><code>passwd</code>でrootパスワードを設定</li></ul><a href=#ブートローダのインストール><h4 id=ブートローダのインストール><span class=hanchor arialabel=Anchor># </span>ブートローダのインストール</h4></a><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre tabindex=0 class=chroma><code><span class=lnt>1
</span><span class=lnt>2
</span><span class=lnt>3
</span></code></pre></td><td class=lntd><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=cl>pacman -S grub/
</span></span><span class=line><span class=cl>grub-install --target<span class=o>=</span>i386-pc /dev/sda
</span></span><span class=line><span class=cl>grub-mkconfig -o /boot/grub/grub.cfg
</span></span></code></pre></td></tr></table></div></div><p>以上.</p><div class=content-list><h2>Related Notes</h2><ul class=section-ul><li class=section-li><div class=section><p class=meta>Feb 24, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/info-tech/publish-obsidian-by-quartz/ class=internal-link data-src=/note/info-tech/publish-obsidian-by-quartz/>ObsidianとQuartzによるセカンドブレインデジタルガーデンの構築</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info-Tech</a></li><li><a href=https://ar.falsy.cat/tags/web/>Web</a></li></ul></div></li><li class=section-li><div class=section><p class=meta>Feb 23, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/info-tech/obsidian/ class=internal-link data-src=/note/info-tech/obsidian/>Obsidianについて</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info-Tech</a></li><li><a href=https://ar.falsy.cat/tags/tool/>Tool</a></li></ul></div></li><li class=section-li><div class=section><p class=meta>Feb 24, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/info-tech/qemu/ class=internal-link data-src=/note/info-tech/qemu/>qemuについて</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info-Tech</a></li><li><a href=https://ar.falsy.cat/tags/tool/>Tool</a></li><li><a href=https://ar.falsy.cat/tags/virtualization/>Virtualization</a></li></ul></div></li></ul></div></article><hr><div class=page-end id=footer><div class=backlinks-container><h3>Backlinks</h3><ul class=backlinks><li><a href=/note/info-tech/qemu/ data-ctx="関連: ArchLinuxのインストール方法" data-src=/note/info-tech/qemu class=internal-link>qemuについて</a></li></ul></div><div><script async src=https://cdn.jsdelivr.net/npm/d3@6.7.0/dist/d3.min.js integrity="sha256-+7jaYCp29O1JusNWHaYtgUn6EhuP0VaFuswhNV06MyI=" crossorigin=anonymous></script><h3>Interactive Graph</h3><div id=graph-container></div><style>:root{--g-node:var(--secondary);--g-node-active:var(--primary);--g-node-inactive:var(--visited);--g-link:var(--outlinegray);--g-link-active:#5a7282}</style><script src=https://ar.falsy.cat/js/graph.6579af7b10c818dbd2ca038702db0224.js></script></div></div><div id=contact_buttons><footer><p>Made by falsycat using <a href=https://github.com/jackyzha0/quartz>Quartz</a>, © 2023</p><ul><li><a href=https://ar.falsy.cat/>Home</a></li><li><a href=https://falsy.cat/>Portfolio</a></li><li><a href=https://falsy.cat/admin>Fediverse</a></li><li><a href=https://github.com/falsycat>GitHub</a></li><li><a href=https://youtube.com/@falsycat>YouTube</a></li></ul></footer></div></div></body></html>

File diff suppressed because one or more lines are too long

View File

@@ -45,7 +45,7 @@ Quartzの紹介文からの引用
<script defer src=https://ar.falsy.cat/js/code-title.ce4a43f09239a9efb48fee342e8ef2df.min.js></script>
<script defer src=https://ar.falsy.cat/js/clipboard.2913da76d3cb21c5deaa4bae7da38c9f.min.js></script>
<script defer src=https://ar.falsy.cat/js/callouts.7723cac461d613d118ee8bb8216b9838.min.js></script>
<script>const SEARCH_ENABLED=!1,LATEX_ENABLED=!0,PRODUCTION=!0,BASE_URL="https://ar.falsy.cat/",fetchData=Promise.all([fetch("https://ar.falsy.cat/indices/linkIndex.92d675a7cffc7af51d1f613cd83c9a9b.min.json").then(e=>e.json()).then(e=>({index:e.index,links:e.links})),fetch("https://ar.falsy.cat/indices/contentIndex.5208f678d16f67dd8a0c69561e2d38ad.min.json").then(e=>e.json())]).then(([{index:e,links:t},n])=>({index:e,links:t,content:n})),render=()=>{const e=new URL(BASE_URL),t=e.pathname,n=window.location.pathname,s=t==n;addCopyButtons(),addTitleToCodeBlocks(),addCollapsibleCallouts(),initPopover("https://ar.falsy.cat",!0);const o=document.getElementById("footer");if(o){const e=document.getElementById("graph-container");if(!e)return requestAnimationFrame(render);e.textContent="";const t=s&&!0;drawGraph("https://ar.falsy.cat",t,[{"/moc":"#4388cc"}],t?{centerForce:1,depth:-1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.5,linkDistance:1,opacityScale:3,repelForce:1,scale:1.4}:{centerForce:1,depth:1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.6,linkDistance:1,opacityScale:3,repelForce:2,scale:1.2})}var i=document.getElementsByClassName("mermaid");i.length>0&&import("https://unpkg.com/mermaid@9/dist/mermaid.esm.min.mjs").then(e=>{e.default.init()});function a(n){const e=n.target,t=e.className.split(" "),s=t.includes("broken"),o=t.includes("internal-link");plausible("Link Click",{props:{href:e.href,broken:s,internal:o,graph:!1}})}const r=document.querySelectorAll("a");for(link of r)link.className.includes("root-title")&&link.addEventListener("click",a,{once:!0})},init=(e=document)=>{addCopyButtons(),addTitleToCodeBlocks(),renderMathInElement(e.body,{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1}],macros:{'':"'"},throwOnError:!1})}</script><script type=module>
<script>const SEARCH_ENABLED=!1,LATEX_ENABLED=!0,PRODUCTION=!0,BASE_URL="https://ar.falsy.cat/",fetchData=Promise.all([fetch("https://ar.falsy.cat/indices/linkIndex.c040c1436cb72314ec9cfac7769e51ca.min.json").then(e=>e.json()).then(e=>({index:e.index,links:e.links})),fetch("https://ar.falsy.cat/indices/contentIndex.c3de5f8d04f16dab1f39926495971482.min.json").then(e=>e.json())]).then(([{index:e,links:t},n])=>({index:e,links:t,content:n})),render=()=>{const e=new URL(BASE_URL),t=e.pathname,n=window.location.pathname,s=t==n;addCopyButtons(),addTitleToCodeBlocks(),addCollapsibleCallouts(),initPopover("https://ar.falsy.cat",!0);const o=document.getElementById("footer");if(o){const e=document.getElementById("graph-container");if(!e)return requestAnimationFrame(render);e.textContent="";const t=s&&!0;drawGraph("https://ar.falsy.cat",t,[{"/moc":"#4388cc"}],t?{centerForce:1,depth:-1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.5,linkDistance:1,opacityScale:3,repelForce:1,scale:1.4}:{centerForce:1,depth:1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.6,linkDistance:1,opacityScale:3,repelForce:2,scale:1.2})}var i=document.getElementsByClassName("mermaid");i.length>0&&import("https://unpkg.com/mermaid@9/dist/mermaid.esm.min.mjs").then(e=>{e.default.init()});function a(n){const e=n.target,t=e.className.split(" "),s=t.includes("broken"),o=t.includes("internal-link");plausible("Link Click",{props:{href:e.href,broken:s,internal:o,graph:!1}})}const r=document.querySelectorAll("a");for(link of r)link.className.includes("root-title")&&link.addEventListener("click",a,{once:!0})},init=(e=document)=>{addCopyButtons(),addTitleToCodeBlocks(),renderMathInElement(e.body,{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1}],macros:{'':"'"},throwOnError:!1})}</script><script type=module>
import { attachSPARouting } from "https:\/\/ar.falsy.cat\/js\/router.d6fe6bd821db9ea97f9aeefae814d8e7.min.js"
attachSPARouting(init, render)
</script><script defer data-domain=ar.falsy.cat src=https://plausible.io/js/script.js></script>
@@ -54,8 +54,9 @@ Quartzの紹介文からの引用
<label id=toggle-label-light for=darkmode-toggle tabindex=-1><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="dayIcon" viewBox="0 0 35 35" style="enable-background:new 0 0 35 35"><title>Light Mode</title><path d="M6 17.5C6 16.672 5.328 16 4.5 16h-3C.672 16 0 16.672.0 17.5S.672 19 1.5 19h3C5.328 19 6 18.328 6 17.5zM7.5 26c-.414.0-.789.168-1.061.439l-2 2C4.168 28.711 4 29.086 4 29.5 4 30.328 4.671 31 5.5 31c.414.0.789-.168 1.06-.44l2-2C8.832 28.289 9 27.914 9 27.5 9 26.672 8.329 26 7.5 26zm10-20C18.329 6 19 5.328 19 4.5v-3C19 .672 18.329.0 17.5.0S16 .672 16 1.5v3C16 5.328 16.671 6 17.5 6zm10 3c.414.0.789-.168 1.06-.439l2-2C30.832 6.289 31 5.914 31 5.5 31 4.672 30.329 4 29.5 4c-.414.0-.789.168-1.061.44l-2 2C26.168 6.711 26 7.086 26 7.5 26 8.328 26.671 9 27.5 9zM6.439 8.561C6.711 8.832 7.086 9 7.5 9 8.328 9 9 8.328 9 7.5c0-.414-.168-.789-.439-1.061l-2-2C6.289 4.168 5.914 4 5.5 4 4.672 4 4 4.672 4 5.5c0 .414.168.789.439 1.06l2 2.001zM33.5 16h-3c-.828.0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5h3c.828.0 1.5-.672 1.5-1.5S34.328 16 33.5 16zM28.561 26.439C28.289 26.168 27.914 26 27.5 26c-.828.0-1.5.672-1.5 1.5.0.414.168.789.439 1.06l2 2C28.711 30.832 29.086 31 29.5 31c.828.0 1.5-.672 1.5-1.5.0-.414-.168-.789-.439-1.061l-2-2zM17.5 29c-.829.0-1.5.672-1.5 1.5v3c0 .828.671 1.5 1.5 1.5s1.5-.672 1.5-1.5v-3C19 29.672 18.329 29 17.5 29zm0-22C11.71 7 7 11.71 7 17.5S11.71 28 17.5 28 28 23.29 28 17.5 23.29 7 17.5 7zm0 18c-4.136.0-7.5-3.364-7.5-7.5s3.364-7.5 7.5-7.5 7.5 3.364 7.5 7.5S21.636 25 17.5 25z"/></svg></label><label id=toggle-label-dark for=darkmode-toggle tabindex=-1><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="nightIcon" viewBox="0 0 100 100" style="enable-background='new 0 0 100 100'"><title>Dark Mode</title><path d="M96.76 66.458c-.853-.852-2.15-1.064-3.23-.534-6.063 2.991-12.858 4.571-19.655 4.571C62.022 70.495 50.88 65.88 42.5 57.5 29.043 44.043 25.658 23.536 34.076 6.47c.532-1.08.318-2.379-.534-3.23-.851-.852-2.15-1.064-3.23-.534-4.918 2.427-9.375 5.619-13.246 9.491-9.447 9.447-14.65 22.008-14.65 35.369.0 13.36 5.203 25.921 14.65 35.368s22.008 14.65 35.368 14.65c13.361.0 25.921-5.203 35.369-14.65 3.872-3.871 7.064-8.328 9.491-13.246C97.826 68.608 97.611 67.309 96.76 66.458z"/></svg></label></div></header><article><h1>ObsidianとQuartzによるセカンドブレインデジタルガーデンの構築</h1><p class=meta>Last updated
Feb 24, 2023</p><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info tech</a></li><li><a href=https://ar.falsy.cat/tags/web/>Web</a></li></ul><aside class=mainTOC><details><summary>Table of Contents</summary><nav id=TableOfContents><ol><li><a href=#概要>概要</a></li><li><a href=#初期設定>初期設定</a></li><li><a href=#記事の執筆>記事の執筆</a></li><li><a href=#ローカルプレビュー>ローカルプレビュー</a></li><li><a href=#カスタマイズ>カスタマイズ</a><ol><li><a href=#recent-notesの表示数を変更する>Recent Notesの表示数を変更する</a></li><li><a href=#トップページにグローバルグラフを表示する>トップページにグローバルグラフを表示する</a></li><li><a href=#記事にrelated-notesを表示する>記事にRelated Notesを表示する</a></li></ol></li><li><a href=#所感>所感</a></li></ol></nav></details></aside><a href=#概要><h2 id=概要><span class=hanchor arialabel=Anchor># </span>概要</h2></a><ul><li><a href=https://github.com/jackyzha0/quartz rel=noopener>Quartz</a>
<a href=/note/info-tech/obsidian/ rel=noopener class=internal-link data-src=/note/info-tech/obsidian/>Obsidian</a>のVaultを公開する</li><li><em>セカンドブレインデジタルガーデン</em>」という御大層な言葉は
<a href=https://github.com/jackyzha0/quartz rel=noopener>Quartz</a>の紹介文からの引用</li></ul><a href=#初期設定><h2 id=初期設定><span class=hanchor arialabel=Anchor># </span>初期設定</h2></a><ol><li><a href=https://github.com/jackyzha0/quartz rel=noopener>Quartz</a>をforkする</li><li>GitHub Actionsを有効化</li><li>repoの設定で<code>workflow permission</code><code>read and write permissions</code>へ変更<ul><li>これしないとdeployに失敗する</li></ul></li><li>repoをローカルにclone</li><li><code>data/config.yaml</code>をいい感じに編集<ul><li><code>author</code>など</li></ul></li><li><code>config.toml</code>をいい感じに編集<ul><li><code>baseURL</code>など</li></ul></li><li>pushする</li><li>deployが終わったらGitHub Pagesのドメイン設定をする</li></ol><a href=#記事の執筆><h2 id=記事の執筆><span class=hanchor arialabel=Anchor># </span>記事の執筆</h2></a><ol><li>ローカルrepoの<code>content/</code>ディレクトリをVaultとしてObisidianで開く<ul><li><code>content/templates/</code>は弄ってはいけない</li></ul></li><li>記事を書く</li><li>pushする</li></ol><a href=#ローカルプレビュー><h2 id=ローカルプレビュー><span class=hanchor arialabel=Anchor># </span>ローカルプレビュー</h2></a><ul><li>まだ
<a href=/note/info-tech/qemu/ rel=noopener class=internal-link data-src=/note/info-tech/qemu/>qemu</a>上のマシンへのOSインストール作業ができていないのでまた今度試す</li><li>なるべくホストマシンは汚したくない(切実)</li></ul><a href=#カスタマイズ><h2 id=カスタマイズ><span class=hanchor arialabel=Anchor># </span>カスタマイズ</h2></a><a href=#recent-notesの表示数を変更する><h3 id=recent-notesの表示数を変更する><span class=hanchor arialabel=Anchor># </span>Recent Notesの表示数を変更する</h3></a><ol><li><code>layouts/partials/recent.html</code><code>first 3 $notes</code>を変更する</li></ol><a href=#トップページにグローバルグラフを表示する><h3 id=トップページにグローバルグラフを表示する><span class=hanchor arialabel=Anchor># </span>トップページにグローバルグラフを表示する</h3></a><ol><li><code>data/graphConfig.yaml</code><code>enableGlobalGraph</code><code>true</code>にする</li></ol><a href=#記事にrelated-notesを表示する><h3 id=記事にrelated-notesを表示する><span class=hanchor arialabel=Anchor># </span>記事にRelated Notesを表示する</h3></a><ol><li><code>layouts/partials/recent.html</code>を作成</li><li><code>layouts/_default/single.html</code>の好きな位置に<code>{{partial "related.html" .}}</code>を挿入</li><li><code>i18n/en.toml</code><code>related_notes</code>の翻訳を追加</li></ol><p>layouts/partials/recent.html</p><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre tabindex=0 class=chroma><code><span class=lnt>1
<a href=https://github.com/jackyzha0/quartz rel=noopener>Quartz</a>の紹介文からの引用</li></ul><a href=#初期設定><h2 id=初期設定><span class=hanchor arialabel=Anchor># </span>初期設定</h2></a><ol><li><a href=https://github.com/jackyzha0/quartz rel=noopener>Quartz</a>をforkする</li><li>GitHub Actionsを有効化</li><li>repoの設定で<code>workflow permission</code><code>read and write permissions</code>へ変更<ul><li>これしないとdeployに失敗する</li></ul></li><li>repoをローカルにclone</li><li><code>data/config.yaml</code>をいい感じに編集<ul><li><code>author</code>など</li></ul></li><li><code>config.toml</code>をいい感じに編集<ul><li><code>baseURL</code>など</li></ul></li><li>pushする</li><li>deployが終わったらGitHub Pagesのドメイン設定をする</li></ol><a href=#記事の執筆><h2 id=記事の執筆><span class=hanchor arialabel=Anchor># </span>記事の執筆</h2></a><ol><li>ローカルrepoの<code>content/</code>ディレクトリをVaultとしてObisidianで開く<ul><li><code>content/templates/</code>は弄ってはいけない</li></ul></li><li>記事を書く</li><li>pushする</li></ol><a href=#ローカルプレビュー><h2 id=ローカルプレビュー><span class=hanchor arialabel=Anchor># </span>ローカルプレビュー</h2></a><ul><li>dockerがあればリポジトリrootで<code>make docker</code>すれば<code>localhost:1313</code>にアクセスできる</li><li><code>Makefile</code><code>docker</code>ターゲットのコマンドを下のように置き換えることで次の問題が解決できる<ul><li>Ctrl+Cでサーバーが終了しない</li><li><code>make docker</code>する度にゴミコンテナが残る</li></ul></li></ul><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre tabindex=0 class=chroma><code><span class=lnt>1
</span></code></pre></td><td class=lntd><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=cl>docker run -it --init --name quartz-preview --volume<span class=o>=</span><span class=k>$(</span>shell <span class=nb>pwd</span><span class=k>)</span>:/quartz -p 1313:1313 ghcr.io/jackyzha0/quartz:hugo<span class=p>;</span> docker rm quartz-preview
</span></span></code></pre></td></tr></table></div></div><a href=#カスタマイズ><h2 id=カスタマイズ><span class=hanchor arialabel=Anchor># </span>カスタマイズ</h2></a><a href=#recent-notesの表示数を変更する><h3 id=recent-notesの表示数を変更する><span class=hanchor arialabel=Anchor># </span>Recent Notesの表示数を変更する</h3></a><ol><li><code>layouts/partials/recent.html</code><code>first 3 $notes</code>を変更する</li></ol><a href=#トップページにグローバルグラフを表示する><h3 id=トップページにグローバルグラフを表示する><span class=hanchor arialabel=Anchor># </span>トップページにグローバルグラフを表示する</h3></a><ol><li><code>data/graphConfig.yaml</code><code>enableGlobalGraph</code><code>true</code>にする</li></ol><a href=#記事にrelated-notesを表示する><h3 id=記事にrelated-notesを表示する><span class=hanchor arialabel=Anchor># </span>記事にRelated Notesを表示する</h3></a><ol><li><code>layouts/partials/recent.html</code>を作成</li><li><code>layouts/_default/single.html</code>の好きな位置に<code>{{partial "related.html" .}}</code>を挿入</li><li><code>i18n/en.toml</code><code>related_notes</code>の翻訳を追加</li></ol><p>layouts/partials/recent.html</p><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre tabindex=0 class=chroma><code><span class=lnt>1
</span><span class=lnt>2
</span><span class=lnt>3
</span><span class=lnt>4
@@ -67,4 +68,4 @@ Feb 24, 2023</p><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note<
</span></span><span class=line><span class=cl><span class=p>&lt;/</span><span class=nt>div</span><span class=p>&gt;</span>
</span></span></code></pre></td></tr></table></div></div><a href=#所感><h2 id=所感><span class=hanchor arialabel=Anchor># </span>所感</h2></a><ul><li>扱いやすい
<a href=/note/info-tech/obsidian/ rel=noopener class=internal-link data-src=/note/info-tech/obsidian/>Obsidian</a>で執筆して,
<a href=https://github.com/jackyzha0/quartz rel=noopener>Quartz</a>でいい感じに公開ができた</li><li>執筆のためにリポジトリをcloneしなければならないため記事数が増えた時の複数PCの同期コストが問題になりそう<ul><li>ブランチ分けてPullRequest活用すれば解決する<ul><li>記事書くたびにPR作るのはクソめんどくさそう</li></ul></li></ul></li></ul><div class=content-list><h2>Related Notes</h2><ul class=section-ul><li class=section-li><div class=section><p class=meta>Feb 23, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/info-tech/obsidian/ class=internal-link data-src=/note/info-tech/obsidian/>Obsidianについて</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info-Tech</a></li><li><a href=https://ar.falsy.cat/tags/tool/>Tool</a></li></ul></div></li><li class=section-li><div class=section><p class=meta>Feb 24, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/info-tech/qemu/ class=internal-link data-src=/note/info-tech/qemu/>qemuについて</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info-Tech</a></li><li><a href=https://ar.falsy.cat/tags/tool/>Tool</a></li><li><a href=https://ar.falsy.cat/tags/virtualization/>Virtualization</a></li></ul></div></li><li class=section-li><div class=section><p class=meta>Feb 23, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/chores/one-hand-egg-cracking/ class=internal-link data-src=/note/chores/one-hand-egg-cracking/>卵を片手で割る手法の提案</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/chores/>Chores</a></li><li><a href=https://ar.falsy.cat/tags/cooking/>Cooking</a></li><li><a href=https://ar.falsy.cat/tags/lifehack/>Lifehack</a></li></ul></div></li></ul></div></article><hr><div class=page-end id=footer><div class=backlinks-container><h3>Backlinks</h3><ul class=backlinks><li><a href=/note/info-tech/obsidian/ data-ctx=Vaultをweb公開する data-src=/note/info-tech/obsidian class=internal-link>Obsidianについて</a></li></ul></div><div><script async src=https://cdn.jsdelivr.net/npm/d3@6.7.0/dist/d3.min.js integrity="sha256-+7jaYCp29O1JusNWHaYtgUn6EhuP0VaFuswhNV06MyI=" crossorigin=anonymous></script><h3>Interactive Graph</h3><div id=graph-container></div><style>:root{--g-node:var(--secondary);--g-node-active:var(--primary);--g-node-inactive:var(--visited);--g-link:var(--outlinegray);--g-link-active:#5a7282}</style><script src=https://ar.falsy.cat/js/graph.6579af7b10c818dbd2ca038702db0224.js></script></div></div><div id=contact_buttons><footer><p>Made by falsycat using <a href=https://github.com/jackyzha0/quartz>Quartz</a>, © 2023</p><ul><li><a href=https://ar.falsy.cat/>Home</a></li><li><a href=https://falsy.cat/>Portfolio</a></li><li><a href=https://falsy.cat/admin>Fediverse</a></li><li><a href=https://github.com/falsycat>GitHub</a></li><li><a href=https://youtube.com/@falsycat>YouTube</a></li></ul></footer></div></div></body></html>
<a href=https://github.com/jackyzha0/quartz rel=noopener>Quartz</a>でいい感じに公開ができた</li><li>執筆のためにリポジトリをcloneしなければならないため記事数が増えた時の複数PCの同期コストが問題になりそう<ul><li>ブランチ分けてPullRequest活用すれば解決する<ul><li>記事書くたびにPR作るのはクソめんどくさそう</li></ul></li></ul></li></ul><div class=content-list><h2>Related Notes</h2><ul class=section-ul><li class=section-li><div class=section><p class=meta>Feb 24, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/info-tech/install-archlinux/ class=internal-link data-src=/note/info-tech/install-archlinux/>ArchLinuxのインストール</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info-Tech</a></li><li><a href=https://ar.falsy.cat/tags/linux/>Linux</a></li></ul></div></li><li class=section-li><div class=section><p class=meta>Feb 23, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/info-tech/obsidian/ class=internal-link data-src=/note/info-tech/obsidian/>Obsidianについて</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info-Tech</a></li><li><a href=https://ar.falsy.cat/tags/tool/>Tool</a></li></ul></div></li><li class=section-li><div class=section><p class=meta>Feb 24, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/info-tech/qemu/ class=internal-link data-src=/note/info-tech/qemu/>qemuについて</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info-Tech</a></li><li><a href=https://ar.falsy.cat/tags/tool/>Tool</a></li><li><a href=https://ar.falsy.cat/tags/virtualization/>Virtualization</a></li></ul></div></li></ul></div></article><hr><div class=page-end id=footer><div class=backlinks-container><h3>Backlinks</h3><ul class=backlinks><li><a href=/note/info-tech/obsidian/ data-ctx=Vaultをweb公開する data-src=/note/info-tech/obsidian class=internal-link>Obsidianについて</a></li></ul></div><div><script async src=https://cdn.jsdelivr.net/npm/d3@6.7.0/dist/d3.min.js integrity="sha256-+7jaYCp29O1JusNWHaYtgUn6EhuP0VaFuswhNV06MyI=" crossorigin=anonymous></script><h3>Interactive Graph</h3><div id=graph-container></div><style>:root{--g-node:var(--secondary);--g-node-active:var(--primary);--g-node-inactive:var(--visited);--g-link:var(--outlinegray);--g-link-active:#5a7282}</style><script src=https://ar.falsy.cat/js/graph.6579af7b10c818dbd2ca038702db0224.js></script></div></div><div id=contact_buttons><footer><p>Made by falsycat using <a href=https://github.com/jackyzha0/quartz>Quartz</a>, © 2023</p><ul><li><a href=https://ar.falsy.cat/>Home</a></li><li><a href=https://falsy.cat/>Portfolio</a></li><li><a href=https://falsy.cat/admin>Fediverse</a></li><li><a href=https://github.com/falsycat>GitHub</a></li><li><a href=https://youtube.com/@falsycat>YouTube</a></li></ul></footer></div></div></body></html>

View File

@@ -33,23 +33,23 @@ M1/M2向けVirtualBoxはまだ開発者プレビューしかなくまとも
<script defer src=https://ar.falsy.cat/js/code-title.ce4a43f09239a9efb48fee342e8ef2df.min.js></script>
<script defer src=https://ar.falsy.cat/js/clipboard.2913da76d3cb21c5deaa4bae7da38c9f.min.js></script>
<script defer src=https://ar.falsy.cat/js/callouts.7723cac461d613d118ee8bb8216b9838.min.js></script>
<script>const SEARCH_ENABLED=!1,LATEX_ENABLED=!0,PRODUCTION=!0,BASE_URL="https://ar.falsy.cat/",fetchData=Promise.all([fetch("https://ar.falsy.cat/indices/linkIndex.92d675a7cffc7af51d1f613cd83c9a9b.min.json").then(e=>e.json()).then(e=>({index:e.index,links:e.links})),fetch("https://ar.falsy.cat/indices/contentIndex.5208f678d16f67dd8a0c69561e2d38ad.min.json").then(e=>e.json())]).then(([{index:e,links:t},n])=>({index:e,links:t,content:n})),render=()=>{const e=new URL(BASE_URL),t=e.pathname,n=window.location.pathname,s=t==n;addCopyButtons(),addTitleToCodeBlocks(),addCollapsibleCallouts(),initPopover("https://ar.falsy.cat",!0);const o=document.getElementById("footer");if(o){const e=document.getElementById("graph-container");if(!e)return requestAnimationFrame(render);e.textContent="";const t=s&&!0;drawGraph("https://ar.falsy.cat",t,[{"/moc":"#4388cc"}],t?{centerForce:1,depth:-1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.5,linkDistance:1,opacityScale:3,repelForce:1,scale:1.4}:{centerForce:1,depth:1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.6,linkDistance:1,opacityScale:3,repelForce:2,scale:1.2})}var i=document.getElementsByClassName("mermaid");i.length>0&&import("https://unpkg.com/mermaid@9/dist/mermaid.esm.min.mjs").then(e=>{e.default.init()});function a(n){const e=n.target,t=e.className.split(" "),s=t.includes("broken"),o=t.includes("internal-link");plausible("Link Click",{props:{href:e.href,broken:s,internal:o,graph:!1}})}const r=document.querySelectorAll("a");for(link of r)link.className.includes("root-title")&&link.addEventListener("click",a,{once:!0})},init=(e=document)=>{addCopyButtons(),addTitleToCodeBlocks(),renderMathInElement(e.body,{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1}],macros:{'':"'"},throwOnError:!1})}</script><script type=module>
<script>const SEARCH_ENABLED=!1,LATEX_ENABLED=!0,PRODUCTION=!0,BASE_URL="https://ar.falsy.cat/",fetchData=Promise.all([fetch("https://ar.falsy.cat/indices/linkIndex.c040c1436cb72314ec9cfac7769e51ca.min.json").then(e=>e.json()).then(e=>({index:e.index,links:e.links})),fetch("https://ar.falsy.cat/indices/contentIndex.c3de5f8d04f16dab1f39926495971482.min.json").then(e=>e.json())]).then(([{index:e,links:t},n])=>({index:e,links:t,content:n})),render=()=>{const e=new URL(BASE_URL),t=e.pathname,n=window.location.pathname,s=t==n;addCopyButtons(),addTitleToCodeBlocks(),addCollapsibleCallouts(),initPopover("https://ar.falsy.cat",!0);const o=document.getElementById("footer");if(o){const e=document.getElementById("graph-container");if(!e)return requestAnimationFrame(render);e.textContent="";const t=s&&!0;drawGraph("https://ar.falsy.cat",t,[{"/moc":"#4388cc"}],t?{centerForce:1,depth:-1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.5,linkDistance:1,opacityScale:3,repelForce:1,scale:1.4}:{centerForce:1,depth:1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.6,linkDistance:1,opacityScale:3,repelForce:2,scale:1.2})}var i=document.getElementsByClassName("mermaid");i.length>0&&import("https://unpkg.com/mermaid@9/dist/mermaid.esm.min.mjs").then(e=>{e.default.init()});function a(n){const e=n.target,t=e.className.split(" "),s=t.includes("broken"),o=t.includes("internal-link");plausible("Link Click",{props:{href:e.href,broken:s,internal:o,graph:!1}})}const r=document.querySelectorAll("a");for(link of r)link.className.includes("root-title")&&link.addEventListener("click",a,{once:!0})},init=(e=document)=>{addCopyButtons(),addTitleToCodeBlocks(),renderMathInElement(e.body,{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1}],macros:{'':"'"},throwOnError:!1})}</script><script type=module>
import { attachSPARouting } from "https:\/\/ar.falsy.cat\/js\/router.d6fe6bd821db9ea97f9aeefae814d8e7.min.js"
attachSPARouting(init, render)
</script><script defer data-domain=ar.falsy.cat src=https://plausible.io/js/script.js></script>
<script>window.plausible=window.plausible||function(){(window.plausible.q=window.plausible.q||[]).push(arguments)}</script></head><body><div id=search-container><div id=search-space><input autocomplete=off id=search-bar name=search type=text aria-label=Search placeholder="Search for something..."><div id=results-container></div></div></div><script src=https://cdn.jsdelivr.net/npm/flexsearch@0.7.21/dist/flexsearch.bundle.js integrity="sha256-i3A0NZGkhsKjVMzFxv3ksk0DZh3aXqu0l49Bbh0MdjE=" crossorigin=anonymous defer></script>
<script defer src=https://ar.falsy.cat/js/full-text-search.e6e2e0c213187ca0c703d6e2c7a77fcd.min.js></script><div class=singlePage><header><h1 id=page-title><a class=root-title href=https://ar.falsy.cat/>ar.falsy.cat</a></h1><div class=spacer></div><div id=search-icon><p>Search</p><svg tabindex="0" aria-labelledby="title desc" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.9 19.7"><title id="title">Search Icon</title><desc id="desc">Icon to open search</desc><g class="search-path" fill="none"><path stroke-linecap="square" d="M18.5 18.3l-5.4-5.4"/><circle cx="8" cy="8" r="7"/></g></svg></div><div class=darkmode><input class=toggle id=darkmode-toggle type=checkbox tabindex=-1>
<label id=toggle-label-light for=darkmode-toggle tabindex=-1><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="dayIcon" viewBox="0 0 35 35" style="enable-background:new 0 0 35 35"><title>Light Mode</title><path d="M6 17.5C6 16.672 5.328 16 4.5 16h-3C.672 16 0 16.672.0 17.5S.672 19 1.5 19h3C5.328 19 6 18.328 6 17.5zM7.5 26c-.414.0-.789.168-1.061.439l-2 2C4.168 28.711 4 29.086 4 29.5 4 30.328 4.671 31 5.5 31c.414.0.789-.168 1.06-.44l2-2C8.832 28.289 9 27.914 9 27.5 9 26.672 8.329 26 7.5 26zm10-20C18.329 6 19 5.328 19 4.5v-3C19 .672 18.329.0 17.5.0S16 .672 16 1.5v3C16 5.328 16.671 6 17.5 6zm10 3c.414.0.789-.168 1.06-.439l2-2C30.832 6.289 31 5.914 31 5.5 31 4.672 30.329 4 29.5 4c-.414.0-.789.168-1.061.44l-2 2C26.168 6.711 26 7.086 26 7.5 26 8.328 26.671 9 27.5 9zM6.439 8.561C6.711 8.832 7.086 9 7.5 9 8.328 9 9 8.328 9 7.5c0-.414-.168-.789-.439-1.061l-2-2C6.289 4.168 5.914 4 5.5 4 4.672 4 4 4.672 4 5.5c0 .414.168.789.439 1.06l2 2.001zM33.5 16h-3c-.828.0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5h3c.828.0 1.5-.672 1.5-1.5S34.328 16 33.5 16zM28.561 26.439C28.289 26.168 27.914 26 27.5 26c-.828.0-1.5.672-1.5 1.5.0.414.168.789.439 1.06l2 2C28.711 30.832 29.086 31 29.5 31c.828.0 1.5-.672 1.5-1.5.0-.414-.168-.789-.439-1.061l-2-2zM17.5 29c-.829.0-1.5.672-1.5 1.5v3c0 .828.671 1.5 1.5 1.5s1.5-.672 1.5-1.5v-3C19 29.672 18.329 29 17.5 29zm0-22C11.71 7 7 11.71 7 17.5S11.71 28 17.5 28 28 23.29 28 17.5 23.29 7 17.5 7zm0 18c-4.136.0-7.5-3.364-7.5-7.5s3.364-7.5 7.5-7.5 7.5 3.364 7.5 7.5S21.636 25 17.5 25z"/></svg></label><label id=toggle-label-dark for=darkmode-toggle tabindex=-1><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="nightIcon" viewBox="0 0 100 100" style="enable-background='new 0 0 100 100'"><title>Dark Mode</title><path d="M96.76 66.458c-.853-.852-2.15-1.064-3.23-.534-6.063 2.991-12.858 4.571-19.655 4.571C62.022 70.495 50.88 65.88 42.5 57.5 29.043 44.043 25.658 23.536 34.076 6.47c.532-1.08.318-2.379-.534-3.23-.851-.852-2.15-1.064-3.23-.534-4.918 2.427-9.375 5.619-13.246 9.491-9.447 9.447-14.65 22.008-14.65 35.369.0 13.36 5.203 25.921 14.65 35.368s22.008 14.65 35.368 14.65c13.361.0 25.921-5.203 35.369-14.65 3.872-3.871 7.064-8.328 9.491-13.246C97.826 68.608 97.611 67.309 96.76 66.458z"/></svg></label></div></header><article><h1>qemuについて</h1><p class=meta>Last updated
Feb 24, 2023</p><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info tech</a></li><li><a href=https://ar.falsy.cat/tags/tool/>Tool</a></li><li><a href=https://ar.falsy.cat/tags/virtualization/>Virtualization</a></li></ul><aside class=mainTOC><details><summary>Table of Contents</summary><nav id=TableOfContents><ol><li><a href=#概要>概要</a></li><li><a href=#インストール>インストール</a><ol><li><a href=#mac>Mac</a></li></ol></li><li><a href=#コマンド逆引き>コマンド逆引き</a><ol><li><a href=#archのlive-cdを起動>archのlive cdを起動</a></li></ol></li><li><a href=#オプション一覧>オプション一覧</a></li></ol></nav></details></aside><a href=#概要><h2 id=概要><span class=hanchor arialabel=Anchor># </span>概要</h2></a><ul><li>コマンドラインベースのVirtualBoxと思っている</li><li>今のところM2チップのMacbook ProでLinuxを使うための最善手<ul><li>M1/M2向けVirtualBoxはまだ開発者プレビューしかなくまともに使えなかった</li></ul></li></ul><a href=#インストール><h2 id=インストール><span class=hanchor arialabel=Anchor># </span>インストール</h2></a><a href=#mac><h3 id=mac><span class=hanchor arialabel=Anchor># </span>Mac</h3></a><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre tabindex=0 class=chroma><code><span class=lnt>1
Feb 24, 2023</p><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info tech</a></li><li><a href=https://ar.falsy.cat/tags/tool/>Tool</a></li><li><a href=https://ar.falsy.cat/tags/virtualization/>Virtualization</a></li></ul><aside class=mainTOC><details><summary>Table of Contents</summary><nav id=TableOfContents><ol><li><a href=#概要>概要</a></li><li><a href=#インストール>インストール</a><ol><li><a href=#mac>Mac</a></li></ol></li><li><a href=#コマンド逆引き>コマンド逆引き</a><ol><li><a href=#ディスクイメージ作成>ディスクイメージ作成</a></li><li><a href=#archのlive-cdを起動>archのlive cdを起動</a></li></ol></li></ol></nav></details></aside><a href=#概要><h2 id=概要><span class=hanchor arialabel=Anchor># </span>概要</h2></a><ul><li>コマンドラインベースのVirtualBoxと思っている</li><li>今のところM2チップのMacbook ProでLinuxを使うための最善手<ul><li>M1/M2向けVirtualBoxはまだ開発者プレビューしかなくまともに使えなかった</li></ul></li></ul><a href=#インストール><h2 id=インストール><span class=hanchor arialabel=Anchor># </span>インストール</h2></a><a href=#mac><h3 id=mac><span class=hanchor arialabel=Anchor># </span>Mac</h3></a><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre tabindex=0 class=chroma><code><span class=lnt>1
</span></code></pre></td><td class=lntd><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=cl>$ brew install qemu
</span></span></code></pre></td></tr></table></div></div><ul><li>ハードウェアアクセラレーションが有効化されている他のビルドもあるらしいが未検証<ul><li>今後GPU使いたくなったら検証予定</li></ul></li></ul><a href=#コマンド逆引き><h2 id=コマンド逆引き><span class=hanchor arialabel=Anchor># </span>コマンド逆引き</h2></a><a href=#archのlive-cdを起動><h3 id=archのlive-cdを起動><span class=hanchor arialabel=Anchor># </span>archのlive cdを起動</h3></a><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre tabindex=0 class=chroma><code><span class=lnt>1
</span></span></code></pre></td></tr></table></div></div><ul><li>ハードウェアアクセラレーションが有効化されている他のビルドもあるらしいが未検証<ul><li>今後GPU使いたくなったら検証予定</li></ul></li></ul><a href=#コマンド逆引き><h2 id=コマンド逆引き><span class=hanchor arialabel=Anchor># </span>コマンド逆引き</h2></a><a href=#ディスクイメージ作成><h3 id=ディスクイメージ作成><span class=hanchor arialabel=Anchor># </span>ディスクイメージ作成</h3></a><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre tabindex=0 class=chroma><code><span class=lnt>1
</span></code></pre></td><td class=lntd><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=cl>qemu-img create -f qcow2 sda.qcow2 16G
</span></span></code></pre></td></tr></table></div></div><a href=#archのlive-cdを起動><h3 id=archのlive-cdを起動><span class=hanchor arialabel=Anchor># </span>archのlive cdを起動</h3></a><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre tabindex=0 class=chroma><code><span class=lnt>1
</span><span class=lnt>2
</span><span class=lnt>3
</span><span class=lnt>4
</span></code></pre></td><td class=lntd><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=cl>qemu-system-x86_64 <span class=se>\
</span></span></span><span class=line><span class=cl><span class=se></span> -m 4G <span class=se>\
</span></span></span><span class=line><span class=cl><span class=se></span> -cdrom ../iso/archlinux-2023.02.01-x86_64.iso
</span></span></code></pre></td></tr></table></div></div><a href=#オプション一覧><h2 id=オプション一覧><span class=hanchor arialabel=Anchor># </span>オプション一覧</h2></a><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre tabindex=0 class=chroma><code><span class=lnt>1
</span><span class=lnt>2
</span></code></pre></td><td class=lntd><pre tabindex=0 class=chroma><code class=language-fallback data-lang=fallback><span class=line><span class=cl>-m 4G # メモリサイズ指定
</span></span><span class=line><span class=cl>-cdrom a.iso # ISOファイル指定
</span></span></code></pre></td></tr></table></div></div><div class=content-list><h2>Related Notes</h2><ul class=section-ul><li class=section-li><div class=section><p class=meta>Feb 23, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/info-tech/obsidian/ class=internal-link data-src=/note/info-tech/obsidian/>Obsidianについて</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info-Tech</a></li><li><a href=https://ar.falsy.cat/tags/tool/>Tool</a></li></ul></div></li><li class=section-li><div class=section><p class=meta>Feb 24, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/info-tech/publish-obsidian-by-quartz/ class=internal-link data-src=/note/info-tech/publish-obsidian-by-quartz/>ObsidianとQuartzによるセカンドブレインデジタルガーデンの構築</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info-Tech</a></li><li><a href=https://ar.falsy.cat/tags/web/>Web</a></li></ul></div></li><li class=section-li><div class=section><p class=meta>Feb 23, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/chores/one-hand-egg-cracking/ class=internal-link data-src=/note/chores/one-hand-egg-cracking/>卵を片手で割る手法の提案</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/chores/>Chores</a></li><li><a href=https://ar.falsy.cat/tags/cooking/>Cooking</a></li><li><a href=https://ar.falsy.cat/tags/lifehack/>Lifehack</a></li></ul></div></li></ul></div></article><hr><div class=page-end id=footer><div class=backlinks-container><h3>Backlinks</h3><ul class=backlinks><li><a href=/note/info-tech/publish-obsidian-by-quartz/ data-ctx=qemu data-src=/note/info-tech/publish-obsidian-by-quartz class=internal-link>ObsidianとQuartzによるセカンドブレインデジタルガーデンの構築</a></li></ul></div><div><script async src=https://cdn.jsdelivr.net/npm/d3@6.7.0/dist/d3.min.js integrity="sha256-+7jaYCp29O1JusNWHaYtgUn6EhuP0VaFuswhNV06MyI=" crossorigin=anonymous></script><h3>Interactive Graph</h3><div id=graph-container></div><style>:root{--g-node:var(--secondary);--g-node-active:var(--primary);--g-node-inactive:var(--visited);--g-link:var(--outlinegray);--g-link-active:#5a7282}</style><script src=https://ar.falsy.cat/js/graph.6579af7b10c818dbd2ca038702db0224.js></script></div></div><div id=contact_buttons><footer><p>Made by falsycat using <a href=https://github.com/jackyzha0/quartz>Quartz</a>, © 2023</p><ul><li><a href=https://ar.falsy.cat/>Home</a></li><li><a href=https://falsy.cat/>Portfolio</a></li><li><a href=https://falsy.cat/admin>Fediverse</a></li><li><a href=https://github.com/falsycat>GitHub</a></li><li><a href=https://youtube.com/@falsycat>YouTube</a></li></ul></footer></div></div></body></html>
</span></span></span><span class=line><span class=cl><span class=se></span> -cdrom ../iso/archlinux-2023.02.01-x86_64.iso <span class=se>\
</span></span></span><span class=line><span class=cl><span class=se></span> sda.qcow2
</span></span></code></pre></td></tr></table></div></div><ul><li><a href=/note/info-tech/install-archlinux/ rel=noopener class=internal-link data-src=/note/info-tech/install-archlinux/>関連: ArchLinuxのインストール方法</a></li></ul><div class=content-list><h2>Related Notes</h2><ul class=section-ul><li class=section-li><div class=section><p class=meta>Feb 23, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/info-tech/obsidian/ class=internal-link data-src=/note/info-tech/obsidian/>Obsidianについて</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info-Tech</a></li><li><a href=https://ar.falsy.cat/tags/tool/>Tool</a></li></ul></div></li><li class=section-li><div class=section><p class=meta>Feb 24, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/info-tech/install-archlinux/ class=internal-link data-src=/note/info-tech/install-archlinux/>ArchLinuxのインストール</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info-Tech</a></li><li><a href=https://ar.falsy.cat/tags/linux/>Linux</a></li></ul></div></li><li class=section-li><div class=section><p class=meta>Feb 24, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/info-tech/publish-obsidian-by-quartz/ class=internal-link data-src=/note/info-tech/publish-obsidian-by-quartz/>ObsidianとQuartzによるセカンドブレインデジタルガーデンの構築</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info-Tech</a></li><li><a href=https://ar.falsy.cat/tags/web/>Web</a></li></ul></div></li></ul></div></article><hr><div class=page-end id=footer><div class=backlinks-container><h3>Backlinks</h3><ul class=backlinks><li><a href=/note/info-tech/install-archlinux/ data-ctx=qemu data-src=/note/info-tech/install-archlinux class=internal-link>ArchLinuxのインストール</a></li></ul></div><div><script async src=https://cdn.jsdelivr.net/npm/d3@6.7.0/dist/d3.min.js integrity="sha256-+7jaYCp29O1JusNWHaYtgUn6EhuP0VaFuswhNV06MyI=" crossorigin=anonymous></script><h3>Interactive Graph</h3><div id=graph-container></div><style>:root{--g-node:var(--secondary);--g-node-active:var(--primary);--g-node-inactive:var(--visited);--g-link:var(--outlinegray);--g-link-active:#5a7282}</style><script src=https://ar.falsy.cat/js/graph.6579af7b10c818dbd2ca038702db0224.js></script></div></div><div id=contact_buttons><footer><p>Made by falsycat using <a href=https://github.com/jackyzha0/quartz>Quartz</a>, © 2023</p><ul><li><a href=https://ar.falsy.cat/>Home</a></li><li><a href=https://falsy.cat/>Portfolio</a></li><li><a href=https://falsy.cat/admin>Fediverse</a></li><li><a href=https://github.com/falsycat>GitHub</a></li><li><a href=https://youtube.com/@falsycat>YouTube</a></li></ul></footer></div></div></body></html>

View File

@@ -18,11 +18,11 @@
<script defer src=https://ar.falsy.cat/js/code-title.ce4a43f09239a9efb48fee342e8ef2df.min.js></script>
<script defer src=https://ar.falsy.cat/js/clipboard.2913da76d3cb21c5deaa4bae7da38c9f.min.js></script>
<script defer src=https://ar.falsy.cat/js/callouts.7723cac461d613d118ee8bb8216b9838.min.js></script>
<script>const SEARCH_ENABLED=!1,LATEX_ENABLED=!0,PRODUCTION=!0,BASE_URL="https://ar.falsy.cat/",fetchData=Promise.all([fetch("https://ar.falsy.cat/indices/linkIndex.92d675a7cffc7af51d1f613cd83c9a9b.min.json").then(e=>e.json()).then(e=>({index:e.index,links:e.links})),fetch("https://ar.falsy.cat/indices/contentIndex.5208f678d16f67dd8a0c69561e2d38ad.min.json").then(e=>e.json())]).then(([{index:e,links:t},n])=>({index:e,links:t,content:n})),render=()=>{const e=new URL(BASE_URL),t=e.pathname,n=window.location.pathname,s=t==n;addCopyButtons(),addTitleToCodeBlocks(),addCollapsibleCallouts(),initPopover("https://ar.falsy.cat",!0);const o=document.getElementById("footer");if(o){const e=document.getElementById("graph-container");if(!e)return requestAnimationFrame(render);e.textContent="";const t=s&&!0;drawGraph("https://ar.falsy.cat",t,[{"/moc":"#4388cc"}],t?{centerForce:1,depth:-1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.5,linkDistance:1,opacityScale:3,repelForce:1,scale:1.4}:{centerForce:1,depth:1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.6,linkDistance:1,opacityScale:3,repelForce:2,scale:1.2})}var i=document.getElementsByClassName("mermaid");i.length>0&&import("https://unpkg.com/mermaid@9/dist/mermaid.esm.min.mjs").then(e=>{e.default.init()});function a(n){const e=n.target,t=e.className.split(" "),s=t.includes("broken"),o=t.includes("internal-link");plausible("Link Click",{props:{href:e.href,broken:s,internal:o,graph:!1}})}const r=document.querySelectorAll("a");for(link of r)link.className.includes("root-title")&&link.addEventListener("click",a,{once:!0})},init=(e=document)=>{addCopyButtons(),addTitleToCodeBlocks(),renderMathInElement(e.body,{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1}],macros:{'':"'"},throwOnError:!1})}</script><script type=module>
<script>const SEARCH_ENABLED=!1,LATEX_ENABLED=!0,PRODUCTION=!0,BASE_URL="https://ar.falsy.cat/",fetchData=Promise.all([fetch("https://ar.falsy.cat/indices/linkIndex.c040c1436cb72314ec9cfac7769e51ca.min.json").then(e=>e.json()).then(e=>({index:e.index,links:e.links})),fetch("https://ar.falsy.cat/indices/contentIndex.c3de5f8d04f16dab1f39926495971482.min.json").then(e=>e.json())]).then(([{index:e,links:t},n])=>({index:e,links:t,content:n})),render=()=>{const e=new URL(BASE_URL),t=e.pathname,n=window.location.pathname,s=t==n;addCopyButtons(),addTitleToCodeBlocks(),addCollapsibleCallouts(),initPopover("https://ar.falsy.cat",!0);const o=document.getElementById("footer");if(o){const e=document.getElementById("graph-container");if(!e)return requestAnimationFrame(render);e.textContent="";const t=s&&!0;drawGraph("https://ar.falsy.cat",t,[{"/moc":"#4388cc"}],t?{centerForce:1,depth:-1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.5,linkDistance:1,opacityScale:3,repelForce:1,scale:1.4}:{centerForce:1,depth:1,enableDrag:!0,enableLegend:!1,enableZoom:!0,fontSize:.6,linkDistance:1,opacityScale:3,repelForce:2,scale:1.2})}var i=document.getElementsByClassName("mermaid");i.length>0&&import("https://unpkg.com/mermaid@9/dist/mermaid.esm.min.mjs").then(e=>{e.default.init()});function a(n){const e=n.target,t=e.className.split(" "),s=t.includes("broken"),o=t.includes("internal-link");plausible("Link Click",{props:{href:e.href,broken:s,internal:o,graph:!1}})}const r=document.querySelectorAll("a");for(link of r)link.className.includes("root-title")&&link.addEventListener("click",a,{once:!0})},init=(e=document)=>{addCopyButtons(),addTitleToCodeBlocks(),renderMathInElement(e.body,{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1}],macros:{'':"'"},throwOnError:!1})}</script><script type=module>
import { attachSPARouting } from "https:\/\/ar.falsy.cat\/js\/router.d6fe6bd821db9ea97f9aeefae814d8e7.min.js"
attachSPARouting(init, render)
</script><script defer data-domain=ar.falsy.cat src=https://plausible.io/js/script.js></script>
<script>window.plausible=window.plausible||function(){(window.plausible.q=window.plausible.q||[]).push(arguments)}</script></head><body><div id=search-container><div id=search-space><input autocomplete=off id=search-bar name=search type=text aria-label=Search placeholder="Search for something..."><div id=results-container></div></div></div><script src=https://cdn.jsdelivr.net/npm/flexsearch@0.7.21/dist/flexsearch.bundle.js integrity="sha256-i3A0NZGkhsKjVMzFxv3ksk0DZh3aXqu0l49Bbh0MdjE=" crossorigin=anonymous defer></script>
<script defer src=https://ar.falsy.cat/js/full-text-search.e6e2e0c213187ca0c703d6e2c7a77fcd.min.js></script><div class=singlePage><header><h1 id=page-title><a class=root-title href=https://ar.falsy.cat/>ar.falsy.cat</a></h1><div class=spacer></div><div id=search-icon><p>Search</p><svg tabindex="0" aria-labelledby="title desc" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.9 19.7"><title id="title">Search Icon</title><desc id="desc">Icon to open search</desc><g class="search-path" fill="none"><path stroke-linecap="square" d="M18.5 18.3l-5.4-5.4"/><circle cx="8" cy="8" r="7"/></g></svg></div><div class=darkmode><input class=toggle id=darkmode-toggle type=checkbox tabindex=-1>
<label id=toggle-label-light for=darkmode-toggle tabindex=-1><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="dayIcon" viewBox="0 0 35 35" style="enable-background:new 0 0 35 35"><title>Light Mode</title><path d="M6 17.5C6 16.672 5.328 16 4.5 16h-3C.672 16 0 16.672.0 17.5S.672 19 1.5 19h3C5.328 19 6 18.328 6 17.5zM7.5 26c-.414.0-.789.168-1.061.439l-2 2C4.168 28.711 4 29.086 4 29.5 4 30.328 4.671 31 5.5 31c.414.0.789-.168 1.06-.44l2-2C8.832 28.289 9 27.914 9 27.5 9 26.672 8.329 26 7.5 26zm10-20C18.329 6 19 5.328 19 4.5v-3C19 .672 18.329.0 17.5.0S16 .672 16 1.5v3C16 5.328 16.671 6 17.5 6zm10 3c.414.0.789-.168 1.06-.439l2-2C30.832 6.289 31 5.914 31 5.5 31 4.672 30.329 4 29.5 4c-.414.0-.789.168-1.061.44l-2 2C26.168 6.711 26 7.086 26 7.5 26 8.328 26.671 9 27.5 9zM6.439 8.561C6.711 8.832 7.086 9 7.5 9 8.328 9 9 8.328 9 7.5c0-.414-.168-.789-.439-1.061l-2-2C6.289 4.168 5.914 4 5.5 4 4.672 4 4 4.672 4 5.5c0 .414.168.789.439 1.06l2 2.001zM33.5 16h-3c-.828.0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5h3c.828.0 1.5-.672 1.5-1.5S34.328 16 33.5 16zM28.561 26.439C28.289 26.168 27.914 26 27.5 26c-.828.0-1.5.672-1.5 1.5.0.414.168.789.439 1.06l2 2C28.711 30.832 29.086 31 29.5 31c.828.0 1.5-.672 1.5-1.5.0-.414-.168-.789-.439-1.061l-2-2zM17.5 29c-.829.0-1.5.672-1.5 1.5v3c0 .828.671 1.5 1.5 1.5s1.5-.672 1.5-1.5v-3C19 29.672 18.329 29 17.5 29zm0-22C11.71 7 7 11.71 7 17.5S11.71 28 17.5 28 28 23.29 28 17.5 23.29 7 17.5 7zm0 18c-4.136.0-7.5-3.364-7.5-7.5s3.364-7.5 7.5-7.5 7.5 3.364 7.5 7.5S21.636 25 17.5 25z"/></svg></label><label id=toggle-label-dark for=darkmode-toggle tabindex=-1><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="nightIcon" viewBox="0 0 100 100" style="enable-background='new 0 0 100 100'"><title>Dark Mode</title><path d="M96.76 66.458c-.853-.852-2.15-1.064-3.23-.534-6.063 2.991-12.858 4.571-19.655 4.571C62.022 70.495 50.88 65.88 42.5 57.5 29.043 44.043 25.658 23.536 34.076 6.47c.532-1.08.318-2.379-.534-3.23-.851-.852-2.15-1.064-3.23-.534-4.918 2.427-9.375 5.619-13.246 9.491-9.447 9.447-14.65 22.008-14.65 35.369.0 13.36 5.203 25.921 14.65 35.368s22.008 14.65 35.368 14.65c13.361.0 25.921-5.203 35.369-14.65 3.872-3.871 7.064-8.328 9.491-13.246C97.826 68.608 97.611 67.309 96.76 66.458z"/></svg></label></div></header><article><h1>国語教科書オールスターズ</h1><p class=meta>Last updated
Feb 23, 2023</p><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/lifehack/>Lifehack</a></li></ul><aside class=mainTOC><details><summary>Table of Contents</summary><nav id=TableOfContents><ol><li><a href=#概要>概要</a></li><li><a href=#小学校>小学校</a></li><li><a href=#中学校>中学校</a></li></ol></nav></details></aside><a href=#概要><h2 id=概要><span class=hanchor arialabel=Anchor># </span>概要</h2></a><ul><li>今までの国語の教科書に出てきた忘れられない奴等を忘れないために記録しておく</li></ul><a href=#小学校><h2 id=小学校><span class=hanchor arialabel=Anchor># </span>小学校</h2></a><ul><li>さるのだいじなかぎのたば<ul><li>小学一年生の一番最初の単元だった気がする</li></ul></li><li><em>タイトル不明 要調査</em><ul><li>木を描くやつ</li></ul></li><li>アップとルーズで捉える</li></ul><a href=#中学校><h2 id=中学校><span class=hanchor arialabel=Anchor># </span>中学校</h2></a><ul><li>かまきりりゅうじ<ul><li>「おれはかまきり」</li></ul></li><li>いろは歌<ul><li>「いろはにほへと ちりぬるを わかよたれそ つねならむ ういのおくやま けふこえて あさきゆめみし えひもせすん」<ul><li>未だに空で書けた</li><li>一人ずつ立って暗唱させられた記憶がある</li></ul></li></ul></li><li><em>タイトル不明 要調査</em><ul><li>「えんびふらい」</li></ul></li><li><em>タイトル不明 要調査</em><ul><li>月の起源についての説明文</li></ul></li><li><em>タイトル不明 要調査</em><ul><li>ルロイ修道士「問題の細分化」</li><li>月月火水木金金</li></ul></li><li>少年の日の思い出<ul><li>エーミール「そうかそうか,つまりきみはそういうやつなんだな」</li></ul></li></ul><div class=content-list><h2>Related Notes</h2><ul class=section-ul><li class=section-li><div class=section><p class=meta>Feb 23, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/chores/one-hand-egg-cracking/ class=internal-link data-src=/note/chores/one-hand-egg-cracking/>卵を片手で割る手法の提案</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/chores/>Chores</a></li><li><a href=https://ar.falsy.cat/tags/cooking/>Cooking</a></li><li><a href=https://ar.falsy.cat/tags/lifehack/>Lifehack</a></li></ul></div></li><li class=section-li><div class=section><p class=meta>Feb 24, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/info-tech/publish-obsidian-by-quartz/ class=internal-link data-src=/note/info-tech/publish-obsidian-by-quartz/>ObsidianとQuartzによるセカンドブレインデジタルガーデンの構築</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info-Tech</a></li><li><a href=https://ar.falsy.cat/tags/web/>Web</a></li></ul></div></li><li class=section-li><div class=section><p class=meta>Feb 23, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/info-tech/obsidian/ class=internal-link data-src=/note/info-tech/obsidian/>Obsidianについて</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info-Tech</a></li><li><a href=https://ar.falsy.cat/tags/tool/>Tool</a></li></ul></div></li></ul></div></article><hr><div class=page-end id=footer><div class=backlinks-container><h3>Backlinks</h3><ul class=backlinks><li>No backlinks found</li></ul></div><div><script async src=https://cdn.jsdelivr.net/npm/d3@6.7.0/dist/d3.min.js integrity="sha256-+7jaYCp29O1JusNWHaYtgUn6EhuP0VaFuswhNV06MyI=" crossorigin=anonymous></script><h3>Interactive Graph</h3><div id=graph-container></div><style>:root{--g-node:var(--secondary);--g-node-active:var(--primary);--g-node-inactive:var(--visited);--g-link:var(--outlinegray);--g-link-active:#5a7282}</style><script src=https://ar.falsy.cat/js/graph.6579af7b10c818dbd2ca038702db0224.js></script></div></div><div id=contact_buttons><footer><p>Made by falsycat using <a href=https://github.com/jackyzha0/quartz>Quartz</a>, © 2023</p><ul><li><a href=https://ar.falsy.cat/>Home</a></li><li><a href=https://falsy.cat/>Portfolio</a></li><li><a href=https://falsy.cat/admin>Fediverse</a></li><li><a href=https://github.com/falsycat>GitHub</a></li><li><a href=https://youtube.com/@falsycat>YouTube</a></li></ul></footer></div></div></body></html>
Feb 23, 2023</p><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/lifehack/>Lifehack</a></li></ul><aside class=mainTOC><details><summary>Table of Contents</summary><nav id=TableOfContents><ol><li><a href=#概要>概要</a></li><li><a href=#小学校>小学校</a></li><li><a href=#中学校>中学校</a></li></ol></nav></details></aside><a href=#概要><h2 id=概要><span class=hanchor arialabel=Anchor># </span>概要</h2></a><ul><li>今までの国語の教科書に出てきた忘れられない奴等を忘れないために記録しておく</li></ul><a href=#小学校><h2 id=小学校><span class=hanchor arialabel=Anchor># </span>小学校</h2></a><ul><li>さるのだいじなかぎのたば<ul><li>小学一年生の一番最初の単元だった気がする</li></ul></li><li><em>タイトル不明 要調査</em><ul><li>木を描くやつ</li></ul></li><li>アップとルーズで捉える</li></ul><a href=#中学校><h2 id=中学校><span class=hanchor arialabel=Anchor># </span>中学校</h2></a><ul><li>かまきりりゅうじ<ul><li>「おれはかまきり」</li></ul></li><li>いろは歌<ul><li>「いろはにほへと ちりぬるを わかよたれそ つねならむ ういのおくやま けふこえて あさきゆめみし えひもせすん」<ul><li>未だに空で書けた</li><li>一人ずつ立って暗唱させられた記憶がある</li></ul></li></ul></li><li><em>タイトル不明 要調査</em><ul><li>「えんびふらい」</li></ul></li><li><em>タイトル不明 要調査</em><ul><li>月の起源についての説明文</li></ul></li><li><em>タイトル不明 要調査</em><ul><li>ルロイ修道士「問題の細分化」</li><li>月月火水木金金</li></ul></li><li>少年の日の思い出<ul><li>エーミール「そうかそうか,つまりきみはそういうやつなんだな」</li></ul></li></ul><div class=content-list><h2>Related Notes</h2><ul class=section-ul><li class=section-li><div class=section><p class=meta>Feb 23, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/chores/one-hand-egg-cracking/ class=internal-link data-src=/note/chores/one-hand-egg-cracking/>卵を片手で割る手法の提案</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/chores/>Chores</a></li><li><a href=https://ar.falsy.cat/tags/cooking/>Cooking</a></li><li><a href=https://ar.falsy.cat/tags/lifehack/>Lifehack</a></li></ul></div></li><li class=section-li><div class=section><p class=meta>Feb 24, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/info-tech/install-archlinux/ class=internal-link data-src=/note/info-tech/install-archlinux/>ArchLinuxのインストール</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info-Tech</a></li><li><a href=https://ar.falsy.cat/tags/linux/>Linux</a></li></ul></div></li><li class=section-li><div class=section><p class=meta>Feb 24, 2023</p><div class=desc><h3><a href=https://ar.falsy.cat/note/info-tech/publish-obsidian-by-quartz/ class=internal-link data-src=/note/info-tech/publish-obsidian-by-quartz/>ObsidianとQuartzによるセカンドブレインデジタルガーデンの構築</a></h3></div><div class=spacer></div><ul class=tags><li><a href=https://ar.falsy.cat/tags/note/>Note</a></li><li><a href=https://ar.falsy.cat/tags/info-tech/>Info-Tech</a></li><li><a href=https://ar.falsy.cat/tags/web/>Web</a></li></ul></div></li></ul></div></article><hr><div class=page-end id=footer><div class=backlinks-container><h3>Backlinks</h3><ul class=backlinks><li>No backlinks found</li></ul></div><div><script async src=https://cdn.jsdelivr.net/npm/d3@6.7.0/dist/d3.min.js integrity="sha256-+7jaYCp29O1JusNWHaYtgUn6EhuP0VaFuswhNV06MyI=" crossorigin=anonymous></script><h3>Interactive Graph</h3><div id=graph-container></div><style>:root{--g-node:var(--secondary);--g-node-active:var(--primary);--g-node-inactive:var(--visited);--g-link:var(--outlinegray);--g-link-active:#5a7282}</style><script src=https://ar.falsy.cat/js/graph.6579af7b10c818dbd2ca038702db0224.js></script></div></div><div id=contact_buttons><footer><p>Made by falsycat using <a href=https://github.com/jackyzha0/quartz>Quartz</a>, © 2023</p><ul><li><a href=https://ar.falsy.cat/>Home</a></li><li><a href=https://falsy.cat/>Portfolio</a></li><li><a href=https://falsy.cat/admin>Fediverse</a></li><li><a href=https://github.com/falsycat>GitHub</a></li><li><a href=https://youtube.com/@falsycat>YouTube</a></li></ul></footer></div></div></body></html>