summaryrefslogtreecommitdiffhomepage
path: root/vhosts/blog/NOTE.md
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-09-07 22:27:48 +0900
committernsfisis <nsfisis@gmail.com>2023-09-07 22:35:53 +0900
commit994e0114d76ae19768d5c303874a968cf6369fd0 (patch)
tree5fd3f8b169eea00084b24fbae820f75273864d2a /vhosts/blog/NOTE.md
parent57f015992f678bfd7281f171fb9d71349c96a1a0 (diff)
downloadnsfisis.dev-994e0114d76ae19768d5c303874a968cf6369fd0.tar.gz
nsfisis.dev-994e0114d76ae19768d5c303874a968cf6369fd0.tar.zst
nsfisis.dev-994e0114d76ae19768d5c303874a968cf6369fd0.zip
meta: migrate to monorepo
Diffstat (limited to 'vhosts/blog/NOTE.md')
-rw-r--r--vhosts/blog/NOTE.md56
1 files changed, 56 insertions, 0 deletions
diff --git a/vhosts/blog/NOTE.md b/vhosts/blog/NOTE.md
new file mode 100644
index 00000000..d8f87cf7
--- /dev/null
+++ b/vhosts/blog/NOTE.md
@@ -0,0 +1,56 @@
+# My note
+
+## Commands
+
+Generate the site.
+
+```
+$ ./nuldoc build
+```
+
+Create a new post.
+
+```
+$ ./nuldoc new post
+```
+
+Create a new slide.
+
+```
+$ ./nuldoc new slide
+```
+
+Update PDF.js.
+
+```
+$ curl -o static/pdf.min.js https://unpkg.com/pdfjs-dist@3.4.120/build/pdf.min.js
+$ curl -o static/pdf.worker.min.js https://unpkg.com/pdfjs-dist@3.4.120/build/pdf.worker.min.js
+```
+
+Update p5.js.
+
+```
+$ curl -o static/p5.min.js https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.6.0/p5.min.js
+```
+
+
+## Structure
+
+```
+public
+├── sitemap.xml
+├── 404.html
+├── posts
+│   ├── 2021-03-05
+│   │   └── my-first-post
+│   │   └── index.html
+│   ├── feed.xml
+│   ├── _page
+│   │   ├── 1.html
+│   │   └── 2.html
+└── tags
+ ├── index.html
+ └── vim
+ ├── feed.xml
+ └── index.html
+```