refactor: content modification

This commit is contained in:
rand777 2025-03-04 01:27:14 +08:00
parent ac183a6f5e
commit 9926510adb
13 changed files with 56 additions and 76 deletions

View File

@ -85,7 +85,8 @@
- 请从二级标题开始写,一级标题在正文不渲染
- 如果网页渲染重复,请重启服务器
- 在开始你所在分支的开发之前请先检查master分支是否有更新有则update → rebase
- Giscus的跨域报错不用管
- ![2025-03-04_00-55-06.png](/src/2025-03-04_00-55-06.png)
### Pixpin配置
![2025-03-03_22-02-28.png](docs/.vuepress/public/src/2025-03-03_22-02-28.png)
![2025-03-03_22-02-04.png](docs/.vuepress/public/src/2025-03-03_22-02-04.png)
@ -93,20 +94,11 @@
按下F2即可快速保存
## Q&A
- git进行push报错出现<br>
fatal: unable to access 'https://github.com/xxxxx/xxxx.git/': OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0
```markdown
# Git代理配置及问题解决
### git进行push报错
当出现以下错误时可能是Git无法通过指定的代理连接到目标服务器
- fatal: unable to access 'https://github.com/xxxxx/xxxx.git/': OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0
```
fatal: unable to access 'https://github.com/xxxxx/xxxx.git/': Failed to connect to 127.0.0.1 port 7890 after 2054 ms: Couldn't connect to server
```
## 解决方法
### 1. 检查Clash代理设置
1. 检查Clash代理设置
- **确保Clash已启动**
确保Clash程序正在运行并且已激活代理。
@ -117,7 +109,7 @@ fatal: unable to access 'https://github.com/xxxxx/xxxx.git/': Failed to connect
- **检查Clash的代理规则**
确保你的代理规则能够正确处理到GitHub的请求。
### 2. 测试代理连接
2. 测试代理连接
在终端中使用`curl`命令,测试代理是否能够正常工作:
@ -133,13 +125,20 @@ fatal: unable to access 'https://github.com/xxxxx/xxxx.git/': Failed to connect
curl -x socks5://127.0.0.1:7891 https://github.com
```
配置clash本地代理方法
```shell
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy https://127.0.0.1:7890
```
如果能够成功响应说明代理正常。如果不能说明可能是Clash的设置问题。
### 3. 直接访问GitHub
3. 直接访问GitHub
通过浏览器直接访问`https://github.com`看是否可以连接。如果可以而Git无法连接可能是Git配置的问题。
### 4. 检查Git的SSL设置
4. 检查Git的SSL设置
在某些情况下Git的SSL设置可能会影响连接
@ -149,15 +148,15 @@ git config --global http.sslVerify false
> **注意**禁用SSL验证会影响安全性通常不建议这样做。
### 5. 更新Git版本
5. 更新Git版本
确保你的Git是最新版本。有时较旧版本的Git可能会与代理服务器不兼容。
### 6. 确保没有其他代理干扰
6. 确保没有其他代理干扰
确认没有其他程序如VPN或其他代理干扰Git的连接。
### 7. 尝试其他Git协议
7. 尝试其他Git协议
如果使用HTTPS存在问题尝试SSH。如果你的GitHub账号已经配置了SSH密钥可以使用SSH方式克隆仓库
@ -165,7 +164,7 @@ git config --global http.sslVerify false
git clone git@github.com:MultipledMe/PGuide-Docs.git
```
### 8. 重新配置Git代理
8. 重新配置Git代理
如果以上步骤都无法解决问题可以尝试重新配置Git的代理设置确保没有任何拼写错误或其他问题
@ -176,10 +175,5 @@ git config --global --unset https.proxy
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890
```
```
此Markdown文档可以直接在支持Markdown的编辑器中查看和使用。希望这对你有帮助
## 文档
- [vuepress](https://vuepress.vuejs.org/)
- [vuepress-theme-plume](https://theme-plume.vuejs.press/)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 359 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 817 KiB

View File

@ -36,15 +36,11 @@ Git 的设计非常优雅,但初学者通常因为很难理解其内部逻辑
:::
[关于版本控制 - Git Guide](https://zj-git-guide.readthedocs.io/zh-cn/latest/get-started/%E5%85%B3%E4%BA%8E%E7%89%88%E6%9C%AC%E6%8E%A7%E5%88%B6/)
:::tip
此处待写Git IDE集成 / 申请教育版
[//]: # (TODO: 此处待写Git IDE集成 / 申请教育版)
:::
## 软件集成
通过设置git 可以在各 IDE 中进行集成,无需使用 git-bash 命令行工具,你可能需要知道XXX 如何 XXX
通过设置git 可以在各 IDE 中进行集成,无需使用 git-bash 命令行工具,你可能需要知道[什么是IDE](/campus-wiki/common-softwares/IDE/)[如何申请教育版](/campus-wiki/apply-student-email/#学生邮箱的作用)
## 设置SSH密钥
第一次需要生成 SSH 密钥对,可以按照以下步骤在你的终端或命令提示符中执行相应的命令:

View File

@ -1,5 +1,5 @@
---
title: Latex
title: LaTeX
createTime: 2025/03/03 23:02:01
permalink: /csdiy/tools-must/latex/
icon: file-icons:latex

View File

@ -1,5 +1,5 @@
---
title: macOs
title: MacOS
createTime: 2025/03/03 23:50:55
permalink: /csdiy/tools-must/magic/clash-core/macos/
icon: wpf:macos

View File

@ -1,5 +1,5 @@
---
title: linux
title: Linux
createTime: 2025/03/03 23:49:44
permalink: /csdiy/tools-must/magic/clash-core/linuxs/
icon: devicon:linux

View File

@ -1,5 +1,5 @@
---
title: README
title: magic
createTime: 2025/03/03 23:42:04
permalink: /csdiy/tools-must/magic/
icon: arcticons:clash

View File

@ -1,5 +1,5 @@
---
title: docker
title: docker加速
createTime: 2025/03/03 23:46:13
permalink: /csdiy/tools-must/magic/docker-speed/
icon: skill-icons:docker

View File

@ -1,5 +1,5 @@
---
title: markdown
title: Markdown
createTime: 2025/03/03 23:12:31
permalink: /csdiy/tools-must/markdown/
icon: material-symbols:markdown
@ -38,7 +38,7 @@ icon: material-symbols:markdown
你好! 这是你第一次使用 **Markdown编辑器** 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章了解一下Markdown的基本语法知识。
#### 新的改变
### 新的改变
我们对Markdown编辑器进行了一些功能拓展与语法支持除了标准的Markdown编辑器功能我们增加了如下几点新功能帮助你用它写博客
@ -53,7 +53,7 @@ icon: material-symbols:markdown
[^1]: [mermaid语法说明](https://mermaidjs.github.io/)
#### 功能快捷键
### 功能快捷键
- 撤销:<kbd>Ctrl/Command</kbd> + <kbd>Z</kbd>
- 重做:<kbd>Ctrl/Command</kbd> + <kbd>Y</kbd>
@ -69,13 +69,13 @@ icon: material-symbols:markdown
- 查找:<kbd>Ctrl/Command</kbd> + <kbd>F</kbd>
- 替换:<kbd>Ctrl/Command</kbd> + <kbd>G</kbd>
#### 合理的创建标题,有助于目录的生成
### 合理的创建标题,有助于目录的生成
直接输入1次<kbd>#</kbd>,并按下<kbd>space</kbd>将生成1级标题。
输入2次<kbd>#</kbd>,并按下<kbd>space</kbd>将生成2级标题。
以此类推我们支持6级标题。有助于使用`TOC`语法后生成一个完美的目录。
#### 如何改变文本的样式
### 如何改变文本的样式
*强调文本* _强调文本_
@ -91,7 +91,7 @@ H~2~O is是液体。
2^10^ 运算结果是 1024.
#### 插入链接与图片
### 插入链接与图片
链接: [link](https://www.csdn.net/).
@ -105,7 +105,7 @@ H~2~O is是液体。
当然,我们为了让用户更加便捷,我们增加了图片拖拽功能。
#### 如何插入一段漂亮的代码片
### 如何插入一段漂亮的代码片
去[博客设置](https://mp.csdn.net/console/configBlog)页面,选择一款你喜欢的代码片高亮样式,下面展示同样高亮的 `代码片`.
@ -114,7 +114,7 @@ H~2~O is是液体。
var foo = 'bar';
```
#### 生成一个适合你的列表
### 生成一个适合你的列表
- 项目
- 项目
@ -127,7 +127,7 @@ var foo = 'bar';
- [x] 计划任务
- [x] 完成任务
#### 创建一个表格
### 创建一个表格
一个简单的表格是这么创建的:
@ -137,7 +137,7 @@ var foo = 'bar';
| 手机 | $12 |
| 导管 | $1 |
##### 设定内容居中、居左、居右
#### 设定内容居中、居左、居右
使用`:---------:`居中
使用`:----------`居左
@ -147,7 +147,7 @@ var foo = 'bar';
| :------------: | -------------: | :------------- |
| 第一列文本居中 | 第二列文本居右 | 第三列文本居左 |
##### SmartyPants
#### SmartyPants
SmartyPants将ASCII标点字符转换为“智能”印刷标点HTML实体。例如
@ -157,7 +157,7 @@ SmartyPants将ASCII标点字符转换为“智能”印刷标点HTML实体。例
| Quotes | `"Isn't this fun?"` | "Isn't this fun?" |
| Dashes | `-- is en-dash, --- is em-dash` | -- is en-dash, --- is em-dash |
#### 创建一个自定义列表
### 创建一个自定义列表
Markdown
: Text-to-HTML conversion tool
@ -166,19 +166,19 @@ Authors
: John
: Luke
#### 如何创建一个注脚
### 如何创建一个注脚
一个具有注脚的文本。[^2]
[^2]: 注脚的解释
#### 注释也是必不可少的
### 注释也是必不可少的
Markdown将文本转换为 HTML。
*[HTML]: 超文本标记语言
#### KaTeX数学公式
### KaTeX数学公式
您可以使用渲染LaTeX数学表达式 [KaTeX](https://khan.github.io/KaTeX/):
@ -191,7 +191,7 @@ $$
> 你可以找到更多关于的信息 **LaTeX** 数学表达式[here][1].
#### 新的甘特图功能,丰富你的文章
### 新的甘特图功能,丰富你的文章
```mermaid
gantt
@ -206,7 +206,7 @@ gantt
- 关于 **甘特图** 语法,参考 [这儿][2],
#### UML 图表
### UML 图表
可以使用UML图表进行渲染。 [Mermaid](https://mermaidjs.github.io/). 例如下面产生的一个序列图:
@ -234,31 +234,23 @@ C --> D
- 关于 **Mermaid** 语法,参考 [这儿][3],
#### FLowchart流程图
### FLowchart流程图
我们依旧会支持flowchart的流程图
[//]: # (TODO: 此处待写)
```mermaid
flowchat
st=>start: 开始
e=>end: 结束
op=>operation: 我的操作
cond=>condition: 确认?
st->op->cond
cond(yes)->e
cond(no)->op
```
:::tip
此处待写
:::
- 关于 **Flowchart流程图** 语法,参考 [这儿][4].
#### 导出与导入
### 导出与导入
##### 导出
### 导出
如果你想尝试使用此编辑器, 你可以在此篇文章任意编辑。当你完成了一篇文章的写作, 在上方工具栏找到 **文章导出** ,生成一个.md文件或者.html文件进行本地保存。
##### 导入
### 导入
如果你想加载一篇你写过的.md文件在上方工具栏可以选择导入功能进行对应扩展名的文件导入
继续你的创作。

View File

@ -15,10 +15,6 @@ icon: /email.svg
## 学生邮箱的作用
::: tip
此处待完善
:::
::: tabs
@tab 申请JetBrains专业版
@ -38,8 +34,8 @@ icon: /email.svg
[:[arcticons:alist]: PGuide Alist备份](http://192.168.183.171:5244/softwares/JetBrainsIDEs)
4. 使用验证码激活IDE
@tab 申请Navicat Premiere专业版
![2025-03-04_00-41-54.png](/src/2025-03-04_00-41-54.png)
@tab 申请Navicat Premiere
Navicat是一个数据库管理工具集成了多种数据库连接、自动化测试等功能。
@ -56,6 +52,9 @@ Navicat是一个数据库管理工具集成了多种数据库连接、自动
2. 下载Navicat
@tab 申请其他高校的夏冬令营
[https://www.navicat.com/en/products](https://www.navicat.com/en/products)
3. 使用授权码激活Navicat
:::

View File

@ -244,7 +244,6 @@ ros2 run turtlesim turtlesim_node
ros2 run turtlesim turtle_teleop_key
```
第一句指令将启动一个蓝色背景的海龟仿真器,第二句指令将启动一个键盘控制节点,在该终端中点击键盘上的“上下左右”按键,就可以控制小海龟运动啦。
![2025-02-25_05-15-20.webp](/src/2025-02-25_05-15-20.webp)
关于小海龟中蕴藏的ROS奥义我们在后续教程中将持续探索。