打造 中文版的 http://commandlinefu.com
贡献你的力量
下载代码
$ git clone https://github.com/tg123/commandlinefu.cn.git cd commandlinefu.cn
寻找一个没有翻译的文件 (会调用你的 $EDITOR 来编辑这个文件)
./tools/translateone.sh
翻译参考
$ git diff _data/head_n_20_filename_tail.yaml diff –git a/_data/head_n_20_filename_tail.yaml b/_data/head_n_20_filename_tail.yaml index b5d0efe..970e1a8 100644 — a/_data/head_n_20_filename_tail.yaml +++ b/_data/head_n_20_filename_tail.yaml @@ -1,8 +1,7 @@ commandlinefu_id: 7044 translator: - weibo: ‘’ -hide: true + weibo: tgic command: |- head -n 20 | tail summary: |- - Print all the lines between 10 and 20 of a file + 输出文件的10到20行
说明
发送你的 pull request
实现原理
网站使用 jekyll 构建. 可以通过运行
jekyll build
在本地构建你的网站
依赖的插件
关于使用commandlinefu.com内容
commandlinefu.com 站长 David Winterbottom :
You’re welcome to re-publish the commandlinefu content.
domain)授权(public domain)