diff options
| -rw-r--r-- | de-de/LOLCODE-de.html.markdown | 2 | ||||
| -rw-r--r-- | html.html.markdown | 2 | ||||
| -rw-r--r-- | nix.html.markdown | 5 | ||||
| -rw-r--r-- | nl-nl/bash-nl.html.markdown | 16 | ||||
| -rw-r--r-- | python3.html.markdown | 10 | ||||
| -rw-r--r-- | zh-cn/typescript-cn.html.markdown | 2 | 
6 files changed, 19 insertions, 18 deletions
| diff --git a/de-de/LOLCODE-de.html.markdown b/de-de/LOLCODE-de.html.markdown index 155c5657..57eb0ff8 100644 --- a/de-de/LOLCODE-de.html.markdown +++ b/de-de/LOLCODE-de.html.markdown @@ -1,6 +1,6 @@  ---  language: LOLCODE -filename: learnLOLCODE.lol +filename: learnLOLCODE-de.lol  contributors:      - ["abactel", "https://github.com/abactel"]  translators: diff --git a/html.html.markdown b/html.html.markdown index 6516e5dd..04b9f501 100644 --- a/html.html.markdown +++ b/html.html.markdown @@ -1,6 +1,6 @@  ---  language: html -filename: learnhtml.html +filename: learnhtml.txt  contributors:      - ["Christophe THOMAS", "https://github.com/WinChris"]  translators: diff --git a/nix.html.markdown b/nix.html.markdown index ba122a46..d078395a 100644 --- a/nix.html.markdown +++ b/nix.html.markdown @@ -3,6 +3,7 @@ language: nix  filename: learn.nix  contributors:      - ["Chris Martin", "http://chris-martin.org/"] +    - ["Rommel Martinez", "https://ebzzry.io"]  ---  Nix is a simple functional language developed for the @@ -356,5 +357,5 @@ with builtins; [  * [James Fisher - Nix by example - Part 1: The Nix expression language]    (https://medium.com/@MrJamesFisher/nix-by-example-a0063a1a4c55) -* [Susan Potter - Nix Cookbook - Nix By Example] -  (http://funops.co/nix-cookbook/nix-by-example/) +* [Rommel Martinez - A Gentle Introduction to the Nix Family] +  (https://ebzzry.io/en/nix/#nix) diff --git a/nl-nl/bash-nl.html.markdown b/nl-nl/bash-nl.html.markdown index da47e2a9..af4a8cc8 100644 --- a/nl-nl/bash-nl.html.markdown +++ b/nl-nl/bash-nl.html.markdown @@ -17,8 +17,8 @@ lang: nl-nl  filename: LearnBash-nl.sh  --- -Bash is de naam van den unix shell, deze wordt gebruikt voor het GNU operating system en is de standaard shell op Linux en Mac OS X. -Bijna alle voorbeelden hier onder kunnen deel uitmaken van een shell script of kunnen uitgevoerd worden in de shell. +Bash is de naam van de unix shell, deze wordt gebruikt voor het GNU operating system en is de standaard shell op Linux en Mac OS X. +Bijna alle voorbeelden hieronder kunnen deel uitmaken van een shell script of kunnen uitgevoerd worden in de shell.  [Lees er meer over hier.](http://www.gnu.org/software/bash/manual/bashref.html) @@ -28,23 +28,23 @@ Bijna alle voorbeelden hier onder kunnen deel uitmaken van een shell script of k  # het script uitgevoerd moet worden: http://en.wikipedia.org/wiki/Shebang_(Unix)  # Zoals je kan zien wordt # gebruikt om een commentaar lijn te starten. -# Simpel hello world voorbeeld: +# Een simpel hello world voorbeeld:  echo Hello world! -# Elke command start op een nieuwe lijn, of achter een puntkomma (;): +# Elk commando start op een nieuwe lijn, of achter een puntkomma (;):  echo 'Dit is de eerste lijn'; echo 'Dit is de tweede lijn' -# Een varialbe declareren gebeurt op volgende manier: +# Een variabele declareren gebeurt op volgende manier:  Variabele="Een string"  # Maar niet op deze manier:  Variabele = "Een string" -# Bash ziet variable als een commando en zal een error geven omdat dit commando +# Bash ziet variabelen als een commando en zal een error geven omdat dit commando  # niet bestaat.  # Of op deze manier:  Variabele= 'Een string' -# Bash zal 'Een string' zien als een commanda en een error geven omdat het niet +# Bash zal 'Een string' zien als een commando en een error geven omdat het niet  # gevonden kan worden.  # Variabelen gebruiken: @@ -83,7 +83,7 @@ echo "Wat is uw naam?"  read Naam # Merk op dat we geen variabele gedeclareerd hebben  echo Hallo, $Naam! -# We hebben ook if structuren +# We hebben ook logische if structuren  # Gebruik 'man test' voor meer informatie over condities.  if [ $Naam -ne $USER ]  then diff --git a/python3.html.markdown b/python3.html.markdown index b0f04a02..019934cb 100644 --- a/python3.html.markdown +++ b/python3.html.markdown @@ -790,11 +790,11 @@ class Superhero(Human):          # This calls the parent class constructor:          super().__init__(name) -    # overload the sing method +    # override the sing method      def sing(self):          return 'Dun, dun, DUN!' -    # add an additional class method +    # add an additional instance method      def boast(self):          for power in self.superpowers:              print("I wield the power of {pow}!".format(pow=power)) @@ -817,7 +817,7 @@ if __name__ == '__main__':      # Calls parent method but uses its own class attribute      print(sup.get_species())    # => Superhuman -    # Calls overloaded method +    # Calls overridden method      print(sup.sing())           # => Dun, dun, DUN!      # Calls method from Human @@ -872,7 +872,7 @@ class Batman(Superhero, Bat):      def __init__(self, *args, **kwargs):          # Typically to inherit attributes you have to call super: -        #super(Batman, self).__init__(*args, **kwargs)       +        # super(Batman, self).__init__(*args, **kwargs)                # However we are dealing with multiple inheritance here, and super()          # only works with the next base class in the MRO list.          # So instead we explicitly call __init__ for all ancestors. @@ -901,7 +901,7 @@ if __name__ == '__main__':      # Calls parent method but uses its own class attribute      print(sup.get_species())    # => Superhuman -    # Calls overloaded method +    # Calls overridden method      print(sup.sing())           # => nan nan nan nan nan batman!      # Calls method from Human, because inheritance order matters diff --git a/zh-cn/typescript-cn.html.markdown b/zh-cn/typescript-cn.html.markdown index 2651b1cb..032f89e4 100644 --- a/zh-cn/typescript-cn.html.markdown +++ b/zh-cn/typescript-cn.html.markdown @@ -153,7 +153,7 @@ var pairToTuple = function<T>(p: Pair<T>) {  var tuple = pairToTuple({ item1:"hello", item2:"world"});  // 引用定义文件 -// <reference path="jquery.d.ts" /> +/// <reference path="jquery.d.ts" />  // 模板字符串(使用反引号的字符串)  // 嵌入变量的模板字符串 | 
