A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/tg123/commandlinefu.cn below:

GitHub - tg123/commandlinefu.cn: 中文版commandlinefu

打造 中文版的 http://commandlinefu.com

@titikaka723 写的github初学者贡献参考手册

$ git clone https://github.com/tg123/commandlinefu.cn.git
cd commandlinefu.cn
./tools/set_translator_weibo_and_show.sh 你的微博用户名
mkdir ~/.commandlinefu && echo "weibo_id" > ~/.commandlinefu/weibo.conf
./tools/set_translator_weibo_and_show.sh
cp tools/pre-commit .git/hooks/
sudo chmod u+x .git/hooks/pre-commit
$ 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 <filename> | tail
 summary: |-
-  Print all the lines between 10 and 20 of a file
+  输出文件的10到20行
  1. weibo: tgic 会在页面显示出 @tgic 翻译
  2. 删除 hide: true 自动构建程序会知道你已经翻译了这个文件
  3. 内容就是 summary 编译成汉语就好了 当然命令你也可以修改

安装需要的软件 ruby 需要 > 1.9.2

gem install jekyll nokogiri json

网站使用 jekyll 构建. 需要至少1.3

可以通过运行

在本地构建你的网站

commandlinefu.com 站长 David Winterbottom :

You're welcome to re-publish the commandlinefu content.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4