run:
yay -Syu adobe-source-han-sans-otc-fonts adobe-source-han-serif-otc-fonts
yay -Syu fcitx fcitx-googlepinyin fcitx-im fcitx-configtool
sudo vim /etc/profile
| #!/bin/bash | |
| # 但是更推荐单步手动执行 | |
| # 用 gh 获取当前仓库的所有 artifacts 的 id | |
| # 这里用重定向 > 符号,强制把输出写进文件,这绝对不会触发分页器 | |
| gh api repos/{owner}/{repo}/actions/artifacts --paginate -q '.artifacts[].id' > ../ids.txt | |
| # 检查一下文件内容 | |
| cat ../ids.txt |
| // 使用方法:保存为文件,在命令行键入 `swift <file.swift>` 回车运行 | |
| import Foundation | |
| import Contacts | |
| extension String { | |
| func phonetic() -> String { | |
| let src = NSMutableString(string: self) as CFMutableString | |
| CFStringTransform(src, nil, kCFStringTransformMandarinLatin, false) | |
| return String(src) |
| <!--Typora自用覆盖设置-灵感来源为体系结构实验报告要求--> | |
| /*font-family*/ | |
| h1, | |
| h2, | |
| h3, | |
| h4, | |
| h5, | |
| h6 { | |
| font-family: "Linux Libertine", "Times New Roman", "Source Han Sans CN", |