Skip to content

Commit

Permalink
Fix: prepare.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chinanf-boy committed Nov 17, 2018
1 parent 9fddaef commit beeee95
Show file tree
Hide file tree
Showing 13 changed files with 89 additions and 562 deletions.
58 changes: 2 additions & 56 deletions exercises/beer-song/README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,60 +316,6 @@ Go to the store and buy some more, 99 bottles of beer on the wall.

那么请在提交的评论中,分享您的想法.这个实验是否让代码更好? 更差?你从中学到了什么?

## Rust装置
## Source

参考[我们的帮助页面][help-page]的Rust安装和学习资源.

## 编写代码

用下列方法执行测试:

```bash
$ cargo test
```

除了第一次测试外,所有的测试都被忽略了。在获得第一个测试通过后,打开位于`tests`目录和,在下一个测试标志删除`#[ignore]`,并使测试再次通过。每个单独的测试都是一个函数.`#[test]`标志在上面。继续,直到你通过每一个测试.

如果希望在不编辑测试源文件的情况下,运行所有测试,请使用:

```bash
$ cargo test -- --ignored
```

运行特定的测试,例如`some_test`,您可以使用:

```bash
$ cargo test some_test
```

如果忽略特定测试,则使用:

```bash
$ cargo test some_test -- --ignored
```

要了解有关Rust测试的更多信息,请参阅[在线测试文档][rust-tests]

如果你还没有,请务必阅读[Modules](https://doc.rust-lang.org/book/2018-edition/ch07-00-modules.html)章节,它将帮助你组织你的文件.

## 反馈、提问、拉取请求

这个[exercism/rust](https://github.com/exercism/rust)在Github上的储存库是所有Rust演习的所在地。如果你有关于锻炼的反馈,或者想帮助建立新的练习,就去那里创造一个问题.rust track 团队的队员们很乐意帮忙!

如果你想了解更多关于exercism.io的知识,请看一下[contribution guide](https://github.com/exercism/docs/blob/master/contributing-to-language-tracks/README.md).

[help-page]: https://exercism.io/tracks/rust/learning

[modules]: https://doc.rust-lang.org/book/2018-edition/ch07-00-modules.html

[cargo]: https://doc.rust-lang.org/book/2018-edition/ch14-00-more-about-cargo.html

[rust-tests]: https://doc.rust-lang.org/book/2018-edition/ch11-02-running-tests.html

## 资源

这是一个介绍使用者,使用Exercism进行练习.<http://en.wikipedia.org/wiki/%22Hello,_world!%22_program>

## 提交不完全解法

有可能提交一个不完整的解决方案,这样你就可以看到其他人是如何完成练习的.
Learn to Program by Chris Pine [http://pine.fm/LearnToProgram/?Chapter=06](http://pine.fm/LearnToProgram/?Chapter=06)
58 changes: 2 additions & 56 deletions exercises/bob/README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,60 +14,6 @@

鲍勃的对话伙伴,在书面交流方面是一个纯粹主义者,并且总是遵循关于 *英语句子标点* 的通用规则.

## Rust装置
## Source

参考[我们的帮助页面][help-page]的Rust安装和学习资源.

## 编写代码

用下列方法执行测试:

```bash
$ cargo test
```

除了第一次测试外,所有的测试都被忽略了。在获得第一个测试通过后,打开位于`tests`目录和,在下一个测试标志删除`#[ignore]`,并使测试再次通过。每个单独的测试都是一个函数.`#[test]`标志在上面。继续,直到你通过每一个测试.

如果希望在不编辑测试源文件的情况下,运行所有测试,请使用:

```bash
$ cargo test -- --ignored
```

运行特定的测试,例如`some_test`,您可以使用:

```bash
$ cargo test some_test
```

如果忽略特定测试,则使用:

```bash
$ cargo test some_test -- --ignored
```

要了解有关Rust测试的更多信息,请参阅[在线测试文档][rust-tests]

如果你还没有,请务必阅读[Modules](https://doc.rust-lang.org/book/2018-edition/ch07-00-modules.html)章节,它将帮助你组织你的文件.

## 反馈、提问、拉取请求

这个[exercism/rust](https://github.com/exercism/rust)在Github上的储存库是所有Rust演习的所在地。如果你有关于锻炼的反馈,或者想帮助建立新的练习,就去那里创造一个问题.rust track 团队的队员们很乐意帮忙!

如果你想了解更多关于exercism.io的知识,请看一下[contribution guide](https://github.com/exercism/docs/blob/master/contributing-to-language-tracks/README.md).

[help-page]: https://exercism.io/tracks/rust/learning

[modules]: https://doc.rust-lang.org/book/2018-edition/ch07-00-modules.html

[cargo]: https://doc.rust-lang.org/book/2018-edition/ch14-00-more-about-cargo.html

[rust-tests]: https://doc.rust-lang.org/book/2018-edition/ch11-02-running-tests.html

## 资源

这是一个介绍使用者,使用Exercism进行练习.<http://en.wikipedia.org/wiki/%22Hello,_world!%22_program>

## 提交不完全解法

有可能提交一个不完整的解决方案,这样你就可以看到其他人是如何完成练习的.
Inspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial. [http://pine.fm/LearnToProgram/?Chapter=06](http://pine.fm/LearnToProgram/?Chapter=06)
58 changes: 2 additions & 56 deletions exercises/difference-of-squares/README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,60 +16,6 @@

- `3025 - 385 = 2640.`

## Rust装置
## Source

参考[我们的帮助页面][help-page]的Rust安装和学习资源.

## 编写代码

用下列方法执行测试:

```bash
$ cargo test
```

除了第一次测试外,所有的测试都被忽略了。在获得第一个测试通过后,打开位于`tests`目录和,在下一个测试标志删除`#[ignore]`,并使测试再次通过。每个单独的测试都是一个函数.`#[test]`标志在上面。继续,直到你通过每一个测试.

如果希望在不编辑测试源文件的情况下,运行所有测试,请使用:

```bash
$ cargo test -- --ignored
```

运行特定的测试,例如`some_test`,您可以使用:

```bash
$ cargo test some_test
```

如果忽略特定测试,则使用:

```bash
$ cargo test some_test -- --ignored
```

要了解有关Rust测试的更多信息,请参阅[在线测试文档][rust-tests]

如果你还没有,请务必阅读[Modules](https://doc.rust-lang.org/book/2018-edition/ch07-00-modules.html)章节,它将帮助你组织你的文件.

## 反馈、提问、拉取请求

这个[exercism/rust](https://github.com/exercism/rust)在Github上的储存库是所有Rust演习的所在地。如果你有关于锻炼的反馈,或者想帮助建立新的练习,就去那里创造一个问题.rust track 团队的队员们很乐意帮忙!

如果你想了解更多关于exercism.io的知识,请看一下[contribution guide](https://github.com/exercism/docs/blob/master/contributing-to-language-tracks/README.md).

[help-page]: https://exercism.io/tracks/rust/learning

[modules]: https://doc.rust-lang.org/book/2018-edition/ch07-00-modules.html

[cargo]: https://doc.rust-lang.org/book/2018-edition/ch14-00-more-about-cargo.html

[rust-tests]: https://doc.rust-lang.org/book/2018-edition/ch11-02-running-tests.html

## 资源

这是一个介绍使用者,使用Exercism进行练习.<http://en.wikipedia.org/wiki/%22Hello,_world!%22_program>

## 提交不完全解法

有可能提交一个不完整的解决方案,这样你就可以看到其他人是如何完成练习的.
Problem 6 at Project Euler [http://projecteuler.net/problem=6](http://projecteuler.net/problem=6)
58 changes: 2 additions & 56 deletions exercises/gigasecond/README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,60 +6,6 @@

如果您不确定`DateTime<Utc>`可以执行哪些操作,看看[chrono crate](https://docs.rs/chrono/0.4.0/chrono/) - 它在`Cargo.toml`,被列为本练习的一个依赖项.

## Rust装置
## Source

参考[练习帮助页面][help-page]用于Rust安装和学习资源.

## 编写代码

用下列方法执行测试:

```bash
$ cargo test
```

除了第一次测试外,所有的测试都被忽略了。在获得第一个测试通过后,打开位于`tests`目录和,在下一个测试标志删除`#[ignore]`,并使测试再次通过。每个单独的测试都是一个函数.`#[test]`标志在上面。继续,直到你通过每一个测试.

如果希望在不编辑测试源文件的情况下,运行所有测试,请使用:

```bash
$ cargo test -- --ignored
```

运行特定的测试,例如`some_test`,您可以使用:

```bash
$ cargo test some_test
```

如果忽略特定测试,则使用:

```bash
$ cargo test some_test -- --ignored
```

要了解有关Rust测试的更多信息,请参阅[在线测试文档][rust-tests]

如果你还没有,请务必阅读[Modules](https://doc.rust-lang.org/book/2018-edition/ch07-00-modules.html)章节,它将帮助你组织你的文件.

## 反馈、提问、拉取请求

这个[exercism/rust](https://github.com/exercism/rust)在Github上的储存库是所有Rust演习的所在地。如果你有关于锻炼的反馈,或者想帮助建立新的练习,就去那里创造一个问题.rust track 团队的队员们很乐意帮忙!

如果你想了解更多关于exercism.io的知识,请看一下[contribution guide](https://github.com/exercism/docs/blob/master/contributing-to-language-tracks/README.md).

[help-page]: https://exercism.io/tracks/rust/learning

[modules]: https://doc.rust-lang.org/book/2018-edition/ch07-00-modules.html

[cargo]: https://doc.rust-lang.org/book/2018-edition/ch14-00-more-about-cargo.html

[rust-tests]: https://doc.rust-lang.org/book/2018-edition/ch11-02-running-tests.html

## 资源

这是一个介绍使用者,使用Exercism进行练习.<http://en.wikipedia.org/wiki/%22Hello,_world!%22_program>

## 提交不完全解法

有可能提交一个不完整的解决方案,这样你就可以看到其他人是如何完成练习的.
Chapter 9 in Chris Pine's online Learn to Program tutorial. [http://pine.fm/LearnToProgram/?Chapter=09](http://pine.fm/LearnToProgram/?Chapter=09)
58 changes: 2 additions & 56 deletions exercises/hello-world/README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

经典的介绍性练习.只要说"Hello, World!".

- [x] 如有需要请看[小小入门](./GETTING_STARTED.zh.md)
- 如有需要请看[小小的入门](./GETTING_STARTED.zh.md)

["Hello, World!"](http://en.wikipedia.org/wiki/%22Hello,_world!%22_program)是在新的语言或环境中开始编程的第一个程序的传统.

Expand All @@ -14,60 +14,6 @@

如果一切顺利,你将准备好进行第一次真正的锻炼.

## Rust装置

参考[练习帮助页面][help-page]用于Rust安装和学习资源.

## 编写代码

用下列方法执行测试:

```bash
$ cargo test
```

除了第一次测试外,所有的测试都被忽略了。在获得第一个测试通过后,打开位于`tests`目录和,在下一个测试标志删除`#[ignore]`,并使测试再次通过。每个单独的测试都是一个函数.`#[test]`标志在上面。继续,直到你通过每一个测试.

如果希望在不编辑测试源文件的情况下,运行所有测试,请使用:

```bash
$ cargo test -- --ignored
```

运行特定的测试,例如`some_test`,您可以使用:

```bash
$ cargo test some_test
```

如果忽略特定测试,则使用:

```bash
$ cargo test some_test -- --ignored
```

要了解有关Rust测试的更多信息,请参阅[在线测试文档][rust-tests]

如果你还没有,请务必阅读[Modules](https://doc.rust-lang.org/book/2018-edition/ch07-00-modules.html)章节,它将帮助你组织你的文件.

## 反馈、提问、拉取请求

这个[exercism/rust](https://github.com/exercism/rust)在Github上的储存库是所有Rust演习的所在地。如果你有关于锻炼的反馈,或者想帮助建立新的练习,就去那里创造一个问题.rust track 团队的队员们很乐意帮忙!

如果你想了解更多关于exercism.io的知识,请看一下[contribution guide](https://github.com/exercism/docs/blob/master/contributing-to-language-tracks/README.md).

[help-page]: https://exercism.io/tracks/rust/learning

[modules]: https://doc.rust-lang.org/book/2018-edition/ch07-00-modules.html

[cargo]: https://doc.rust-lang.org/book/2018-edition/ch14-00-more-about-cargo.html

[rust-tests]: https://doc.rust-lang.org/book/2018-edition/ch11-02-running-tests.html

## 资源

这是一个介绍<http://en.wikipedia.org/wiki/%22Hello,_world!%22_program>使用者,使用Exercism进行练习.

## 提交不完全解法

有可能提交一个不完整的解决方案,这样你就可以看到其他人是如何完成练习的.
这是一个介绍<http://en.wikipedia.org/wiki/%22Hello,_world!%22_program>使用者,使用Exercism进行练习.
58 changes: 2 additions & 56 deletions exercises/leap/README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,60 +26,6 @@ on every year that is evenly divisible by 4
[video]: http://www.youtube.com/watch?v=xX96xng7sAE

## Rust装置
## Source

参考[练习帮助页面][help-page]的Rust安装和学习资源.

## 编写代码

用下列方法执行测试:

```bash
$ cargo test
```

除了第一次测试外,所有的测试都被忽略了。在获得第一个测试通过后,打开位于`tests`目录和,在下一个测试标志删除`#[ignore]`,并使测试再次通过。每个单独的测试都是一个函数.`#[test]`标志在上面。继续,直到你通过每一个测试.

如果希望在不编辑测试源文件的情况下,运行所有测试,请使用:

```bash
$ cargo test -- --ignored
```

运行特定的测试,例如`some_test`,您可以使用:

```bash
$ cargo test some_test
```

如果忽略特定测试,则使用:

```bash
$ cargo test some_test -- --ignored
```

要了解有关Rust测试的更多信息,请参阅[在线测试文档][rust-tests]

如果你还没有,请务必阅读[Modules](https://doc.rust-lang.org/book/2018-edition/ch07-00-modules.html)章节,它将帮助你组织你的文件.

## 反馈、提问、拉取请求

这个[exercism/rust](https://github.com/exercism/rust)在Github上的储存库是所有Rust演习的所在地。如果你有关于锻炼的反馈,或者想帮助建立新的练习,就去那里创造一个问题.rust track 团队的队员们很乐意帮忙!

如果你想了解更多关于exercism.io的知识,请看一下[contribution guide](https://github.com/exercism/docs/blob/master/contributing-to-language-tracks/README.md).

[help-page]: https://exercism.io/tracks/rust/learning

[modules]: https://doc.rust-lang.org/book/2018-edition/ch07-00-modules.html

[cargo]: https://doc.rust-lang.org/book/2018-edition/ch14-00-more-about-cargo.html

[rust-tests]: https://doc.rust-lang.org/book/2018-edition/ch11-02-running-tests.html

## 资源

这是一个介绍使用者,使用Exercism进行练习.<http://en.wikipedia.org/wiki/%22Hello,_world!%22_program>

## 提交不完全解法

有可能提交一个不完整的解决方案,这样你就可以看到其他人是如何完成练习的.
JavaRanch Cattle Drive, exercise 3 [http://www.javaranch.com/leap.jsp](http://www.javaranch.com/leap.jsp)
Loading

0 comments on commit beeee95

Please sign in to comment.