commit 2e2ddebe02ab5950e0c1bb7c48d135ec0486f45b
parent a1fe525ffd4d7114a72f21bdb18a3f6ac2a0b53b
Author: nxuv <al1-ce@null.net>
Date: Tue, 16 Dec 2025 11:06:45 +0300
add easier hubs, new article
Diffstat:
10 files changed, 74 insertions(+), 6 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -1,2 +1,3 @@
node_modules/
package-lock.json
+/.vim-session
diff --git a/public/hub/japan.md b/public/hub/japan.md
@@ -0,0 +1,8 @@
+<span id="hub-table">
+
+| |Japan Hub | |
+|:-: |:-: |:-: |
+|[[Futaba Channel]]|[[2ch]] |[[AA]] ⋅ [[Nijiura]]|
+|[[Capcode]] |[[Ayashii World]]| |
+
+</span>
diff --git a/public/hub/linux.md b/public/hub/linux.md
@@ -0,0 +1,7 @@
+<span id="hub-table">
+
+| |Linux Hub | |
+|:-: |:-: |:-: |
+|[[smartctl]]|[[Vim Digraphs]]|[[Make]]|
+
+</span>
diff --git a/public/index.html b/public/index.html
@@ -263,6 +263,17 @@
rt:hover {
/* border: 1px dashed var(--mono-tint1); */
}
+
+ #hub-table table {
+ table-layout: fixed;
+ display: inline-table;
+ width: 100%;
+ }
+
+ #hub-table th:empty {
+ display: initial;
+ border: none !important;
+ }
</style>
<nav id="app-nav" class="app-nav">
<a id="nav-home" href="/">Home</a>
@@ -399,7 +410,7 @@
// Invoked on each page load after new HTML has been appended to the DOM
hook.doneEach(function() {
document.title += ' - wiki@al1-ce';
- console.log(vm.route)
+ <!-- console.log(vm.route) -->
var urlNew = 'https://github.com/al1-ce/wiki.al1-ce.dev/new/master/public' + getDirname(vm.route.file, '/');
var urlEdit = 'https://github.com/al1-ce/wiki.al1-ce.dev/edit/master/public' + vm.route.file;
diff --git a/public/js/plugins/wikilink.js b/public/js/plugins/wikilink.js
@@ -15,7 +15,8 @@ function plugin(hook, vm) {
hook.afterEach(function(content) {
return content
});
- hook.beforeEach(function(markdown, next) {
+ // FIXME: is this really what i want to do?
+ hook.afterEach(function(markdown, next) {
var index = location.hash.lastIndexOf('/');
var relativePath = location.hash.substring(0, index + 1);
const out = markdown.replace(/\[\[([^\[\]]+)\]\]/g, function(content) {
diff --git a/public/w/aa.md b/public/w/aa.md
@@ -122,7 +122,5 @@ r-'ァ'"´/ /! ハ ハ ! iヾ_ノ i イ iゝ、イ人レ
.|| ||
```
-|Japan Hub||
-|:-|:-|
-|[[Futaba Channel]]|[[AA]] ⋅ [[Nijiura]]|
-|[[2ch]]|[[Capcode]]|
+[filename](../hub/japan.md ':include')
+
diff --git a/public/w/ayashii_world.md b/public/w/ayashii_world.md
@@ -3,3 +3,6 @@
This article is a stub.
[shrine](https://randomcrapmuseum.neocities.org/exhibits/ayashii/fansite/)
+
+[filename](../hub/japan.md ':include')
+
diff --git a/public/w/make.md b/public/w/make.md
@@ -72,3 +72,6 @@ ifeq (0, $(words $(findstring $(MAKECMDGOALS), $(NODEPS))))
-include $(DEPFILES)
endif
```
+
+[filename](../hub/linux.md ':include')
+
diff --git a/public/w/smartctl.md b/public/w/smartctl.md
@@ -0,0 +1,33 @@
+# smartctl
+
+THIS ARTICLE IS A STUB.
+
+- Package: `smartmontools`
+- Binary: `smartctl`
+
+## Getting basic info
+
+`smartctl /dev/ID -i`
+
+## Getting extended info
+
+`smartctl /dev/ID -i -a`
+
+## Short test
+
+`smartctl /dev/ID -t short`
+
+## Long test
+
+`smartctl /dev/ID -t long`
+
+## Printing results
+
+`smartctl /dev/ID -l selftest`
+
+## Watching progress
+
+`watch smartctl /dev/ID -l selftest`
+
+[filename](../hub/linux.md ':include')
+
diff --git a/public/w/vim_digraphs.md b/public/w/vim_digraphs.md
@@ -10,3 +10,6 @@ Example:
- `Ctrl-k u=` - у
[^1]: https://vimhelp.org/digraph.txt.html#digraphs
+
+[filename](../hub/linux.md ':include')
+