使用GitHub Action自动部署博客 目标把 blog 源码放在一个仓库,之后只要 push 内容到该仓库,就用 GitHub action 自动构建博客,并把 public 目录下的内容推送到 user.github.io 仓库 开始Workflow首先,在 GitHub 创建一个名为 blog 的仓库,用来放博客源码。当然也可以是其他名字。 然后,在 blog 仓库下创建 .github/workflows/gh-pages.ym 2022-07-02 Blog #hugo #hexo #github
Yt-Dlp: An Awesome Videos Downloader Introduction A youtube-dl fork with additional features and fixes 2022-06-19 Linux #tools #youtube
Find the Create Date of GitHub Repo You can use the API from GitHub to search it. 2022-06-11 Git #github #git
禁用按下 O 或 O 或 回车 后自动注释 问题默认情况下在 nvim 中,如果你的光标所在行被注释,然后在普通模式按下 o 或 O ,或在插入模式按下回车就会自动注释下一行。例如: 123//Before o //After// A comment //A comment // 解决有时候这是相当讨厌的。为了禁止这种情况,可以使用以下的 viml 命令 12" Vim 2022-05-11 Nvim #nvim
在 Hugo 中使用 Mermaid 以下内容仅适用于 未适配 mermaid 的主题一些主题,如:LoveIt 无需自己额外配置 效果等待一下,看看效果先(rss用户没效果请打开网页): 12345graph LR;A[Hard edge] -->|Link text| B(Round edge) B --> C{Decision} C - 2022-04-16 Blog #hugo