docs: improve docs

This commit is contained in:
rand777 2025-03-18 02:42:42 +08:00
parent 56a13235ed
commit 257571a4dd
21 changed files with 116 additions and 74 deletions

View File

@ -118,7 +118,6 @@ export default defineUserConfig({
*/ */
markdownPower: { markdownPower: {
annotation: true,
pdf: true, // 启用 PDF 嵌入 @[pdf](/xxx.pdf) pdf: true, // 启用 PDF 嵌入 @[pdf](/xxx.pdf)
caniuse: true, // 启用 caniuse 语法 @[caniuse](feature_name) caniuse: true, // 启用 caniuse 语法 @[caniuse](feature_name)
plot: true, // 启用隐秘文本语法 !!xxxx!! plot: true, // 启用隐秘文本语法 !!xxxx!!

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 480 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 640 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 KiB

View File

@ -5,18 +5,24 @@ permalink: /csdiy/program-begin/python/
icon: devicon:python icon: devicon:python
--- ---
## 安装IDE ## 安装IDE
IDE 推荐 ==PyCharm=={.important},软件教程见[:[logos:pycharm]:PyCharm](/campus-wiki/common-softwares/IDE/PyCharm/) IDE 推荐 ==PyCharm=={.important},软件教程见[:[logos:pycharm]:PyCharm](/campus-wiki/common-softwares/IDE/PyCharm/)
PyCharm专业版软件安装包可在[Alist动态开源软件镜像站](http://192.168.183.171:5244/softwares/JetBrainsIDEs/pycharm-professional-2024.2.4.exe)下载 PyCharm专业版软件安装包可在[Alist动态开源软件镜像站](http://192.168.183.171:5244/softwares/JetBrainsIDEs/pycharm-professional-2024.2.4.exe)
下载
申请大学生教育认证专业版参考[申请JetBrains专业版](/campus-wiki/apply-student-email/#申请学生邮箱) 申请大学生教育认证专业版参考[申请JetBrains专业版](/campus-wiki/apply-student-email/#申请学生邮箱)
## 实操党 ## 实操党
:::info 梦开始的地方
可以先看看[CS61A](https://cs61a.org/)哦,源神,启动! 可以先看看[CS61A](https://cs61a.org/)哦,源神,启动!
:::
哈佛大学[CS50P](https://cs50.harvard.edu/python/2022/)
,麻省理工学院[MIT6.100L](https://ocw.mit.edu/courses/6-100l-introduction-to-cs-and-programming-using-python-fall-2022/pages/material-by-lecture/)
也不错,看完即可。
## 读书党 ## 读书党
@ -30,40 +36,8 @@ PyCharm专业版软件安装包可在[Alist动态开源软件镜像站](http://1
@[bilibili](BV1c4411e77t) @[bilibili](BV1c4411e77t)
3. 然后重医图书馆《python可视化数据分析》[机器学习实战笔记](https://blog.csdn.net/Crayonxin2000/article/details/122741295)跟着代码敲,读书,做笔记思考学习数据分析的精髓就行了,然后你就入门数据分析了
@[pdf](https://cos.cqmu.online/docs/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0%E5%AE%9E%E6%88%98%EF%BC%9A%E5%9F%BA%E4%BA%8EScikit-Learn%E5%92%8CTensorFlow.pdf)
4. 最后就是机器学习。建议你学这个之前有同济绿色版本高数上下册的基础和概率统计的基础学起来会舒服很多购买西瓜书读书然后去GitHub上拉点项目跟着复现实现恭喜你机器学习入门了。
::: details 高等数学上册
@[pdf height="600px"](https://cos.cqmu.online/docs/%E9%AB%98%E7%AD%89%E6%95%B0%E5%AD%A6%E4%B8%83%E7%89%88%EF%BC%88%E4%B8%8A%EF%BC%89.pdf)
::: :::
::: details 高等数学下册
@[pdf height="600px"](https://cos.cqmu.online/docs/%E9%AB%98%E7%AD%89%E6%95%B0%E5%AD%A6%E4%B8%8B%E5%86%8C.pdf)
:::
::: details 西瓜书
@[pdf height="600px"](https://cos.cqmu.online/docs/%E8%A5%BF%E7%93%9C%E4%B9%A6.pdf)
:::
::: details 概率论与数理统计
@[pdf height="600px"](https://cos.cqmu.online/docs/%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1%28%E6%B5%99%E5%A4%A7%E5%9B%9B%E7%89%88%29.pdf)
:::
## Python Applications ## Python Applications
### 机器学习分流 ### 机器学习分流
@ -72,7 +46,7 @@ PyCharm专业版软件安装包可在[Alist动态开源软件镜像站](http://1
<RepoCard repo="josephmisiti/awesome-machine-learning"></RepoCard> <RepoCard repo="josephmisiti/awesome-machine-learning"></RepoCard>
### ###

View File

@ -19,27 +19,49 @@ LaTeX最初设计用作学术论文的编写后面逐渐发展成一款全能
## Overleaf使用 ## Overleaf使用
### 尝鲜体验 ### 尝鲜体验
<LinkCard icon="/icon/overleaf.svg" title="Overleaf在线官网" href="https://cn.overleaf. <LinkCard icon="/icon/overleaf.svg" title="Overleaf在线官网" href="https://cn.overleaf.
com/">中文官网</LinkCard> com/">中文官网</LinkCard>
使用账号密码登录后:
![2025-03-10_02-43-43.png](../../../.vuepress/public/src/2025-03-10_02-43-43.png)
Overleaf的用户界面超级简单即使是新手也能轻松上手现在就开始阅读[Overleaf官方文档](https://cn.overleaf.com/learn/how-to/Creating_a_document_in_Overleaf#Introduction) Overleaf的用户界面超级简单即使是新手也能轻松上手现在就开始阅读[Overleaf官方文档](https://cn.overleaf.com/learn/how-to/Creating_a_document_in_Overleaf#Introduction)
开始LaTeX之旅吧相信我你会惊叹它的奇妙设计 开始LaTeX之旅吧相信我你会惊叹它的奇妙设计
### 如何使用模板
以[重医简历参考模板V1.7.4R](/campus-wiki/internship/resume/#latex-参考模板)
为例,点击[此处](https://cos.cqmu.online/docs/CQMU-%E7%AE%80%E5%8E%86%E6%A8%A1%E6%9D%BFV1.7.4%20R.zip)
下载,建议使用[:[/icon/orcid.svg]:ORCID账号](https://info.orcid.org/zh-CN/%E4%BB%80%E4%B9%88%E6%98%AF-orcid/)
登录,登录后你应该看到这个界面:
![2025-03-10_02-43-43.png](../../../.vuepress/public/src/2025-03-10_02-43-43.png)
![2025-03-18_02-17-37.png](../../../.vuepress/public/src/2025-03-18_02-17-37.png)
上传简历模板压缩包文件夹
![2025-03-18_02-19-51.png](../../../.vuepress/public/src/2025-03-18_02-19-51.png)
报错了,我们要选择合适的编译器
![2025-03-18_02-21-05.png](../../../.vuepress/public/src/2025-03-18_02-21-05.png)
:::info 编译器选择
中文一般选择XeLaTeX英文选择pdfLaTeX
:::
点击左上角菜单,选择`XeLaTeX`编译器
![2025-03-18_02-22-16.png](../../../.vuepress/public/src/2025-03-18_02-22-16.png)
回到主界面,点击重新编译
![2025-03-18_02-23-13.png](../../../.vuepress/public/src/2025-03-18_02-23-13.png)
编辑内容只需要在右侧PDF区双击左侧源代码区则会直接跳转到对应位置。
### 模板! ### 模板!
在 [Overleaf的模板网](https://cn.overleaf.com/latex/templates)中你可以看到很多类型的模板这些和文字相关的工作LaTeX都能应付 在 [Overleaf的模板网](https://cn.overleaf.com/latex/templates)中你可以看到很多类型的模板这些和文字相关的工作LaTeX都能应付
![2025-03-10_02-52-40.png](../../../.vuepress/public/src/2025-03-10_02-52-40.png) ![2025-03-10_02-52-40.png](../../../.vuepress/public/src/2025-03-10_02-52-40.png)
### 如何使用模板
以重医简历参考模板为例,建议使用[:[/icon/orcid.svg]:ORCID账号](https://info.orcid.org/zh-CN/%E4%BB%80%E4%B9%88%E6%98%AF-orcid/)登录,登录后你应该看到这个界面:
### Overleaf CQMU ### Overleaf CQMU
::: tip [http://192.168.183.171](http://192.168.183.171) ::: tip [http://192.168.183.171](http://192.168.183.171)
@ -107,7 +129,6 @@ _2025-03-17 维护后上线_
到[:[simple-icons:overleaf]:Overleaf](https://cn.overleaf.com/latex/templates/cqmu-researchreport/qghkqhhtzfkp) 到[:[simple-icons:overleaf]:Overleaf](https://cn.overleaf.com/latex/templates/cqmu-researchreport/qghkqhhtzfkp)
查看 查看
::: :::
### 计划中的模板 ### 计划中的模板

View File

@ -41,6 +41,12 @@ OpenAI下调用了OpenAI的香港代理支持多种对话模型以DeepSeek
### ###
### PWA支持
支持PWA可以添加到桌面方便使用
![2025-03-18_02-05-03.png](../../../.vuepress/public/src/2025-03-18_02-05-03.png)
## 后续计划 ## 后续计划
1. [ ] 使用数据库版本,接入统一认证中心; 1. [ ] 使用数据库版本,接入统一认证中心;

View File

@ -103,7 +103,7 @@ icon: icon-park-twotone:six-key
### 申请重医免修 ### 申请重医免修
上学绩点4.0以上的同学可以申请免修英语课程,但需要参加最终的考试,最后按考试记录最终成绩。 上学绩点4.0以上的同学可以申请免修英语课程,但需要参加最终的考试,最后按考试记录最终成绩。
[2023年9月学生手册](https://cos.cqmu.online/docs/%E9%87%8D%E5%8C%BB%E5%AD%A6%E7%94%9F%E6%89%8B%E5%86%8C%282023%EF%BC%89.pdf) [2023年9月学生手册](https://cos.cqmu.online/docs/%E9%87%8D%E5%8C%BB%E5%AD%A6%E7%94%9F%E6%89%8B%E5%86%8C%282023%EF%BC%89.pdf)
第四章-第十九条 第四章-第十九条

View File

@ -5,7 +5,9 @@ permalink: /learning-notes/ROS2/VMWare-install/
icon: lineicons:vmware icon: lineicons:vmware
--- ---
:::tip 参考资料 > 本文主要介绍如何在VMWare WorkStation中安装Ubuntu22.04LTS和ROS2并配置固定IP地址和SSH连接使用教育网联合镜像站配置Ubuntu和ROS2的软件镜像源。
:::info 参考资料
古月居文档 [https://www.originbot.org/guide/pc_config/#ubuntu_install](https://www.originbot.org/guide/pc_config/#ubuntu_install) 古月居文档 [https://www.originbot.org/guide/pc_config/#ubuntu_install](https://www.originbot.org/guide/pc_config/#ubuntu_install)
华为云文档 [https://blog.csdn.net/m0_54219225/article/details/127170419](https://blog.csdn.net/m0_54219225/article/details/127170419) 华为云文档 [https://blog.csdn.net/m0_54219225/article/details/127170419](https://blog.csdn.net/m0_54219225/article/details/127170419)
@ -14,13 +16,9 @@ icon: lineicons:vmware
::: :::
:::info
此页面存在疏忽,待完善
:::
虚拟机系统: VMware WorkStation 17.0 虚拟机系统: VMware WorkStation 17.0
SSH连接工具MobaXterm Home Edition SSH连接工具MobaXterm Home Edition、VS Code
## Ubuntu安装 ## Ubuntu安装
@ -60,22 +58,38 @@ Ubuntu默认的软件源下载较慢切换为校园网镜像源或阿里云
### 固定IP地址 ### 固定IP地址
每次VMWare Workstation的虚拟机重启后 DHCP 会自动分配一个新的IP地址使用SSH连接很不方便我们可以设置固定IP地址。 每次VMWare Workstation的虚拟机重启后 DHCP [+vuepress] 会自动分配一个新的IP地址使用SSH连接很不方便我们可以设置固定IP地址。
[+vuepress]:
::: details Windows10 VuePress 是一个 [静态站点生成器](https://en.wikipedia.org/wiki/Static_site_generator) (SSG) 。
专为构建快速、以内容为中心的站点而设计。
:::
::: details Windows11 ::: details Windows11
设置VMnet8的IPV4地址
打开Windows11设置找到网络和Internet-更改适配器选项-VMware Network Adapter VMnet8-编辑-Internet协议版本4-属性-使用以下IP地址
![2025-03-18_01-05-58.png](../../../.vuepress/public/src/2025-03-18_01-05-58.png)
![2025-03-18_01-06-39.png](../../../.vuepress/public/src/2025-03-18_01-06-39.png)
![2025-03-18_01-07-50.png](../../../.vuepress/public/src/2025-03-18_01-07-50.png)
::: :::
:::details VMWare配置 :::details VMWare配置
实际VMWare 在NAT模式下分配的子网网段可能会有不同这里是`192.168.11.0`; 实际VMWare 在NAT模式下分配的子网网段可能会有不同这里设置为`192.168.8.0`;
查看子网:编辑-虚拟网络编辑器-VMnet8-子网IP 查看子网:编辑-虚拟网络编辑器-VMnet8-子网IP
![2025-02-25_03-56-01.png](/src/2025-02-25_03-56-01.png) ![2025-03-18_01-09-24.png](../../../.vuepress/public/src/2025-03-18_01-09-24.png)
点击NAT设置
![2025-03-18_01-36-45.png](../../../.vuepress/public/src/2025-03-18_01-36-45.png)
设置网卡
![2025-03-18_01-17-12.png](../../../.vuepress/public/src/2025-03-18_01-17-12.png)
![2025-03-18_01-35-08.png](../../../.vuepress/public/src/2025-03-18_01-35-08.png)
::: :::
使用你喜欢的编辑器编辑 `/etc/netplan/01-network-manager-all.yaml` 使用你喜欢的编辑器编辑 `/etc/netplan/01-network-manager-all.yaml`
@ -84,31 +98,45 @@ Ubuntu默认的软件源下载较慢切换为校园网镜像源或阿里云
nano /etc/netplan/01-network-manager-all.yaml nano /etc/netplan/01-network-manager-all.yaml
``` ```
:::info 如何快速使用nano删除
标记所有内容:
按 Ctrl+A 跳转到行首。
按下 Ctrl+Shift+6或 Alt+A开始标记。
按 Alt+/ 跳转到文件末尾,此时会标记从开头到末尾的所有内容。
删除标记内容:按 Ctrl+K 剪切(删除)选中部分。
:::
```yaml ```yaml
# Let NetworkManager manage all devices on this system # Let NetworkManager manage all devices on this system
network: network:
renderer: networkd renderer: NetworkManager
version: 2 version: 2
ethernets: ethernets:
ens33: ens33:
dhcp4: false dhcp4: no
addresses: addresses:
- 192.168.11.133/24 - 192.168.8.8/24
routes: routes:
- to: default - to: default
via: 192.168.11.2 via: 192.168.8.1
nameservers: nameservers:
addresses: [ 8.8.8.8, 8.8.4.4, 192.168.11.2, 233.5.5.5 ] addresses: [ 8.8.8.8, 114.114.114.114, 233.5.5.5 ]
``` ```
:::info IP解释 :::info IP解释
- `192.168.11.133`是本地中未被占用的CIDR地址 - `192.168.8.8`是本地中未被占用的CIDR地址也是是你想设置的固定地址
- `192.168.11.133`是你想设置的固定地址 - `192.168.8.*`是VMware WorkStation的NAT模式子网网段网关设置为同一网段即可转发流量例如此处的`192.168.8.1`,不可为广播地址.255或主机地址.0
- `192.168.11.0`是VMware WorkStation的NAT模式子网网段 - `8.8.8.8`是Google的DNS服务器
- 网关设置为同一网段即可转发流量,例如此处的`192.168.11.2`,不可为广播地址或主机地址 - `114.114.114.114`是国内移动、电信和联通通用的DNS可拦截钓鱼、木马病毒网站提供更快的解析速度
- `233.5.5.5`是阿里云的DNS - `233.5.5.5`是阿里云的DNS服务器
::: :::
持久化网络配置 持久化网络配置
```shell ```shell
@ -192,15 +220,29 @@ PubKeyAuthentication yes
sudo systemctl restart ssh sudo systemctl restart ssh
``` ```
6. 连接测试 ### 连接测试
:::tabs
@tab :[tabler:brand-powershell]:MobaXterm
打开MobaXtermsessions-SSH填入你的主机固定IP和密码等出现下面画面即为连接成功 打开MobaXtermsessions-SSH填入你的主机固定IP和密码等出现下面画面即为连接成功
![2025-02-25_04-20-47.png](/src/2025-02-25_04-20-47.png) ![2025-02-25_04-20-47.png](/src/2025-02-25_04-20-47.png)
可以使用 `sudo passwd ` 临时更改root密码 可以使用 `sudo passwd ` 临时更改root密码
@tab :[devicon:vscode]:VS Code
7. 生成密钥(可选) 安装SSH拓展
![2025-03-18_01-46-37.png](../../../.vuepress/public/src/2025-03-18_01-46-37.png)
添加链接-输入账密即可
![2025-03-18_01-45-56.png](../../../.vuepress/public/src/2025-03-18_01-45-56.png)
:::
### 生成密钥(推荐)
如果您希望使用SSH密钥进行身份验证可以在客户端计算机上生成密钥 如果您希望使用SSH密钥进行身份验证可以在客户端计算机上生成密钥
```shell ```shell