Skip to content

Commit

Permalink
Chinese pages: correct colons
Browse files Browse the repository at this point in the history
  • Loading branch information
bl-ue committed Mar 19, 2021
1 parent 0894ff3 commit 6438afd
Show file tree
Hide file tree
Showing 65 changed files with 143 additions and 143 deletions.
2 changes: 1 addition & 1 deletion pages.zh/common/act.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# act

> 使用Docker本地运行GitHub Actions
> 更多信息: <https://github.com/nektos/act>.
> 更多信息<https://github.com/nektos/act>.
- 列出可用的actions清单:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/adb-install.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# adb install

> 安卓调试桥-Install: 将应用安装包推送到Android模拟器或已连接的安卓设备.
> 更多信息: <https://developer.android.com/studio/command-line/adb>.
> 更多信息<https://developer.android.com/studio/command-line/adb>.
- 向模拟器/设备推送安卓app:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/adb-reverse.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# adb reverse

> 安卓调试桥-反射: 反向映射安卓模拟器实例或者已连接的实体设备的套接字连接.
> 更多信息: <https://developer.android.com/studio/command-line/adb>.
> 更多信息<https://developer.android.com/studio/command-line/adb>.
- 列出所有来自模拟器和设备的映射连接

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/adb-shell.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# adb shell

> 安卓调试桥-Shell: 运行安卓模拟器或者连接设备上的远程终端命令。
> 更多信息: <https://developer.android.com/studio/command-line/adb>.
> 更多信息<https://developer.android.com/studio/command-line/adb>.
- 启动模拟器/设备上的远程终端:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/adb.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# adb

> 安卓调试桥:与 Android 模拟器或已连接的 Android 设备通信.
> 更多信息: <https://developer.android.com/studio/command-line/adb>.
> 更多信息<https://developer.android.com/studio/command-line/adb>.
- 检查 adb server 进程的是否在运行,并开启它:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/adguardhome.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AdGuardHome

> 一款全网广告拦截与反跟踪软件.
> 更多信息: <https://github.com/AdguardTeam/AdGuardHome>.
> 更多信息<https://github.com/AdguardTeam/AdGuardHome>.
- 运行 AdGuard Home:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/ag.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ag

> The Silver Searcher. 类似 ack, 但是更快.
> 更多信息: <https://github.com/ggreer/the_silver_searcher>.
> 更多信息<https://github.com/ggreer/the_silver_searcher>.
- 寻找内容包含"小明"的文件,并列出所在的行数:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/alacritty.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

`alacritty`

- 运行在指定目录中
- 运行在指定目录中:

`alacritty --working-directory {{路径}}`

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/androguard.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# androguard

> 使用python编写的一款针对安卓应用的逆向工程工具.
> 更多信息: <https://github.com/androguard/androguard>.
> 更多信息<https://github.com/androguard/androguard>.
- 展示Android manifest清单文件:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/apktool.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# apktool

> APK文件反编译工具
> 更多信息: <https://ibotpeaches.github.io/Apktool/>.
> 更多信息<https://ibotpeaches.github.io/Apktool/>.
- 反编译:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/asdf.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# asdf

> 可扩展的包版本管理器,支持Nodejs,Ruby,Elixir,Erlang等.
> 更多信息: <https://asdf-vm.com>.
> 更多信息<https://asdf-vm.com>.
- 可用插件清单:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/autoflake.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# autoflake

> 一个工具,用于检查python代码中未被使用的引入和变量.
> 更多信息: <https://github.com/myint/autoflake>.
> 更多信息<https://github.com/myint/autoflake>.
- 移除指定文件中未使用的变量,并展示diff:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/autojump.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> 快速跳转,访问次数最多的文件夹优先.
> 使用j、jc、jo作为别名.
> 更多信息: <https://github.com/wting/autojump>.
> 更多信息<https://github.com/wting/autojump>.
- 跳转到包含指定通配符的目录:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/axel.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> 一款下载加速器.
> 支持HTTP, HTTPS, 和 FTP.
> 更多信息: <https://github.com/axel-download-accelerator/axel>.
> 更多信息<https://github.com/axel-download-accelerator/axel>.
- 链接下载:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/babel.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# babel

> 一款JavaScript的编译器,将下一代ES语法转换为兼容语法。
> 更多信息: <https://babeljs.io/>.
> 更多信息<https://babeljs.io/>.
- 转编译指定文件到标准输出:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/bash.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> Bourne-Again SHell.
> 兼容`sh`的命令行解释器.
> 更多信息: <https://gnu.org/software/bash>.
> 更多信息<https://gnu.org/software/bash>.
- 启动交互式 shell:

Expand Down
4 changes: 2 additions & 2 deletions pages.zh/common/bashmarks.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# bashmarks

> 使用一个字母的命令,保存或者跳转到常用的目录
> 更多信息: <https://github.com/huyng/bashmarks>.
> 更多信息<https://github.com/huyng/bashmarks>.
- 可访问书签清单:

Expand All @@ -19,6 +19,6 @@

`p {{书签名}}`

- 删除书签
- 删除书签:

`d {{书签名}}`
2 changes: 1 addition & 1 deletion pages.zh/common/bat.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> 可以打印并且合并文件的命令.
> `cat`的复制品,外加无法高亮和git集成.
> 更多信息: <https://github.com/sharkdp/bat>.
> 更多信息<https://github.com/sharkdp/bat>.
- 文件内容打印:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/behat.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# behat

> 基于Behaviour-Driven Development的自动化测试PHP框架
> 更多信息: <https://behat.org>.
> 更多信息<https://behat.org>.
- 初始化一个PHP behat项目:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/bmaptool.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# bmaptool

> 便捷地创建或复制块文件映射(被设计的比`cp``dd`更快).
> 更多信息: <https://source.tizen.org/documentation/reference/bmaptool>.
> 更多信息<https://source.tizen.org/documentation/reference/bmaptool>.
- 使用图片生成块图文件:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/bower.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> 前端web开发的包管理优化工具。
> 一个包可以是GitHub中user/repo的缩写,一个Git端口,一个URL链接或者一个已注册的包。
> 更多信息: <https://bower.io/>.
> 更多信息<https://bower.io/>.
- 安装列在项目下 的bower.json文件中的依赖:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/browser-sync.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# browser-sync

> 启动一个本地的服务,可以监听文件改动,刷新浏览器.
> 更多信息: <https://browsersync.io/docs/command-line>.
> 更多信息<https://browsersync.io/docs/command-line>.
- 将指定目录发成服务:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/btm.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> 命令行`top`的替代品.
> `top更轻便,支持跨平台、图表更丰富`.
> 更多信息: <https://github.com/ClementTsang/bottom>.
> 更多信息<https://github.com/ClementTsang/bottom>.
- 展示默认布局 (cpu, 内存, 温度, 磁盘, 网络和 进程):

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/buku.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# buku

> 命令行版本的书签管理器.
> 更多信息: <https://github.com/jarun/Buku>.
> 更多信息<https://github.com/jarun/Buku>.
- 根据关键词和标签查找书签:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# code

> Visual Studio Code.
> 更多信息: <https://github.com/microsoft/vscode>.
> 更多信息<https://github.com/microsoft/vscode>.
- 打开 VS Code:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/echo.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

`echo "{{My path is $PATH}}"`

- 打印不带尾随换行符的信息
- 打印不带尾随换行符的信息:

`echo -n "{{Hello World}}"`

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/gh-gist.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# gh gist

> 在命令行上使用 GitHub Gists.
> 更多信息: <https://cli.github.com/manual/gh_gist>.
> 更多信息<https://cli.github.com/manual/gh_gist>.
- 从一个以空格分隔的文件列表中创建一个新的 Gist:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/gh-repo.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# gh repo

> 在命令行上操作 GitHub 仓库.
> 更多信息: <https://cli.github.com/manual/gh_repo>.
> 更多信息<https://cli.github.com/manual/gh_repo>.
- 创建一个新的仓库(如果没有设置仓库名称,默认将为当前目录的名称):

Expand Down
6 changes: 3 additions & 3 deletions pages.zh/common/gpg-zip.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
> 使用`GPG`加密存档中的文件和目录。
> 更多信息:<https://www.gnupg.org/documentation/manuals/gnupg/gpg_002dzip.html>
- 使用密码将一个目录加密为`archive.gpg`
- 使用密码将一个目录加密为`archive.gpg`:

`gpg-zip --symmetric --output {{archive.gpg}} {{path/to/directory}}`

-`archive.gpg`解密到同名目录中
-`archive.gpg`解密到同名目录中:

`gpg-zip --decrypt {{path/to/archive.gpg}}`

- 列出加密的`archive.gpg`的内容
- 列出加密的`archive.gpg`的内容:

`gpg-zip --list-archive {{path/to/archive.gpg}}`
16 changes: 8 additions & 8 deletions pages.zh/common/gpg.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,34 @@
> 请参阅`gpg2`了解 GNU Privacy Guard 2。
> 更多信息:<https://docs.releng.linuxfoundation.org/en/latest/gpg.html>
- 不加密,仅对`doc.txt`进行签名(生成`doc.txt.asc`,格式为 ASCII 码形式)
- 不加密,仅对`doc.txt`进行签名(生成`doc.txt.asc`,格式为 ASCII 码形式):

`gpg --clearsign {{doc.txt}}`

-`doc.txt`进行签名并加密(生成`doc.txt.asc`,格式为 ASCII 码形式)
-`doc.txt`进行签名并加密(生成`doc.txt.asc`,格式为 ASCII 码形式):

`gpg --local-user {{sender_id}} --recipient {{recipient_id}} --armor --sign --encrypt {{doc.txt}}`

- 为接收者 alice@example.com 加密`doc.txt`(生成`doc.txt.gpg`
- 为接收者 alice@example.com 加密`doc.txt`(生成`doc.txt.gpg`:

`gpg --encrypt --recipient {{alice@example.com}} {{doc.txt}}`

- 只用密码加密`doc.txt`(生成`doc.txt.gpg`
- 只用密码加密`doc.txt`(生成`doc.txt.gpg`:

`gpg --symmetric {{doc.txt}}`

- 解密`doc.txt.gpg`(输出到标准输出)
- 解密`doc.txt.gpg`(输出到标准输出):

`gpg --decrypt {{doc.txt.gpg}}`

- 导入一个公钥
- 导入一个公钥:

`gpg --import {{public.gpg}}`

- 导出 alice@example.com 的公钥(输出到标准输出)
- 导出 alice@example.com 的公钥(输出到标准输出):

`gpg --export --armor {{alice@example.com}}`

- 导出 alice@example.com 的私钥(输出到标准输出)
- 导出 alice@example.com 的私钥(输出到标准输出):

`gpg --export-secret-keys --armor {{alice@example.com}}`
14 changes: 7 additions & 7 deletions pages.zh/common/gpg2.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,30 @@
> GNU Privacy Guard 1 请参见`gpg`
> 更多信息:<https://docs.releng.linuxfoundation.org/en/latest/gpg.html>
- 列出导入的密钥(公钥)
- 列出导入的密钥(公钥):

`gpg2 --list-keys`

- 为指定的接收者加密指定的文件,将输出结果写到一个新的文件中,并附加`.gpg`
- 为指定的接收者加密指定的文件,将输出结果写到一个新的文件中,并附加`.gpg`:

`gpg2 --encrypt --recipient {{alice@example.com}} {{path/to/doc.txt}}`

- 只用密码(对称加密)对指定文件进行加密,将输出结果写入一个附加`.gpg`的新文件
- 只用密码(对称加密)对指定文件进行加密,将输出结果写入一个附加`.gpg`的新文件:

`gpg2 --symmetric {{path/to/doc.txt}}`

- 解密指定的文件,并将结果写入标准输出
- 解密指定的文件,并将结果写入标准输出:

`gpg2 --decrypt {{path/to/doc.txt.gpg}}`

- 导入一个公钥
- 导入一个公钥:

`gpg2 --import {{path/to/public_key.gpg}}`

- 将指定电子邮件地址的公钥导出到标准输出
- 将指定电子邮件地址的公钥导出到标准输出:

`gpg2 --export --armor {{alice@example.com}}`

- 将指定电子邮件地址的私钥导出到标准输出
- 将指定电子邮件地址的私钥导出到标准输出:

`gpg2 --export-secret-keys --armor {{alice@example.com}}`
6 changes: 3 additions & 3 deletions pages.zh/common/gpgv.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
> 验证 OpenPGP 签名。
> 更多信息:<https://www.gnupg.org/documentation/manuals/gnupg/gpgv.html>
- 验证签名文件
- 验证签名文件:

`gpgv {{path/to/file}}`

- 使用分离式签名验证已签名的文件
- 使用分离式签名验证已签名的文件:

`gpgv {{path/to/signature}} {{path/to/file}}`

- 在 keyrings 列表中添加一个文件(一个导出的钥匙也算作一个 keyring)
- 在 keyrings 列表中添加一个文件(一个导出的钥匙也算作一个 keyring):

`gpgv --keyring {{path/to/keyring_file}} {{path/to/signature}} {{path/to/file}}`
Loading

0 comments on commit 6438afd

Please sign in to comment.