My notes on everything
-
覆盖3:markdown 告警块
验证 GitHub markdown 告警块渲染(generator 注入 ALERT_STYLES)。
-
覆盖2:图片与 lightbox
验证图片渲染与点击放大。
-
覆盖1:代码高亮与复制按钮
多语言代码块验证语法高亮与 code-copy 按钮。
-
测试B:front matter 与摘要
这篇走 front matter 的 description 字段
-
第三篇测试:多标签文章
第三篇测试:多标签文章 (触发一次自动构建验证 issues.edited)。
-
GitHub Favored Markdown
# GitHub Favored Markdown [GitHub Docs](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax) ## 文本样式 - 粗体 `**bold**` 或 `__bold__` ctrl+b - 斜体 `*italic*` 或 `_italic_` ctrl+i - 粗体和斜体可以嵌套 - 粗斜体 `***bold italic***` - 删除线 `~~strikethrough~~` 或 `~strikethrough~` - 下标 `subscript` - 上标 `superscript` - 下划线 `underline` ## 单行代码 ctrl+e ## 颜色 使用单行代码包裹rgb,hex,hsl颜色 ## 链接 ctrl+k 也可以通过这种方法链接到仓库中的其他文件 ## 图片 `![]()` 也可以通过这种方法链接仓库中的图片 还可以使用HTML的 `picture` 标签 ## 任务列表 ``` md - [ ] unfinished - [x] finished ``` ## emojis https://github.com/ikatyang/emoji-cheat-sheet/blob/github-actions-auto-update/README.md#github-custom-emoji ## 脚注 ``` md Here is a simple footnote[^1]. A footnote can also have multiple lines[^2]. [^1]: My reference. [^2]: To add line breaks within a footnote, prefix new lines with 2 spaces. This is a second line. ``` ## 告诫 ``` md > [!NOTE] > Useful information that users should know, even when skimming content. > [!TIP] > Helpful advice for doing things better or more easily. > [!IMPORTANT] > Key information users need to know to achieve their goal. > [!WARNING] > Urgent info that needs immediate user attention to avoid problems. > [!CAUTION] > Advises about risks or negative outcomes of certain actions. ``` > [!NOTE] > Useful information that users should know, even when skimming content. > [!TIP] > Helpful advice for doing things better or more easily. > [!IMPORTANT] > Key information users need to know to achieve their goal. > [!WARNING] > Urgent info that needs immediate user attention to avoid problems. > [!CAUTION] > Advises about risks or negative outcomes of certain actions. 。
-
Linux 练习题
# 选择题 1. 将Windows C:盘(hda1)安装在Linux文件系统的/winsys目录下,命令是( ) - [ ] A root@l04.edu.cn:~#mount dev/had1 /winsys - [x] B root@l04.edu.cn:~#mount /dev/had1 /winsys - [ ] C root@l04.edu.cn:~#mount /dev/had1 winsys - [ ] D root@l04.edu.cn:~#mount dev/had1 winsys 答案:B 2. 设超级用户root当前所在目录为:/usr/local,键入cd命令后,用户当前所在目录为( ) - [ ] A /home - [x] B /root - [ ] C /home/root - [ ] D /usr/local 答案:B 3. 字符设备文件类型的标志是( ) - [ ] A p - [x] B c - [ ] C s - [ ] D l 答案:B 4. 将光盘CD-ROM(hdc)安装到文件系统的/mnt/cdrom目录下的命令是( ) - [ ] A mount /mnt/cdrom - [ ] B mount /mnt/cdrom /dev/hdc - [x] C mount /dev/hdc /mnt/cdrom - [ ] D mount /dev/hdc 答案:C 5. 将光盘/dev/hdc卸载的命令是( ) - [x] A umount /dev/hdc - [ ] B unmount /dev/hdc - [ ] C umount /mnt/cdrom /dev/hdc - [ ] D unmount /mnt/cdrom /dev/hdc 答案:A 6. 在/home/stud1/wang目录下有一文件file,使用( )可实现在后台执行命令,此命令将file文件中的内容输出到file.copy文件中。
-
Linux 学习笔记
# Linux系统基础知识 ## 操作系统的概念、功能、组成和基本原理 操作系统管理着整个计算机系统的软硬件资源,并提供用户与计算机系统交互的操作界面。
-
Linux 用户和权限
# Linux 用户和权限 ## 一、超级管理员——root用户 无论是Windows、MacOS、Linux均采用多用户的管理模式进行权限管理。
-
Linux 常用操作
# Linux 常用操作 ## 一、快捷键 这些快捷键绝大多数在Windows中也同样适用 ### 1.1 ctrl+c 强制停止 Linux某些程序的运行,如果想要强制停止它,可以使用快捷键 `ctrl`+`c` 命令输入错误,也可以通过快捷键 `ctrl`+`c` ,退出当前输入,重新输入 `ctrl`+`c` 强制结束某个命令,和Windows中的用法类似 ### 1.2 ctrl+d 退出和登出 可以通过快捷键:`ctrl`+`d` ,退出账户的登录,类似于exit命令,退出Linux用户 或者退出某些特定程序的专属页面,例如退出python命令行,类似于exit()命令 不能用于退出vi/vim ### 1.3 ctrl r 搜索历史命令 可以通过快捷键:`ctrl`+`r` ,输入内容去匹配历史命令 如果搜索到的内容是你需要的,那么:回车键可以直接执行。