Compare commits

..

1 Commits

Author SHA1 Message Date
Alex Hansen
3643db4e3e
Merge 8d56eaac00 into 572827b39f 2024-11-12 11:36:11 -08:00
33 changed files with 52 additions and 56 deletions

View File

@ -1,7 +1,7 @@
---
language: HTML
lang: ar-ar
filename: learnhtml-tf.txt
filename: learnhtml-tf.html
contributors:
- ["Christophe THOMAS", "https://github.com/WinChris"]
translators:

View File

@ -1,6 +1,6 @@
---
language: HTML
filename: html-ca.txt
filename: html-ca.md
contributors:
- ["Christophe THOMAS", "https://github.com/WinChris"]
translators:

View File

@ -1,6 +1,6 @@
---
language: HQ9+
filename: hq9+-de.txt
filename: hq9+-de.html
contributors:
- ["Alexey Nazaroff", "https://github.com/rogaven"]
translators:

View File

@ -4,7 +4,7 @@ contributors:
- ["Christophe THOMAS", "https://github.com/WinChris"]
translators:
- ["Dennis Keller", "https://github.com/denniskeller"]
filename: learnhtml-de.txt
filename: learnhtml-de.html
lang: de-de
---

View File

@ -6,6 +6,7 @@ contributors:
- ["Divay Prakash", "https://github.com/divayprakash"]
translators:
- ["caminsha", "https://github.com/caminsha"]
filename: processing-de.md
lang: de-de
---

View File

@ -1,6 +1,6 @@
---
category: framework
filename: learnshutit-de.py
filename: learnshutit-de.html
framework: ShutIt
contributors:
- ["Ian Miell", "http://ian.meirionconsulting.tk"]

View File

@ -2,7 +2,7 @@
language: CSS
contributors:
- ["Kostas Bariotis", "http://kostasbariotis.com"]
filename: css-gr.css
filename: css-gr.html.markdown
lang: el-gr
---

View File

@ -1,6 +1,6 @@
---
language: HTML
filename: learnhtml-gr.txt
filename: learnhtml-gr.html
contributors:
- ["Dimitri Kokkonis", "https://github.com/kokkonisd"]
lang: el-gr

View File

@ -1,6 +1,6 @@
---
language: JSON
filename: json-gr.json
filename: json-gr.html.markdown
contributors:
- ["Anna Harren", "https://github.com/iirelu"]
- ["Marco Scannadinari", "https://github.com/marcoms"]

View File

@ -4,7 +4,7 @@ contributors:
- ["Joao Pedrosa", "https://github.com/jpedrosa/"]
translators:
- ["Jorge Antonio Atempa", "http://www.twitter.com/atempa09"]
filename: dart-es.dart
filename: dart-es.md
lang: es-es
---

View File

@ -5,7 +5,7 @@ contributors:
translators:
- ["Jhoon Saravia", "https://github.com/jhoon"]
lang: es-es
filename: groovy-es.groovy
filename: groovy-es.html
---
Groovy - Un lenguaje dinámico para la plataforma Java. [Leer más aquí](http://www.groovy-lang.org/).

View File

@ -4,7 +4,7 @@ contributors:
- ["Adit Bhargava", "http://adit.io"]
translators:
- ["Jorge Antonio Atempa", "http://www.twitter.com/atempa09"]
filename: haskell-es.hs
filename: haskell-es.md
lang: es-es
---

View File

@ -1,6 +1,6 @@
---
language: HQ9+
filename: hq9+-es.txt
filename: hq9+-es.html
contributors:
- ["Alexey Nazaroff", "https://github.com/rogaven"]
translators:

View File

@ -1,6 +1,6 @@
---
language: HTML
filename: learnhtml-es.txt
filename: learnhtml-es.html
contributors:
- ["Christophe THOMAS", "https://github.com/WinChris"]
translators:

View File

@ -3,7 +3,7 @@ language: Wolfram
lang: es-es
contributors:
- ["Daniel Caballero", "http://github.com/danielcaballero796/"]
filename: learnwolfram-es.nb
filename: learnwolfram-es.md
---
Wolfram es un lenguaje subyacente originalmente utilizado en Mathematica, pero ahora esta disponible para su uso en múltiples contextos.

View File

@ -1,6 +1,6 @@
---
language: HTML
filename: learnhtml-fr.txt
filename: learnhtml-fr.html
contributors:
- ["Christophe THOMAS", "https://github.com/WinChris"]
lang: fr-fr

View File

@ -1,6 +1,6 @@
---
language: HTML
filename: learnhtml-he.txt
filename: learnhtml-he.html
contributors:
- ['Christophe THOMAS', 'https://github.com/WinChris']
translators:

View File

@ -1,6 +1,6 @@
---
language: HQ9+
filename: hq9+.txt
filename: hq9+.html
contributors:
- ["Alexey Nazaroff", "https://github.com/rogaven"]
---

View File

@ -1,6 +1,6 @@
---
language: HQ9+
filename: hq9+-id.txt
filename: hq9+-id.html
contributors:
- ["Alexey Nazaroff", "https://github.com/rogaven"]
translators:

View File

@ -1,6 +1,6 @@
---
language: reStructuredText (RST)
filename: rst-id.rst
filename: rst-id.html
contributors:
- ["DamienVGN", "https://github.com/martin-damien"]
- ["Andre Polykanine", "https://github.com/Oire"]

View File

@ -3,7 +3,7 @@ language: Rust
contributors:
- ["Carlo Milanesi", "http://github.com/carlomilanesi"]
lang: it-it
filename: rust-it.rs
filename: rust-it.html.markdown
---
Rust è un linguaggio di programmazione sviluppato da Mozilla Research.

View File

@ -225,7 +225,7 @@ public class LearnJava {
String fooString = "My String Is Here!";
// Text blocks
var textBlock = """
vat textBlock = """
This is a <Text Block> in Java
""";

View File

@ -1,6 +1,6 @@
---
language: HTML
filename: learnhtml-nl.txt
filename: learnhtml-nl.html
contributors:
- ["Christophe THOMAS", "https://github.com/WinChris"]
translators:

View File

@ -5,7 +5,7 @@ contributors:
- ["Mathias Bynens", "http://mathiasbynens.be/"]
translators:
- ["Petru Dimitriu", "http://petru-dimitriu.github.io"]
filename: bf-ro.bf
filename: bf-ro.html
lang: ro-ro
---

View File

@ -5,7 +5,7 @@ contributors:
translators:
- ["Petru Dimitriu", "http://petru-dimitriu.github.io"]
lang: ro-ro
filename: haskell-ro.hs
filename: haskell-ro.html
---
Haskell este un limbaj de programare practic, pur funcțional.

View File

@ -1,6 +1,6 @@
---
language: HTML
filename: learnhtml-ru.txt
filename: learnhtml-ru.html
contributors:
- ["Christophe THOMAS", "https://github.com/WinChris"]
translators:

View File

@ -91,7 +91,7 @@ false.class #=> FalseClass
2 <= 2 #=> true
2 >= 2 #=> true
# Combined comparison operator (returns `1` when the first argument is greater,
# Combined comparison operator (returns `1` when the first argument is greater,
# `-1` when the second argument is greater, and `0` otherwise)
1 <=> 10 #=> -1 (1 < 10)
10 <=> 1 #=> 1 (10 > 1)
@ -259,8 +259,8 @@ else
'else, also optional'
end
# If a condition controls invocation of a single statement rather than a block
# of code you can use postfix-if notation
# If a condition controls invocation of a single statement rather than a block of code
# you can use postfix-if notation
warnings = ['Patronimic is missing', 'Address too short']
puts("Some warnings occurred:\n" + warnings.join("\n")) if !warnings.empty?
@ -268,7 +268,7 @@ puts("Some warnings occurred:\n" + warnings.join("\n")) if !warnings.empty?
puts("Some warnings occurred:\n" + warnings.join("\n")) unless warnings.empty?
# Loops
# In Ruby, traditional `for` loops aren't very common. Instead, these
# In Ruby, traditional `for` loops aren't very common. Instead, these
# basic loops are implemented using enumerable, which hinges on `each`.
(1..5).each do |counter|
puts "iteration #{counter}"
@ -279,10 +279,9 @@ for counter in 1..5
puts "iteration #{counter}"
end
# The `do |variable| ... end` construct above is called a 'block'. Blocks are
# similar to lambdas, anonymous functions or closures in other programming
# languages. They can be passed around as objects, called, or attached as
# methods.
# The `do |variable| ... end` construct above is called a 'block'. Blocks are similar
# to lambdas, anonymous functions or closures in other programming languages. They can
# be passed around as objects, called, or attached as methods.
#
# The 'each' method of a range runs the block once for each element of the range.
# The block is passed a counter as a parameter.
@ -416,20 +415,19 @@ surround { puts 'hello world' }
#=> hello world
#=> }
# Blocks can be converted into a 'proc' object, which wraps the block and allows
# it to be passed to another method, bound to a different scope, or manipulated
# otherwise. This is most common in method parameter lists, where you frequently
# see a trailing '&block' parameter that will accept the block, if one is given,
# and convert it to a 'Proc'. The naming here is convention; it would work just
# as well with '&pineapple'.
# Blocks can be converted into a 'proc' object, which wraps the block
# and allows it to be passed to another method, bound to a different scope,
# or manipulated otherwise. This is most common in method parameter lists,
# where you frequently see a trailing '&block' parameter that will accept
# the block, if one is given, and convert it to a 'Proc'. The naming here is
# convention; it would work just as well with '&pineapple'.
def guests(&block)
block.class #=> Proc
block.call(4)
end
# The 'call' method on the Proc is similar to calling 'yield' when a block is
# present. The arguments passed to 'call' will be forwarded to the block as
# arguments.
# The 'call' method on the Proc is similar to calling 'yield' when a block is
# present. The arguments passed to 'call' will be forwarded to the block as arguments.
guests { |n| "You have #{n} guests." }
# => "You have 4 guests."
@ -445,7 +443,7 @@ end
upcased = ['Watch', 'these', 'words', 'get', 'upcased'].map(&:upcase)
puts upcased
#=> ["WATCH", "THESE", "WORDS", "GET", "UPCASED"]
sum = [1, 2, 3, 4, 5].reduce(&:+)
puts sum
#=> 15
@ -474,7 +472,7 @@ def best(first, second, third, *others)
puts "There were #{others.count} other participants."
end
best *ranked_competitors
best *ranked_competitors
#=> Winners are John, Sally, and Dingus.
#=> There were 2 other participants.
@ -482,9 +480,9 @@ best *ranked_competitors
5.even? #=> false
5.odd? #=> true
# By convention, if a method name ends with an exclamation mark, it does
# something destructive like mutate the receiver. Many methods have a ! version
# to make a change, and a non-! version to just return a new changed version.
# By convention, if a method name ends with an exclamation mark, it does something destructive
# like mutate the receiver. Many methods have a ! version to make a change, and
# a non-! version to just return a new changed version.
company_name = "Dunder Mifflin"
company_name.upcase #=> "DUNDER MIFFLIN"
company_name #=> "Dunder Mifflin"
@ -518,8 +516,7 @@ class Human
@name
end
# The above functionality can be encapsulated using the attr_accessor method
# as follows.
# The above functionality can be encapsulated using the attr_accessor method as follows.
attr_accessor :name
# Getter/setter methods can also be created individually like this.

View File

@ -3,7 +3,7 @@ category: framework
framework: ShutIt
contributors:
- ["Ian Miell", "http://ian.meirionconsulting.tk"]
filename: learnshutit.py
filename: learnshutit.html
---
## ShutIt

View File

@ -1,6 +1,6 @@
---
language: HTML
filename: learnhtml-vi.txt
filename: learnhtml-vi.html
contributors:
- ["Christophe THOMAS", "https://github.com/WinChris"]
translators:

View File

@ -58,7 +58,6 @@ The syntax for tables is [very complicated](https://en.wikipedia.org/wiki/Help:T
```
which renders to
| **column title A** | **column title B** |
|---|---|
| cell A1 | cell B1 |
@ -121,7 +120,6 @@ If a word is interrupted by a link, it is "blended" into the link. For example,
To suppress this behavior, use `<nowiki>`. For example, `[[micro-]]<nowiki />second` renders to [micro-](https://en.wikipedia.org/wiki/micro-)second.
There are three kinds of external linking. The third kind is preferred:
| wikitext | renders to |
|----|----|
| `https://www.wikipedia.org` | [https://www.wikipedia.org](https://www.wikipedia.org) |

View File

@ -3,7 +3,7 @@ category: framework
framework: AngularJS
contributors:
- ["Walter Cordero", "http://waltercordero.com"]
filename: learnangular-cn.txt
filename: learnangular-cn.html
translators:
- ["Jiang Haiyun", "http://www.atjiang.com"]
lang: zh-cn

View File

@ -1,6 +1,6 @@
---
language: HTML
filename: learnhtml-cn.txt
filename: learnhtml-cn.html
contributors:
- ["Christophe THOMAS", "https://github.com/WinChris"]
translators:

View File

@ -5,7 +5,7 @@ contributors:
- ["David Pedersen", "http://lonelyproton.com/"]
- ["James Baker", "http://www.jbaker.io/"]
- ["Leo Zovic", "http://langnostic.inaimathi.ca/"]
filename: standard-ml-cn.sml
filename: standard-ml-cn.html
translators:
- ["Buqian Zheng", "https://github.com/zhengbuqian"]
lang: zh-cn