From 6ebba74dd3154574a4a5cd79fd77c5c997d56152 Mon Sep 17 00:00:00 2001 From: Cirrus <18879981113@163.com> Date: Thu, 28 May 2026 13:15:59 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E5=89=8D=E9=9D=A2=E7=9A=84=E6=96=87?= =?UTF-8?q?=E7=AB=A0=E8=A1=A5=E4=B8=8Aslug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/page/links/index.md | 4 ++-- content/post/DEV_2025_11_19_10/index.md | 1 + content/post/DEV_2025_12_09_23/index.md | 1 + content/post/DEV_2025_12_12_11/index.md | 1 + content/post/DEV_2025_12_16_16/index.md | 1 + content/post/DEV_2025_12_21_16/index.md | 1 + content/post/DEV_2025_12_23_13/index.md | 1 + content/post/DEV_2025_12_23_18/index.md | 1 + content/post/DEV_2025_12_29_11/index.md | 1 + content/post/DEV_2026_05_27_23/index.md | 2 +- content/post/DEV_2026_05_28_10/index.md | 18 +++++++++--------- content/post/STU_2025_12_13_13/index.md | 1 + content/post/STU_2025_12_14_22/index.md | 1 + content/post/STU_2025_12_15_16/index.md | 1 + content/post/STU_2025_12_16_13/index.md | 1 + content/post/STU_2025_12_17_17/index.md | 1 + content/post/STU_2025_12_18_20/index.md | 1 + content/post/STU_2025_12_29_16/index.md | 1 + content/post/STU_2026_01_03_22/index.md | 1 + content/post/STU_2026_04_12_22/index.md | 1 + 20 files changed, 29 insertions(+), 12 deletions(-) diff --git a/content/page/links/index.md b/content/page/links/index.md index f48f306..816781e 100644 --- a/content/page/links/index.md +++ b/content/page/links/index.md @@ -7,7 +7,7 @@ links: image: /favicon.png - title: Uptime Kuma description: 看看网站崩了没…… - website: https://status.cirrus.org.cn/ + website: https://status.cirrus.org.cn:9008/ image: /logo/uptime_kuma_logo.svg menu: main: @@ -24,7 +24,7 @@ slug: "sudo_whoami" 我是白砂糖,是一名数学专业学生、插画爱好者、计算机爱好者。 ## 开发记录 - 2026.5.27 - - 此后的文章均通过设置唯一slug得到了短URL; + - 为所有文章设置了3位Base62序号索引的唯一slug,得到了短URL; - 添加了校园网可用的新功能:Uptime Kuma,版本2.3.2; - 把Cloudreve更新到版本4.16.0; - 把Gitea更新到版本1.26.2; diff --git a/content/post/DEV_2025_11_19_10/index.md b/content/post/DEV_2025_11_19_10/index.md index 78abff8..a8ca928 100644 --- a/content/post/DEV_2025_11_19_10/index.md +++ b/content/post/DEV_2025_11_19_10/index.md @@ -5,6 +5,7 @@ license: MIT Licence rooms: - '书房' date: 2025-11-19 10:57:55+0800 +slug: "000" --- 同时发布在[PKUTeX](https://latex.pku.edu.cn/read/dtdvkqxgkyfh#5ebb06)。 提示:基于macOS测试。 diff --git a/content/post/DEV_2025_12_09_23/index.md b/content/post/DEV_2025_12_09_23/index.md index c6c82b4..250eac1 100644 --- a/content/post/DEV_2025_12_09_23/index.md +++ b/content/post/DEV_2025_12_09_23/index.md @@ -3,6 +3,7 @@ date = '2025-12-09T23:46:30+08:00' draft = false license = 'MIT Licence' title = '计算概论A 2025年秋 大作业' +slug = '001' tags = ['计算概论'] +++ ## 文件下载 diff --git a/content/post/DEV_2025_12_12_11/index.md b/content/post/DEV_2025_12_12_11/index.md index b1fa100..8fc14e5 100644 --- a/content/post/DEV_2025_12_12_11/index.md +++ b/content/post/DEV_2025_12_12_11/index.md @@ -6,6 +6,7 @@ description = '树洞#7876708' license = 'MIT Licence' categories = 'instructions' tags = ['技术栈'] +slug = '002' +++ # QEMU安装测试Arch Linux (aarch64) 测试环境:macOS Tahoe 26.0.1 diff --git a/content/post/DEV_2025_12_16_16/index.md b/content/post/DEV_2025_12_16_16/index.md index 90a53bd..a67cd52 100644 --- a/content/post/DEV_2025_12_16_16/index.md +++ b/content/post/DEV_2025_12_16_16/index.md @@ -5,6 +5,7 @@ title = '计算概论A 2025年秋 大作业(更新)' tags = ['计算概论'] license = 'MIT Licence' description = '供计算概论A助教验收' +slug = '007' +++ ## 文件下载 已编译的二进制文件:[oasa25](oasa25)(需要先`chmod +x oasa25`才能运行) diff --git a/content/post/DEV_2025_12_21_16/index.md b/content/post/DEV_2025_12_21_16/index.md index 5844fd3..e5921af 100644 --- a/content/post/DEV_2025_12_21_16/index.md +++ b/content/post/DEV_2025_12_21_16/index.md @@ -5,6 +5,7 @@ title = '来自2019年的大作业,在2025年再次运行' tags = ['计算概论'] license = 'MIT Licence' description = '谷雨同学的2019年北京大学计算概论A大作业——亚马逊棋,Windows命令行程序移植到macOS' +slug = '00A' +++ 访问[谷雨同学的个人网站](https://guyutongxue.site)。 你可能没听说过他,但你如果使用[编程网格](http://programming.pku.edu.cn)提交计算概论作业,你大概用过他的VSCode扩展:[编程网格](https://marketplace.visualstudio.com/items?itemName=Guyutongxue.programming-grid)。 diff --git a/content/post/DEV_2025_12_23_13/index.md b/content/post/DEV_2025_12_23_13/index.md index 4bb6244..6a870e3 100644 --- a/content/post/DEV_2025_12_23_13/index.md +++ b/content/post/DEV_2025_12_23_13/index.md @@ -5,6 +5,7 @@ title = '开发日志:Swift简易命令行闹钟程序 – 1' tags = ['技术栈'] license = 'MIT Licence' description = '可弹窗,可在Touch Bar上关闭。' +slug = '00B' +++ 2025年11月1日,我通过AI协助,开发了一个名为[NewTesuto](NewTesuto.zip)的SwiftUI闹钟程序,但代码臃肿(1000+行),图形界面难用且资源占用大,有时还会神秘地不响,让我错过早八。 11月23日,我进行了简单维护,但这个程序依然不令我满意。 diff --git a/content/post/DEV_2025_12_23_18/index.md b/content/post/DEV_2025_12_23_18/index.md index a5216fd..fd292cd 100644 --- a/content/post/DEV_2025_12_23_18/index.md +++ b/content/post/DEV_2025_12_23_18/index.md @@ -5,6 +5,7 @@ title = '开发日志:Swift简易命令行闹钟程序 – 2' tags = ['技术栈'] license = 'MIT Licence' description = '支持自定义音频文件,可弹窗,可在Touch Bar上关闭。' +slug = '00C' +++ 查看我的[上一篇日志](http://cirrus.org.cn/p/开发日志swift简易命令行闹钟程序-1/)。 在我的GitHub上[查看本页面](https://github.com/Cirrus83/Tesuto-Alarm-Dec-2025/)。 diff --git a/content/post/DEV_2025_12_29_11/index.md b/content/post/DEV_2025_12_29_11/index.md index 21e8c68..d353a58 100644 --- a/content/post/DEV_2025_12_29_11/index.md +++ b/content/post/DEV_2025_12_29_11/index.md @@ -5,6 +5,7 @@ license = 'MIT Licence' title = 'Clang编译器使用bits/stdc++.h头文件' tags = ['技术栈'] description = '众所周知,Clang++不自带万能头。' +slug = '00D' +++ 我的Clang版本是17.0.0,macOS版本是26.0.1。 ## 使用方法 diff --git a/content/post/DEV_2026_05_27_23/index.md b/content/post/DEV_2026_05_27_23/index.md index 6873984..4ce5a80 100644 --- a/content/post/DEV_2026_05_27_23/index.md +++ b/content/post/DEV_2026_05_27_23/index.md @@ -7,7 +7,7 @@ math: license: hidden: false comments: false -draft: true +draft: false slug: "00I" --- ### 创建实例 diff --git a/content/post/DEV_2026_05_28_10/index.md b/content/post/DEV_2026_05_28_10/index.md index d381943..aee5226 100644 --- a/content/post/DEV_2026_05_28_10/index.md +++ b/content/post/DEV_2026_05_28_10/index.md @@ -5,7 +5,7 @@ date: 2026-05-28T10:18:38+08:00 image: math: license: -hidden: true +hidden: false slug: "00J" --- ### 阅前须知 @@ -185,17 +185,17 @@ ip addr show valid_lft forever preferred_lft forever 2: enp3s0: mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:d0:7e:b6 brd ff:ff:ff:ff:ff:ff - inet 10.129.83.107/22 brd 10.129.83.255 scope global dynamic noprefixroute enp3s0 + inet 10.<手动屏蔽IPv4>/22 brd 10.<手动屏蔽> scope global dynamic noprefixroute enp3s0 valid_lft 50260sec preferred_lft 50260sec - inet6 2001:da8:201:2782:f816:3eff:fed0:7eb6/64 scope global dynamic noprefixroute + inet6 2001:<手动屏蔽IPv6>/64 scope global dynamic noprefixroute valid_lft 2591999sec preferred_lft 604799sec inet6 fe80::f816:3eff:fed0:7eb6/64 scope link noprefixroute valid_lft forever preferred_lft forever ``` -这样我们就得到了IPv4和IPv6地址:分别是`10.129.83.107`和`2001:da8:201:2782:f816:3eff:fed0:7eb6`。 +这样我们就得到了IPv4和IPv6地址:分别是`10.<手动屏蔽IPv4>`和`2001:<手动屏蔽IPv6>`。 直接SSH:在Mac上执行:(注意占位符) ```zsh -ssh <我的用户名>@2001:da8:201:2782:f816:3eff:fed0:7eb6 +ssh <我的用户名>@2001:<手动屏蔽IPv6> ``` 意外地没有报错(22端口竟然没有访问IP限制……),输入我的用户密码,就可以轻松地连上啦。 ### 设置密钥登录和VSCode Remote SSH @@ -206,15 +206,15 @@ ssh-keygen -t ed25519 直接按3次回车,会生成私钥文件`~/.ssh/id_ed25519`和公钥文件`~/.ssh/id_ed25519.pub`。 接下来,在Mac上输入:(注意占位符) ```zsh -ssh-copy-id -i ~/.ssh/id_ed25519.pub <我的用户名>@2001:da8:201:2782:f816:3eff:fed0:7eb6 +ssh-copy-id -i ~/.ssh/id_ed25519.pub <我的用户名>@2001:<手动屏蔽IPv6> ``` 根据提示输入一次我的密码,公钥就上传好啦。 在Mac的`~/.ssh/config`上添加: ``` Host EPYC - HostName 2001:da8:201:2782:f816:3eff:fed0:7eb6 + HostName 2001:<手动屏蔽IPv6> Port 22 - User chenyichen + User <我的用户名> IdentityFile ~/.ssh/id_ed25519 AddKeysToAgent yes UseKeychain yes @@ -291,7 +291,7 @@ npm run setup tar -xzf dist.tar.gz node server/server.js ``` -就可以成功启动Uptime Kuma啦。通过`10.129.83.107:3001`访问,并进行管理员初次设置。 +就可以成功启动Uptime Kuma啦。通过`10.<手动屏蔽IPv4>:3001`访问,并进行管理员初次设置。 在我的域名控制台上把我的域名解析到这个地址后,需要通过Nginx反向代理,才能通过域名访问。 ```bash cd ~/miniconda3/etc/nginx diff --git a/content/post/STU_2025_12_13_13/index.md b/content/post/STU_2025_12_13_13/index.md index ba688ac..9d3b221 100644 --- a/content/post/STU_2025_12_13_13/index.md +++ b/content/post/STU_2025_12_13_13/index.md @@ -6,6 +6,7 @@ date: 2025-12-13 13:48:55+0800 tags: # - '学习笔记' - '往年题' +slug: "003" --- # 军事理论 diff --git a/content/post/STU_2025_12_14_22/index.md b/content/post/STU_2025_12_14_22/index.md index db84315..2e9889d 100644 --- a/content/post/STU_2025_12_14_22/index.md +++ b/content/post/STU_2025_12_14_22/index.md @@ -5,6 +5,7 @@ title = '1 – 数院人的一天' tags = ['数学分析'] categories = 'math' description = '我是数院的,数学再差也是数院的。' +slug = '004' +++ 今日习题:来自《数学分析》上册 习题7.2 L'Hôpital法则。 ## 题目描述 diff --git a/content/post/STU_2025_12_15_16/index.md b/content/post/STU_2025_12_15_16/index.md index c2ab79f..8899dd6 100644 --- a/content/post/STU_2025_12_15_16/index.md +++ b/content/post/STU_2025_12_15_16/index.md @@ -5,6 +5,7 @@ title = '2 – 数院人的一天' tags = ['数学分析'] categories = 'math' description = '我是数院的,数学再差也是数院的。' +slug = '005' +++ 今日习题:来自《数学分析》上册 习题7.2 L'Hôpital法则。 ## 题目描述1 diff --git a/content/post/STU_2025_12_16_13/index.md b/content/post/STU_2025_12_16_13/index.md index b938bad..cafb300 100644 --- a/content/post/STU_2025_12_16_13/index.md +++ b/content/post/STU_2025_12_16_13/index.md @@ -5,6 +5,7 @@ title = '3 – 数院人的一天' tags = ['数学分析'] categories = 'math' description = '我是数院的,数学再差也是数院的。' +slug = '006' +++ 今日习题:来自《数学分析》上册 习题7.1 微分中值定理 与 习题7.2 L'Hôpital法则。 没错,我做了3天习题7.2😭 diff --git a/content/post/STU_2025_12_17_17/index.md b/content/post/STU_2025_12_17_17/index.md index c5aecdf..c0892a5 100644 --- a/content/post/STU_2025_12_17_17/index.md +++ b/content/post/STU_2025_12_17_17/index.md @@ -5,6 +5,7 @@ title = '4 – 数院人的一天' tags = ['数学分析'] categories = 'math' description = '我是数院的,数院的数学应该不差才对。' +slug = '008' +++ 今天习题来自数学分析I 习题7.3 Taylor展开式。 diff --git a/content/post/STU_2025_12_18_20/index.md b/content/post/STU_2025_12_18_20/index.md index 4591a4c..789d334 100644 --- a/content/post/STU_2025_12_18_20/index.md +++ b/content/post/STU_2025_12_18_20/index.md @@ -5,6 +5,7 @@ title = '5 – 数院人的一天' tags = ['高等代数'] categories = 'math' description = '我是数院的,数院的数学应该不差才对。' +slug = '009' +++ 今天习题来自高等代数I 第一章 多项式。 ## 题目描述 diff --git a/content/post/STU_2025_12_29_16/index.md b/content/post/STU_2025_12_29_16/index.md index 690e05d..1c69dfe 100644 --- a/content/post/STU_2025_12_29_16/index.md +++ b/content/post/STU_2025_12_29_16/index.md @@ -5,6 +5,7 @@ title = '6 – 数院人的一天' tags = ['高等代数'] categories = 'math' description = '高等代数I备考。' +slug = '00E' +++ 详见王立中老师于2025年12月11日上午8:00–10:10的高等代数I课堂。 ## 关于“零化矩阵” diff --git a/content/post/STU_2026_01_03_22/index.md b/content/post/STU_2026_01_03_22/index.md index 0540763..2eadd4f 100644 --- a/content/post/STU_2026_01_03_22/index.md +++ b/content/post/STU_2026_01_03_22/index.md @@ -5,6 +5,7 @@ title = '7 – 数院人的一天' tags = ['数学分析'] categories = 'math' description = '我是数院的,数院的数学应该不差才对。' +slug = '00F' +++ 今日题目出自数学分析I 第七章 微分中值定理。 ## 命题7.5.7 diff --git a/content/post/STU_2026_04_12_22/index.md b/content/post/STU_2026_04_12_22/index.md index fa64078..80685c1 100644 --- a/content/post/STU_2026_04_12_22/index.md +++ b/content/post/STU_2026_04_12_22/index.md @@ -10,6 +10,7 @@ rooms: hidden: false comments: false draft: false +slug: "00G" --- ### 朴素贝叶斯算法 #### 1.简介