小小图灵社 Little Turings

让更多人爱上编程 Create more love with programming


Project maintained by littleturings Hosted on GitHub Pages

加入我们 How to join

• 詹有丘 Ulysses

首先,你需要联系我们。我们会让你成为小小图灵社的GitHub组织的一员。
First, you need to contact us. We will make you member of GitHub organization of Little Turings.

然后,在你的计算机上克隆此站点(你将需要用到Git):
Then, clone this site on your computer (you should use Git):

git clone https://github.com/littleturings/littleturings.github.io.git

发布一则帖子宣布你的加入。如果你熟悉Git和命令行的话,这将只需要烧一壶水的时间。在命令行运行:
Create a post to announce your joining. If you are familiar with Git and command line, it will take no more than the time required to boil a pot of water. Run on command line:

cd littleturings.github.io
touch _posts/YYYY-MM-DD-NAME.md

其中YYYY-MM-DD是日期,NAME是你的英文名(小写)。
where YYYY-MM-DD is the date, and NAME is your English name (lower case).

现在你创建了一个文件。用纯文本编辑器打开它,填入这样的内容:
Now you have created a file. Open it with a text editor, and write:

---
layout: post
title: 新成员NAME_CN New member NAME_EN
date: YYYY-MM-DD
author: NAME_CN NAME_EN
---

...

其中NAME_CN是你的中文名,NAME_EN是你的英文名(首字母大写),YYYY-MM-DD是日期,...是新帖子的正文,你可以填入任何内容(使用Markdown语法)。正文中的内容最好是中英双语的,中文和英文之间用<br/>分隔。两个自然段之间间隔一个空行。
where NAME_CN is your Chinese name, NAME_EN is your English name (whose initial is capitalized), and ... is the main contents (in Markdown syntax). You had better write the main contents in both Chinese and English, with <br/> separating Chinese part and English part. There should be empty lines between paragraphs.

例如,在文件2020-01-01-jack.md中写道:
For example, in file 2020-01-01-jack.md:

---
layout: post
title: 新成员张三 New member Jack
date: 2020-01-01
author: 张三 Jack
---

大家好,我是张三。很高兴来到这里。<br/>
Hello. My name is Jack. I am glad to be here.

我希望能和大家一起交流编程问题。<br/>
I want to discuss problems about programmes with you.

写完之后,发布它:
After you finish writing, publish it:

git pull
git add **/*
git commit -m "MESSAGE"
git push -u origin master

其中MESSAGE是你的提交信息。建议填写New member NAME,其中NAME是你的名字。你会被要求登录GitHub。
where MESSAGE is the commit message, which is recommended to be New memeber NAME, where NAME is your name. You will be required to login GitHub.

如果顺利的话,几秒后访问主页,你将顺利地看到你刚刚发布的帖子。
If everything goes well, visit the home page a few seconds later, and you will see the post you have just published.