1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

hexo, heroku, md5sum: add Chinese translation (#4470)

This commit is contained in:
Flex Zhong 2020-10-05 22:28:31 +08:00 committed by GitHub
parent f4a38dbd7e
commit edb523ee0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 71 additions and 0 deletions

28
pages.zh/common/heroku.md Normal file
View file

@ -0,0 +1,28 @@
# heroku
> 从命令行创建和管理 Heroku 应用.
> 更多信息: <https://www.heroku.com/>.
- 登录到你的 heroku 帐户:
`heroku login`
- 创建一个 heroku 应用:
`heroku create`
- 显示应用的日志:
`heroku logs --app {{app_name}}`
- 在 dyno(Heroku 虚拟机)中运行一次性进程:
`heroku run {{process_name}} --app {{app_name}}`
- 列出应用的 dyno(Heroku 虚拟机):
`heroku ps --app {{app_name}}`
- 永久销毁应用:
`heroku destroy --app {{app_name}}`

28
pages.zh/common/hexo.md Normal file
View file

@ -0,0 +1,28 @@
# hexo
> 快速、简洁且高效的博客框架.
> 更多信息: <https://hexo.io/>.
- 初始化一个网站:
`hexo init {{path/to/directory}}`
- 创建一篇新文章:
`hexo new {{layout}} {{title}}`
- 构建静态文件:
`hexo generate`
- 启动本地服务器:
`hexo server`
- 部署网站:
`hexo deploy`
- 清理缓存文件 (`db.json`) 和生成的文件 (`public/`):
`hexo clean`

15
pages.zh/common/md5sum.md Normal file
View file

@ -0,0 +1,15 @@
# md5sum
> 计算 MD5 加密校验和.
- 计算文件的 MD5 校验和:
`md5sum {{filename1}}`
- 计算多个文件的 MD5 校验和:
`md5sum {{filename1}} {{filename2}}`
- 读取 MD5SUM 的文件并验证所有文件是否具有匹配的校验和:
`md5sum -c {{filename.md5}}`