From 6e85d4ae308ea391b8a46e78abd2832e181df0ba Mon Sep 17 00:00:00 2001 From: aotian16 Date: Sun, 3 Aug 2025 02:58:19 +0800 Subject: [PATCH] add new page --- .gitmodules | 3 + .obsidian/app.json | 1 + .obsidian/appearance.json | 1 + .obsidian/core-plugins.json | 31 ++++ .obsidian/graph.json | 22 +++ .obsidian/workspace.json | 191 +++++++++++++++++++++++++ content/about/index.md | 5 + content/posts/{test.md => hugo使用.md} | 2 +- content/posts/linux常用命令.md | 85 +++++++++++ content/posts/my-first-post.md | 8 -- content/posts/哔哩哔哩推荐.md | 16 +++ content/posts/国内常用dns.md | 15 ++ content/posts/私有导航.md | 82 +++++++++++ hugo-theme-stack | 1 + hugo.toml | 8 +- 15 files changed, 459 insertions(+), 12 deletions(-) create mode 100644 .obsidian/app.json create mode 100644 .obsidian/appearance.json create mode 100644 .obsidian/core-plugins.json create mode 100644 .obsidian/graph.json create mode 100644 .obsidian/workspace.json create mode 100644 content/about/index.md rename content/posts/{test.md => hugo使用.md} (94%) create mode 100644 content/posts/linux常用命令.md delete mode 100644 content/posts/my-first-post.md create mode 100644 content/posts/哔哩哔哩推荐.md create mode 100644 content/posts/国内常用dns.md create mode 100644 content/posts/私有导航.md create mode 160000 hugo-theme-stack diff --git a/.gitmodules b/.gitmodules index bee96a7..141fa90 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "themes/hugo-theme-stack"] path = themes/hugo-theme-stack url = https://github.com/CaiJimmy/hugo-theme-stack/ +[submodule "hugo-theme-stack"] + path = hugo-theme-stack + url = https://github.com/CaiJimmy/hugo-theme-stack diff --git a/.obsidian/app.json b/.obsidian/app.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/.obsidian/app.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/.obsidian/appearance.json b/.obsidian/appearance.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/.obsidian/appearance.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/.obsidian/core-plugins.json b/.obsidian/core-plugins.json new file mode 100644 index 0000000..b977c25 --- /dev/null +++ b/.obsidian/core-plugins.json @@ -0,0 +1,31 @@ +{ + "file-explorer": true, + "global-search": true, + "switcher": true, + "graph": true, + "backlink": true, + "canvas": true, + "outgoing-link": true, + "tag-pane": true, + "properties": false, + "page-preview": true, + "daily-notes": true, + "templates": true, + "note-composer": true, + "command-palette": true, + "slash-command": false, + "editor-status": true, + "bookmarks": true, + "markdown-importer": false, + "zk-prefixer": false, + "random-note": false, + "outline": true, + "word-count": true, + "slides": false, + "audio-recorder": false, + "workspaces": false, + "file-recovery": true, + "publish": false, + "sync": true, + "webviewer": false +} \ No newline at end of file diff --git a/.obsidian/graph.json b/.obsidian/graph.json new file mode 100644 index 0000000..e21a18d --- /dev/null +++ b/.obsidian/graph.json @@ -0,0 +1,22 @@ +{ + "collapse-filter": true, + "search": "", + "showTags": false, + "showAttachments": false, + "hideUnresolved": false, + "showOrphans": true, + "collapse-color-groups": true, + "colorGroups": [], + "collapse-display": true, + "showArrow": false, + "textFadeMultiplier": 0, + "nodeSizeMultiplier": 1, + "lineSizeMultiplier": 1, + "collapse-forces": true, + "centerStrength": 0.518713248970312, + "repelStrength": 10, + "linkStrength": 1, + "linkDistance": 250, + "scale": 1, + "close": false +} \ No newline at end of file diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json new file mode 100644 index 0000000..f4dc139 --- /dev/null +++ b/.obsidian/workspace.json @@ -0,0 +1,191 @@ +{ + "main": { + "id": "e6ce138b870e7a1b", + "type": "split", + "children": [ + { + "id": "570c77e0fffcf47e", + "type": "tabs", + "children": [ + { + "id": "73d925f36f5ac246", + "type": "leaf", + "state": { + "type": "markdown", + "state": { + "file": "content/posts/哔哩哔哩推荐.md", + "mode": "source", + "source": false + }, + "icon": "lucide-file", + "title": "哔哩哔哩推荐" + } + } + ] + } + ], + "direction": "vertical" + }, + "left": { + "id": "b4e2ecbe8149b2ad", + "type": "split", + "children": [ + { + "id": "ec53fcea0d5950fe", + "type": "tabs", + "children": [ + { + "id": "1f2b96d89d283a30", + "type": "leaf", + "state": { + "type": "file-explorer", + "state": { + "sortOrder": "alphabetical", + "autoReveal": false + }, + "icon": "lucide-folder-closed", + "title": "文件列表" + } + }, + { + "id": "f630470a299d7db0", + "type": "leaf", + "state": { + "type": "search", + "state": { + "query": "", + "matchingCase": false, + "explainSearch": false, + "collapseAll": false, + "extraContext": false, + "sortOrder": "alphabetical" + }, + "icon": "lucide-search", + "title": "搜索" + } + }, + { + "id": "63981d21c2c9fa62", + "type": "leaf", + "state": { + "type": "bookmarks", + "state": {}, + "icon": "lucide-bookmark", + "title": "书签" + } + } + ] + } + ], + "direction": "horizontal", + "width": 300 + }, + "right": { + "id": "e8ff22d2a602295e", + "type": "split", + "children": [ + { + "id": "c66557d93e3792cd", + "type": "tabs", + "children": [ + { + "id": "e97314456b335778", + "type": "leaf", + "state": { + "type": "backlink", + "state": { + "file": "content/posts/哔哩哔哩推荐.md", + "collapseAll": false, + "extraContext": false, + "sortOrder": "alphabetical", + "showSearch": false, + "searchQuery": "", + "backlinkCollapsed": false, + "unlinkedCollapsed": true + }, + "icon": "links-coming-in", + "title": "哔哩哔哩推荐 的反向链接列表" + } + }, + { + "id": "12ef67bb591b93dc", + "type": "leaf", + "state": { + "type": "outgoing-link", + "state": { + "file": "content/posts/哔哩哔哩推荐.md", + "linksCollapsed": false, + "unlinkedCollapsed": true + }, + "icon": "links-going-out", + "title": "哔哩哔哩推荐 的出链列表" + } + }, + { + "id": "abc14318c732e00f", + "type": "leaf", + "state": { + "type": "tag", + "state": { + "sortOrder": "frequency", + "useHierarchy": true, + "showSearch": false, + "searchQuery": "" + }, + "icon": "lucide-tags", + "title": "标签" + } + }, + { + "id": "5b7ba1ae47162824", + "type": "leaf", + "state": { + "type": "outline", + "state": { + "file": "content/posts/哔哩哔哩推荐.md", + "followCursor": false, + "showSearch": false, + "searchQuery": "" + }, + "icon": "lucide-list", + "title": "哔哩哔哩推荐 的大纲" + } + } + ] + } + ], + "direction": "horizontal", + "width": 300, + "collapsed": true + }, + "left-ribbon": { + "hiddenItems": { + "switcher:打开快速切换": false, + "graph:查看关系图谱": false, + "canvas:新建白板": false, + "daily-notes:打开/创建今天的日记": false, + "templates:插入模板": false, + "command-palette:打开命令面板": false + } + }, + "active": "73d925f36f5ac246", + "lastOpenFiles": [ + "public/posts/哔哩哔哩推荐/index.html", + "public/posts/哔哩哔哩推荐", + "content/posts/linux常用命令.md", + "content/posts/哔哩哔哩推荐.md", + "content/posts/hugo使用.md", + "content/posts/私有导航.md", + "content/posts/国内常用dns.md", + "content/about/index.md", + "public/posts/国内常用dns/index.html", + "public/posts/国内常用dns", + "public/posts/私有导航/index.html", + "public/posts/私有导航", + "public/posts/linux常用命令/index.html", + "public/posts/linux常用命令", + "public/posts/hugo使用/index.html", + "public/posts/hugo使用", + "未命名.canvas" + ] +} \ No newline at end of file diff --git a/content/about/index.md b/content/about/index.md new file mode 100644 index 0000000..92e1cb2 --- /dev/null +++ b/content/about/index.md @@ -0,0 +1,5 @@ ++++ +title = 'About' +date = 2024-11-22T05:43:26+08:00 +draft = true ++++ diff --git a/content/posts/test.md b/content/posts/hugo使用.md similarity index 94% rename from content/posts/test.md rename to content/posts/hugo使用.md index c5f9d78..c7f8352 100644 --- a/content/posts/test.md +++ b/content/posts/hugo使用.md @@ -1,5 +1,5 @@ +++ -title = 'Test' +title = 'hugo使用' date = 2024-11-20T02:40:33+08:00 draft = true +++ diff --git a/content/posts/linux常用命令.md b/content/posts/linux常用命令.md new file mode 100644 index 0000000..f93c8c4 --- /dev/null +++ b/content/posts/linux常用命令.md @@ -0,0 +1,85 @@ ++++ +title = 'Linux常用命令' +date = 2024-12-01T02:39:46+08:00 +draft = true ++++ + +[TOC] + + + +### nohup + +[引用](https://www.runoob.com/linux/linux-comm-nohup.html) + +**nohup** 英文全称 no hang up(不挂起),用于在系统后台不挂断地运行命令,退出终端不会影响程序的运行。 + +**nohup** 命令,在默认情况下(非重定向时),会输出一个名叫 nohup.out 的文件到当前目录下,如果当前目录的 nohup.out 文件不可写,输出重定向到 **$HOME/nohup.out** 文件中。 + +### 使用权限 + +所有使用者 + +### 语法格式 + +``` + nohup Command [ Arg … ] [ & ] +``` + +### 参数说明: + +**Command**:要执行的命令。 + +**Arg**:一些参数,可以指定输出文件。 + +**&**:让命令在后台执行,终端退出后命令仍旧执行。 + +### 实例 + +以下命令在后台执行 root 目录下的 runoob.sh 脚本: + +``` +nohup /root/runoob.sh & +``` + +在终端如果看到以下输出说明运行成功: + +``` +appending output to nohup.out +``` + +这时我们打开 root 目录 可以看到生成了 nohup.out 文件。 + +如果要停止运行,你需要使用以下命令查找到 nohup 运行脚本到 PID,然后使用 kill 命令来删除: + +``` +ps -aux | grep "runoob.sh" +``` + +参数说明: + +- **a** : 显示所有程序 +- **u** : 以用户为主的格式来显示 +- **x** : 显示所有程序,不区分终端机 + +另外也可以使用 **ps -def | grep "runoob.sh**" 命令来查找。 + +找到 PID 后,就可以使用 kill PID 来删除。 + +``` +kill -9 进程号PID +``` + +以下命令在后台执行 root 目录下的 runoob.sh 脚本,并重定向输入到 runoob.log 文件: + +``` +nohup /root/runoob.sh > runoob.log 2>&1 & +``` + +**2>&1** 解释: + +将标准错误 2 重定向到标准输出 &1 ,标准输出 &1 再被重定向输入到 runoob.log 文件中。 + +- 0 – stdin (standard input,标准输入) +- 1 – stdout (standard output,标准输出) +- 2 – stderr (standard error,标准错误输出) diff --git a/content/posts/my-first-post.md b/content/posts/my-first-post.md deleted file mode 100644 index cdae1c5..0000000 --- a/content/posts/my-first-post.md +++ /dev/null @@ -1,8 +0,0 @@ -+++ -title = 'My First Post' -date = 2024-11-20T03:48:45+08:00 -draft = true -+++ - - -test diff --git a/content/posts/哔哩哔哩推荐.md b/content/posts/哔哩哔哩推荐.md new file mode 100644 index 0000000..2b7d8e6 --- /dev/null +++ b/content/posts/哔哩哔哩推荐.md @@ -0,0 +1,16 @@ ++++ +title = '哔哩哔哩推荐' +date = 2025-08-03T02:45:30+08:00 +draft = false ++++ + +# 推荐 + +## 马督公 + +- [【睡前消息932】杭州水污染 慢一步的真相追不上谣言](https://www.bilibili.com/video/BV1pC89zmEdA/?spm_id_from=333.337.search-card.all.click&vd_source=97bda7fb023d2dd7bbb9ab798c939e0b) +- [【睡前消息933】学中医 给马督工诊脉,当律师 被患者“打黑”](https://www.bilibili.com/video/BV1gfhHz3Ega/?spm_id_from=333.337.search-card.all.click&vd_source=97bda7fb023d2dd7bbb9ab798c939e0b) + +## MK的鹦鹉 + +- [防蛇小能手,喂鸟发现屠夫鸟在这报警,盲猜肯定是有辣条来了](https://www.bilibili.com/video/BV182hPzxE9n/?spm_id_from=333.1007.top_right_bar_window_history.content.click&vd_source=97bda7fb023d2dd7bbb9ab798c939e0b) \ No newline at end of file diff --git a/content/posts/国内常用dns.md b/content/posts/国内常用dns.md new file mode 100644 index 0000000..c315410 --- /dev/null +++ b/content/posts/国内常用dns.md @@ -0,0 +1,15 @@ ++++ +title = '国内常用dns' +date = 2024-12-21T00:37:34+08:00 +draft = true ++++ + +| No | Name | IPv4 | DoH/DoT支持 | URL | Remark | +| ---- | ------------------------- | ------------------------------------------------------------ | ----------- | ----------------------------------------------- | ------------------------------------------------------------ | +| 1 | 阿里云公共DNS | 223.5.5.5
223.6.6.6 | ✔ | https://www.alidns.com/ | 公共dns有限制。https://help.aliyun.com/zh/dns/public-dns-free-version-access-speed-limit-notification | +| 2 | 腾讯DNSPod | 119.29.29.29 | ✔ | https://www.dnspod.cn/products/publicdns | | +| 3 | 114dns | 114.114.114.114
114.114.115.115 | | https://www.114dns.com/ | | +| 4 | 百度dns | 180.76.76.76 | | https://dudns.baidu.com/ | | +| 5 | 360 dns | 中国电信/铁通/移动:101.226.4.6,218.30.118.6, 中国联通:123.125.81.6,140.207.198.6 | ✔ | https://sdns.360.net/ | | +| 6 | 火山引擎公共解析PublicDNS | 180.184.1.1
180.184.2.2 | | https://www.volcengine.com/product/trafficroute | | + diff --git a/content/posts/私有导航.md b/content/posts/私有导航.md new file mode 100644 index 0000000..f16ae8e --- /dev/null +++ b/content/posts/私有导航.md @@ -0,0 +1,82 @@ ++++ +title = '私有导航' +date = 2024-11-21T16:38:35+08:00 +draft = true + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + +[duckduckgo](https://duckduckgo.com/) + +### 常用 + +| [抽屉新热榜](https://dig.ichouti.cn/) | [哔哩哔哩](https://www.bilibili.com/) | [知乎](https://www.zhihu.com/) | [值得买](https://www.smzdm.com/) | [龙腾网](https://www.ltaaa.cn/) | [age动漫](https://www.agedm.org/) | [少数派](https://sspai.com/) | | +| ---------- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | +| [youtube](https://www.youtube.com/) | [quora](https://www.quora.com/) | [pixiv](https://www.pixiv.net/) | | | | | | +| | | | | | | | | + +## 搜索 + +| [谷歌](https://www.google.com.hk/) | [百度](https://www.baidu.com/) | | | | | | | +| ---------------------------------- | ------------------------------ | ---- | ---- | ---- | ---- | ---- | ---- | +| | | | | | | | | +| | | | | | | | | + +## 开发 + +| [stackoverflow](https://stackoverflow.com/) | | | | | | | | +| ------------------------------------------- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | +| | | | | | | | | +| | | | | | | | | + +## 软件 + +| [winstall](https://winstall.app/) | | | | | | | | +| --------------------------------- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | +| | | | | | | | | +| | | | | | | | | + +## 工具 + +| [谷歌翻译](https://translate.google.com.hk/?hl=zh-CN&sourceid=cnhp&sl=en&tl=zh-CN&op=translate) | [站长工具](https://tool.chinaz.com/) | [tboxn导航](https://www.tboxn.com/) | | | | | | +| ------------------------------------------------------------ | ------------------------------------ | ----------------------------------- | ---- | ---- | ---- | ---- | ---- | +| | | | | | | | | +| | | | | | | | | + +## AI + +| deepseek | | | | | | | | +| -------- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | +| | | | | | | | | +| | | | | | | | | + +## 游戏 + +| [epicgames](https://store.epicgames.com/zh-CN/free-games) | | | | | | | | +| --------------------------------------------------------- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | +| | | | | | | | | +| | | | | | | | | + diff --git a/hugo-theme-stack b/hugo-theme-stack new file mode 160000 index 0000000..839fbd0 --- /dev/null +++ b/hugo-theme-stack @@ -0,0 +1 @@ +Subproject commit 839fbd0ecb5bba381f721f31f5195fb6517fc260 diff --git a/hugo.toml b/hugo.toml index 8422b28..b098037 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,5 +1,7 @@ -baseURL = 'https://example.org/' -languageCode = 'en-us' -title = 'My New Hugo Site' +baseURL = 'https://qefee.com/' +languageCode = 'zh-cn' +# languageCode = 'en-us' +title = '启飞' # theme = 'hugo-theme-stack' theme = 'ananke' +# theme = 'hugo-theme-stack'