Commit Graph

5604 Commits

Author SHA1 Message Date
Smosker
ac6d64168f Fix a bug
Should add return to double_numbers function, without it next expression wiil fall with "TypeError: 'NoneType' object is not iterable" error
for value in double_numbers(range(1000000)):  # `test_non_generator`
    print value
    if value > 5:
        break
2016-11-15 16:10:56 +04:00
Samantha McVey
809e5d20a9
Remove checkboxes and make a helpful suggestion to submit a pull request to fix issues if the person is willing and able 2016-11-13 23:15:34 -08:00
Samantha McVey
fa83a136d0
Add issue template 2016-11-13 23:07:52 -08:00
Jürgen Hötzel
dcfbeeb614 [fsharp/en] Use "elif" (#2566) 2016-11-12 18:29:18 +01:00
Kyle Rokita
a19efad7fc Added nil-coalescing operator 2016-11-11 16:12:13 -08:00
Andre Polykanine A.K.A. Menelion Elensúlë
d70ad72219 Merge pull request #2528 from slukovskiy/vim-translate-edits
[vim/ru] Change some text markup, fix broken link and quotes
2016-11-12 00:11:00 +02:00
Samantha McVey
ae1d18ad91
[yaml/en] Fix #2558 1 is interpreted as a number not as a boolean. For a boolean use we use true 2016-11-11 13:34:19 -08:00
Matt Doherty
0804650a9a series of fixes and improvements (#2563) 2016-11-10 13:47:02 +01:00
Samantha McVey
94787745d5
Add another checkbox to pull request template form 2016-11-10 03:01:11 -08:00
Samantha McVey
2a9487c840
Add about 3/4 of the languages to gitattributes 2016-11-10 02:56:48 -08:00
Abraham Toriz Cruz
2b6d022c9d useful tip for saving a buffer as sudo (#2405) 2016-11-10 11:17:20 +01:00
samcv
b5411e18b3 Merge pull request #2552 from robochat/red_line_length
[red/en] changing the formatting of comments so that lines are always <80chars.
2016-11-10 00:48:48 -08:00
Samantha McVey
932804c08c
Add some gitattributes so GitHub categorizes languages of this project (not complete yet) 2016-11-10 00:38:13 -08:00
Samantha McVey
f53e89f7cb
Fix missing parenthesis 2016-11-09 22:31:46 -08:00
Samantha McVey
d55180ff11
Make build status a link 2016-11-09 22:30:41 -08:00
Adam Bard
5204594edf Merge pull request #2562 from adambard/upstream
Update rakefile so that it will return an exit code of 1 if there is …
2016-11-09 22:21:21 -08:00
Samantha McVey
bb5e514321
Update rakefile so that it will return an exit code of 1 if there is a failure (Travis CI needs this). Make ISO-8859* encoding detections notices not failures 2016-11-09 22:15:03 -08:00
Adam
03980b63c7 Fix encoding test, then make tests actually fail. 2016-11-09 22:10:35 -08:00
Adam Bard
1d494a6346 Update README.markdown 2016-11-09 21:52:17 -08:00
Adam Bard
36f46947b8 Update README.markdown 2016-11-09 21:52:07 -08:00
Adam Bard
f5f8bc75ad Merge pull request #2561 from samcv/Travis-CI
Add support for checking YAML validity using Travis CI
2016-11-09 21:50:26 -08:00
Samantha McVey
0a0acadf06
Add rubygems.org as gem source so Travis CI can use charlock_holmes 2016-11-09 21:02:04 -08:00
Samantha McVey
70d6977ccc
Use charlock_holmes to do encoding detection. In my tests it has properly identified incorrect encodings that used to be present on older commits. This will help ensure this won't happen again, giving people instant feedback and allowing all pull requests to be checked 2016-11-09 20:57:13 -08:00
Samantha McVey
58ffb4057f
Add UTF-8 check test 2016-11-09 20:24:10 -08:00
Samantha McVey
4241d44de8
Add support for checking YAML validity using Travis CI 2016-11-09 18:06:38 -08:00
Foo Chuan Wei
e837e25a70 [python3/en] Edit python3 division (#2560)
The result of division is always a float.
e.g. 
35/5 = 7.0
10 / 3  = 3.3333333333333335
10.0 / 3  = 3.3333333333333335
10 / 3.0  = 3.3333333333333335
2016-11-09 19:16:06 +01:00
Matt Doherty
6b770a3e5f minor typos and corrections (#2559) 2016-11-09 15:52:47 +01:00
ven
8b4313d26b Update wolfram-es.html.markdown 2016-11-07 22:43:29 +01:00
Daniel Caballero
85a3b44613 Translate to Spanish Wolfram.html.markdown (#2556) 2016-11-07 22:42:56 +01:00
peterszatmary
f9fc5c3b40 Translation fixes. (#2557) 2016-11-05 16:10:14 +01:00
Matt Doherty
fe5a751c42 fixed a typo and a broken external link (#2554) 2016-11-02 11:34:31 +01:00
robochat
e52cfdfde5 [html/en] small correction to english (#2553) 2016-11-01 17:05:01 +01:00
robochat
3e7394b796 [red/en] changing the formatting of comments so that lines are always less than 80 characters. 2016-11-01 10:38:47 +01:00
Hatsuney
e5416f2a34 [vim/pl] fixed a typo (#2551) 2016-11-01 02:24:51 +01:00
Adam Bobowski
844efb460f [vim/pl] Tutorial translation to Polish language (#2544)
* Added vim tutorial translation to Polish language

* Fixed spelling errors
2016-11-01 02:18:11 +01:00
LanaTim
70db79b2ba [html/ru] (#2535)
* DTD Compatibility and XML Schema Definitions

DTD Compatibility and XML Schema Definitions

* [html/ru]

@ToDo translate html example

* Update html-ru.html.markdown

* Update html-ru.html.markdown

* [html/ru] update page

[html/ru] update page

* хъ

* [html/ru]

[html/ru] edited part of html ru page.

* [html/ru] update translations

[html/ru] update translations

* [html/ru]

finish translate html

* [html/ru] edit links

edit links
2016-10-31 18:08:50 +01:00
Leonid Shevtsov
5f9d8fe4e0 [go] added practical examples for the underscore (#2414)
* go: added practical examples for the underscore

* Example of using underscore to discard the error
* Example of using underscore to loop over values of a slice
* Incidentally, example of writing to a file

* go: Adjust justification for ignoring error value
2016-10-31 18:08:32 +01:00
Geoff Liu
092b7a69b1 Merge pull request #2549 from vra/master
[ruby/zh-cn]fix a typo
2016-10-31 10:53:04 -04:00
Yunfeng Wang
da31b7080c fix typo
`查询一个不存在地键将会返回nil` ->`查询一个不存在的键将会返回nil`
2016-10-31 19:55:48 +08:00
Nasgul
43ce42005e [php/ru] Add magic constants (#2520)
* Delete unnecessary line on english.

Delete unnecessary line on english.

* Update examples

add new io and func requestServer

* Update go-ru.html.markdown

* Add Late Static Binding

Add Late Static Binding

* Add magic constants

Add magic constants

* Update php-ru.html.markdown

* Update php-ru.html.markdown

* Error Handling

Error Handling

* [php/ru] edit my changes with 80 symbols in line rule.

* [php/ru] add removed part from array.
2016-10-31 11:56:41 +01:00
Nikolas Silva
b7eb4ad1ac [jQuery/pt-br] Add jQuery pt-br translation (#2532) 2016-10-31 07:49:39 +01:00
Geoff Liu
bf59fb4a4a Merge pull request #2541 from yihongang/matlab_blogs
Add new reading resources on MATLAB
2016-10-30 23:43:17 -04:00
Geoff Liu
d4fe440119 Merge pull request #2546 from amrue/scala-en
[scala/en] Fixed confusing typo
2016-10-30 23:36:38 -04:00
Geoff Liu
db4b2ed6bb Merge pull request #2547 from amrue/powershell-en
[Powershell/en] Fixed a few spelling errors
2016-10-30 23:35:25 -04:00
Geoff Liu
92561f8971 Merge pull request #2545 from amrue/css-en
[css/en] Fixed small typo
2016-10-30 23:35:08 -04:00
Geoff Liu
66f2062b09 Merge pull request #2548 from amrue/chicken-en
[CHICKEN/en] Corrected small spelling error
2016-10-30 23:34:16 -04:00
Amru Eliwat
28a62c0d3c Corrected small spelling error 2016-10-30 22:57:39 -04:00
Amru Eliwat
87cb771547 Changed spelling of 'favourite' to use US english 2016-10-30 22:54:18 -04:00
Amru Eliwat
8e51d5b5c2 Fixed a few spelling errors 2016-10-30 22:51:19 -04:00
Yi Hong Ang
9ca9e466a7 Add new reading resources on MATLAB 2016-10-31 10:47:59 +08:00