summaryrefslogtreecommitdiffhomepage
path: root/vhosts/blog/NOTE.md
diff options
context:
space:
mode:
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
+```