mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-22 21:52:31 +03:00
Compare commits
6 Commits
3643db4e3e
...
0306da97b1
Author | SHA1 | Date | |
---|---|---|---|
|
0306da97b1 | ||
|
3c1b4e752d | ||
|
be43ada53d | ||
|
33e459864c | ||
|
54fbf0a948 | ||
|
fa95b37b6f |
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
language: HTML
|
language: HTML
|
||||||
lang: ar-ar
|
lang: ar-ar
|
||||||
filename: learnhtml-tf.html
|
filename: learnhtml-tf.txt
|
||||||
contributors:
|
contributors:
|
||||||
- ["Christophe THOMAS", "https://github.com/WinChris"]
|
- ["Christophe THOMAS", "https://github.com/WinChris"]
|
||||||
translators:
|
translators:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
language: HTML
|
language: HTML
|
||||||
filename: html-ca.md
|
filename: html-ca.txt
|
||||||
contributors:
|
contributors:
|
||||||
- ["Christophe THOMAS", "https://github.com/WinChris"]
|
- ["Christophe THOMAS", "https://github.com/WinChris"]
|
||||||
translators:
|
translators:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
language: HQ9+
|
language: HQ9+
|
||||||
filename: hq9+-de.html
|
filename: hq9+-de.txt
|
||||||
contributors:
|
contributors:
|
||||||
- ["Alexey Nazaroff", "https://github.com/rogaven"]
|
- ["Alexey Nazaroff", "https://github.com/rogaven"]
|
||||||
translators:
|
translators:
|
||||||
|
@ -4,7 +4,7 @@ contributors:
|
|||||||
- ["Christophe THOMAS", "https://github.com/WinChris"]
|
- ["Christophe THOMAS", "https://github.com/WinChris"]
|
||||||
translators:
|
translators:
|
||||||
- ["Dennis Keller", "https://github.com/denniskeller"]
|
- ["Dennis Keller", "https://github.com/denniskeller"]
|
||||||
filename: learnhtml-de.html
|
filename: learnhtml-de.txt
|
||||||
lang: de-de
|
lang: de-de
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -6,7 +6,6 @@ contributors:
|
|||||||
- ["Divay Prakash", "https://github.com/divayprakash"]
|
- ["Divay Prakash", "https://github.com/divayprakash"]
|
||||||
translators:
|
translators:
|
||||||
- ["caminsha", "https://github.com/caminsha"]
|
- ["caminsha", "https://github.com/caminsha"]
|
||||||
filename: processing-de.md
|
|
||||||
lang: de-de
|
lang: de-de
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
category: framework
|
category: framework
|
||||||
filename: learnshutit-de.html
|
filename: learnshutit-de.py
|
||||||
framework: ShutIt
|
framework: ShutIt
|
||||||
contributors:
|
contributors:
|
||||||
- ["Ian Miell", "http://ian.meirionconsulting.tk"]
|
- ["Ian Miell", "http://ian.meirionconsulting.tk"]
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
language: CSS
|
language: CSS
|
||||||
contributors:
|
contributors:
|
||||||
- ["Kostas Bariotis", "http://kostasbariotis.com"]
|
- ["Kostas Bariotis", "http://kostasbariotis.com"]
|
||||||
filename: css-gr.html.markdown
|
filename: css-gr.css
|
||||||
lang: el-gr
|
lang: el-gr
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
language: HTML
|
language: HTML
|
||||||
filename: learnhtml-gr.html
|
filename: learnhtml-gr.txt
|
||||||
contributors:
|
contributors:
|
||||||
- ["Dimitri Kokkonis", "https://github.com/kokkonisd"]
|
- ["Dimitri Kokkonis", "https://github.com/kokkonisd"]
|
||||||
lang: el-gr
|
lang: el-gr
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
language: JSON
|
language: JSON
|
||||||
filename: json-gr.html.markdown
|
filename: json-gr.json
|
||||||
contributors:
|
contributors:
|
||||||
- ["Anna Harren", "https://github.com/iirelu"]
|
- ["Anna Harren", "https://github.com/iirelu"]
|
||||||
- ["Marco Scannadinari", "https://github.com/marcoms"]
|
- ["Marco Scannadinari", "https://github.com/marcoms"]
|
||||||
|
@ -4,7 +4,7 @@ contributors:
|
|||||||
- ["Joao Pedrosa", "https://github.com/jpedrosa/"]
|
- ["Joao Pedrosa", "https://github.com/jpedrosa/"]
|
||||||
translators:
|
translators:
|
||||||
- ["Jorge Antonio Atempa", "http://www.twitter.com/atempa09"]
|
- ["Jorge Antonio Atempa", "http://www.twitter.com/atempa09"]
|
||||||
filename: dart-es.md
|
filename: dart-es.dart
|
||||||
lang: es-es
|
lang: es-es
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ contributors:
|
|||||||
translators:
|
translators:
|
||||||
- ["Jhoon Saravia", "https://github.com/jhoon"]
|
- ["Jhoon Saravia", "https://github.com/jhoon"]
|
||||||
lang: es-es
|
lang: es-es
|
||||||
filename: groovy-es.html
|
filename: groovy-es.groovy
|
||||||
---
|
---
|
||||||
|
|
||||||
Groovy - Un lenguaje dinámico para la plataforma Java. [Leer más aquí](http://www.groovy-lang.org/).
|
Groovy - Un lenguaje dinámico para la plataforma Java. [Leer más aquí](http://www.groovy-lang.org/).
|
||||||
|
@ -4,7 +4,7 @@ contributors:
|
|||||||
- ["Adit Bhargava", "http://adit.io"]
|
- ["Adit Bhargava", "http://adit.io"]
|
||||||
translators:
|
translators:
|
||||||
- ["Jorge Antonio Atempa", "http://www.twitter.com/atempa09"]
|
- ["Jorge Antonio Atempa", "http://www.twitter.com/atempa09"]
|
||||||
filename: haskell-es.md
|
filename: haskell-es.hs
|
||||||
lang: es-es
|
lang: es-es
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
language: HQ9+
|
language: HQ9+
|
||||||
filename: hq9+-es.html
|
filename: hq9+-es.txt
|
||||||
contributors:
|
contributors:
|
||||||
- ["Alexey Nazaroff", "https://github.com/rogaven"]
|
- ["Alexey Nazaroff", "https://github.com/rogaven"]
|
||||||
translators:
|
translators:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
language: HTML
|
language: HTML
|
||||||
filename: learnhtml-es.html
|
filename: learnhtml-es.txt
|
||||||
contributors:
|
contributors:
|
||||||
- ["Christophe THOMAS", "https://github.com/WinChris"]
|
- ["Christophe THOMAS", "https://github.com/WinChris"]
|
||||||
translators:
|
translators:
|
||||||
|
@ -3,7 +3,7 @@ language: Wolfram
|
|||||||
lang: es-es
|
lang: es-es
|
||||||
contributors:
|
contributors:
|
||||||
- ["Daniel Caballero", "http://github.com/danielcaballero796/"]
|
- ["Daniel Caballero", "http://github.com/danielcaballero796/"]
|
||||||
filename: learnwolfram-es.md
|
filename: learnwolfram-es.nb
|
||||||
---
|
---
|
||||||
|
|
||||||
Wolfram es un lenguaje subyacente originalmente utilizado en Mathematica, pero ahora esta disponible para su uso en múltiples contextos.
|
Wolfram es un lenguaje subyacente originalmente utilizado en Mathematica, pero ahora esta disponible para su uso en múltiples contextos.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
language: HTML
|
language: HTML
|
||||||
filename: learnhtml-fr.html
|
filename: learnhtml-fr.txt
|
||||||
contributors:
|
contributors:
|
||||||
- ["Christophe THOMAS", "https://github.com/WinChris"]
|
- ["Christophe THOMAS", "https://github.com/WinChris"]
|
||||||
lang: fr-fr
|
lang: fr-fr
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
language: HTML
|
language: HTML
|
||||||
filename: learnhtml-he.html
|
filename: learnhtml-he.txt
|
||||||
contributors:
|
contributors:
|
||||||
- ['Christophe THOMAS', 'https://github.com/WinChris']
|
- ['Christophe THOMAS', 'https://github.com/WinChris']
|
||||||
translators:
|
translators:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
language: HQ9+
|
language: HQ9+
|
||||||
filename: hq9+.html
|
filename: hq9+.txt
|
||||||
contributors:
|
contributors:
|
||||||
- ["Alexey Nazaroff", "https://github.com/rogaven"]
|
- ["Alexey Nazaroff", "https://github.com/rogaven"]
|
||||||
---
|
---
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
language: HQ9+
|
language: HQ9+
|
||||||
filename: hq9+-id.html
|
filename: hq9+-id.txt
|
||||||
contributors:
|
contributors:
|
||||||
- ["Alexey Nazaroff", "https://github.com/rogaven"]
|
- ["Alexey Nazaroff", "https://github.com/rogaven"]
|
||||||
translators:
|
translators:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
language: reStructuredText (RST)
|
language: reStructuredText (RST)
|
||||||
filename: rst-id.html
|
filename: rst-id.rst
|
||||||
contributors:
|
contributors:
|
||||||
- ["DamienVGN", "https://github.com/martin-damien"]
|
- ["DamienVGN", "https://github.com/martin-damien"]
|
||||||
- ["Andre Polykanine", "https://github.com/Oire"]
|
- ["Andre Polykanine", "https://github.com/Oire"]
|
||||||
|
@ -3,7 +3,7 @@ language: Rust
|
|||||||
contributors:
|
contributors:
|
||||||
- ["Carlo Milanesi", "http://github.com/carlomilanesi"]
|
- ["Carlo Milanesi", "http://github.com/carlomilanesi"]
|
||||||
lang: it-it
|
lang: it-it
|
||||||
filename: rust-it.html.markdown
|
filename: rust-it.rs
|
||||||
---
|
---
|
||||||
|
|
||||||
Rust è un linguaggio di programmazione sviluppato da Mozilla Research.
|
Rust è un linguaggio di programmazione sviluppato da Mozilla Research.
|
||||||
|
@ -225,7 +225,7 @@ public class LearnJava {
|
|||||||
String fooString = "My String Is Here!";
|
String fooString = "My String Is Here!";
|
||||||
|
|
||||||
// Text blocks
|
// Text blocks
|
||||||
vat textBlock = """
|
var textBlock = """
|
||||||
This is a <Text Block> in Java
|
This is a <Text Block> in Java
|
||||||
""";
|
""";
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
language: HTML
|
language: HTML
|
||||||
filename: learnhtml-nl.html
|
filename: learnhtml-nl.txt
|
||||||
contributors:
|
contributors:
|
||||||
- ["Christophe THOMAS", "https://github.com/WinChris"]
|
- ["Christophe THOMAS", "https://github.com/WinChris"]
|
||||||
translators:
|
translators:
|
||||||
|
@ -5,7 +5,7 @@ contributors:
|
|||||||
- ["Mathias Bynens", "http://mathiasbynens.be/"]
|
- ["Mathias Bynens", "http://mathiasbynens.be/"]
|
||||||
translators:
|
translators:
|
||||||
- ["Petru Dimitriu", "http://petru-dimitriu.github.io"]
|
- ["Petru Dimitriu", "http://petru-dimitriu.github.io"]
|
||||||
filename: bf-ro.html
|
filename: bf-ro.bf
|
||||||
lang: ro-ro
|
lang: ro-ro
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ contributors:
|
|||||||
translators:
|
translators:
|
||||||
- ["Petru Dimitriu", "http://petru-dimitriu.github.io"]
|
- ["Petru Dimitriu", "http://petru-dimitriu.github.io"]
|
||||||
lang: ro-ro
|
lang: ro-ro
|
||||||
filename: haskell-ro.html
|
filename: haskell-ro.hs
|
||||||
---
|
---
|
||||||
|
|
||||||
Haskell este un limbaj de programare practic, pur funcțional.
|
Haskell este un limbaj de programare practic, pur funcțional.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
language: HTML
|
language: HTML
|
||||||
filename: learnhtml-ru.html
|
filename: learnhtml-ru.txt
|
||||||
contributors:
|
contributors:
|
||||||
- ["Christophe THOMAS", "https://github.com/WinChris"]
|
- ["Christophe THOMAS", "https://github.com/WinChris"]
|
||||||
translators:
|
translators:
|
||||||
|
@ -259,8 +259,8 @@ else
|
|||||||
'else, also optional'
|
'else, also optional'
|
||||||
end
|
end
|
||||||
|
|
||||||
# If a condition controls invocation of a single statement rather than a block of code
|
# If a condition controls invocation of a single statement rather than a block
|
||||||
# you can use postfix-if notation
|
# of code you can use postfix-if notation
|
||||||
warnings = ['Patronimic is missing', 'Address too short']
|
warnings = ['Patronimic is missing', 'Address too short']
|
||||||
puts("Some warnings occurred:\n" + warnings.join("\n")) if !warnings.empty?
|
puts("Some warnings occurred:\n" + warnings.join("\n")) if !warnings.empty?
|
||||||
|
|
||||||
@ -279,9 +279,10 @@ for counter in 1..5
|
|||||||
puts "iteration #{counter}"
|
puts "iteration #{counter}"
|
||||||
end
|
end
|
||||||
|
|
||||||
# The `do |variable| ... end` construct above is called a 'block'. Blocks are similar
|
# The `do |variable| ... end` construct above is called a 'block'. Blocks are
|
||||||
# to lambdas, anonymous functions or closures in other programming languages. They can
|
# similar to lambdas, anonymous functions or closures in other programming
|
||||||
# be passed around as objects, called, or attached as methods.
|
# 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 'each' method of a range runs the block once for each element of the range.
|
||||||
# The block is passed a counter as a parameter.
|
# The block is passed a counter as a parameter.
|
||||||
@ -415,19 +416,20 @@ surround { puts 'hello world' }
|
|||||||
#=> hello world
|
#=> hello world
|
||||||
#=> }
|
#=> }
|
||||||
|
|
||||||
# Blocks can be converted into a 'proc' object, which wraps the block
|
# Blocks can be converted into a 'proc' object, which wraps the block and allows
|
||||||
# and allows it to be passed to another method, bound to a different scope,
|
# it to be passed to another method, bound to a different scope, or manipulated
|
||||||
# or manipulated otherwise. This is most common in method parameter lists,
|
# otherwise. This is most common in method parameter lists, where you frequently
|
||||||
# where you frequently see a trailing '&block' parameter that will accept
|
# see a trailing '&block' parameter that will accept the block, if one is given,
|
||||||
# the block, if one is given, and convert it to a 'Proc'. The naming here is
|
# and convert it to a 'Proc'. The naming here is convention; it would work just
|
||||||
# convention; it would work just as well with '&pineapple'.
|
# as well with '&pineapple'.
|
||||||
def guests(&block)
|
def guests(&block)
|
||||||
block.class #=> Proc
|
block.class #=> Proc
|
||||||
block.call(4)
|
block.call(4)
|
||||||
end
|
end
|
||||||
|
|
||||||
# The 'call' method on the Proc is similar to calling 'yield' when a block is
|
# 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.
|
# present. The arguments passed to 'call' will be forwarded to the block as
|
||||||
|
# arguments.
|
||||||
|
|
||||||
guests { |n| "You have #{n} guests." }
|
guests { |n| "You have #{n} guests." }
|
||||||
# => "You have 4 guests."
|
# => "You have 4 guests."
|
||||||
@ -480,9 +482,9 @@ best *ranked_competitors
|
|||||||
5.even? #=> false
|
5.even? #=> false
|
||||||
5.odd? #=> true
|
5.odd? #=> true
|
||||||
|
|
||||||
# By convention, if a method name ends with an exclamation mark, it does something destructive
|
# By convention, if a method name ends with an exclamation mark, it does
|
||||||
# like mutate the receiver. Many methods have a ! version to make a change, and
|
# something destructive like mutate the receiver. Many methods have a ! version
|
||||||
# a non-! version to just return a new changed version.
|
# to make a change, and a non-! version to just return a new changed version.
|
||||||
company_name = "Dunder Mifflin"
|
company_name = "Dunder Mifflin"
|
||||||
company_name.upcase #=> "DUNDER MIFFLIN"
|
company_name.upcase #=> "DUNDER MIFFLIN"
|
||||||
company_name #=> "Dunder Mifflin"
|
company_name #=> "Dunder Mifflin"
|
||||||
@ -516,7 +518,8 @@ class Human
|
|||||||
@name
|
@name
|
||||||
end
|
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
|
attr_accessor :name
|
||||||
|
|
||||||
# Getter/setter methods can also be created individually like this.
|
# Getter/setter methods can also be created individually like this.
|
||||||
|
@ -3,7 +3,7 @@ category: framework
|
|||||||
framework: ShutIt
|
framework: ShutIt
|
||||||
contributors:
|
contributors:
|
||||||
- ["Ian Miell", "http://ian.meirionconsulting.tk"]
|
- ["Ian Miell", "http://ian.meirionconsulting.tk"]
|
||||||
filename: learnshutit.html
|
filename: learnshutit.py
|
||||||
---
|
---
|
||||||
|
|
||||||
## ShutIt
|
## ShutIt
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
language: HTML
|
language: HTML
|
||||||
filename: learnhtml-vi.html
|
filename: learnhtml-vi.txt
|
||||||
contributors:
|
contributors:
|
||||||
- ["Christophe THOMAS", "https://github.com/WinChris"]
|
- ["Christophe THOMAS", "https://github.com/WinChris"]
|
||||||
translators:
|
translators:
|
||||||
|
@ -58,6 +58,7 @@ The syntax for tables is [very complicated](https://en.wikipedia.org/wiki/Help:T
|
|||||||
```
|
```
|
||||||
|
|
||||||
which renders to
|
which renders to
|
||||||
|
|
||||||
| **column title A** | **column title B** |
|
| **column title A** | **column title B** |
|
||||||
|---|---|
|
|---|---|
|
||||||
| cell A1 | cell B1 |
|
| cell A1 | cell B1 |
|
||||||
@ -120,6 +121,7 @@ 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.
|
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:
|
There are three kinds of external linking. The third kind is preferred:
|
||||||
|
|
||||||
| wikitext | renders to |
|
| wikitext | renders to |
|
||||||
|----|----|
|
|----|----|
|
||||||
| `https://www.wikipedia.org` | [https://www.wikipedia.org](https://www.wikipedia.org) |
|
| `https://www.wikipedia.org` | [https://www.wikipedia.org](https://www.wikipedia.org) |
|
||||||
|
@ -3,7 +3,7 @@ category: framework
|
|||||||
framework: AngularJS
|
framework: AngularJS
|
||||||
contributors:
|
contributors:
|
||||||
- ["Walter Cordero", "http://waltercordero.com"]
|
- ["Walter Cordero", "http://waltercordero.com"]
|
||||||
filename: learnangular-cn.html
|
filename: learnangular-cn.txt
|
||||||
translators:
|
translators:
|
||||||
- ["Jiang Haiyun", "http://www.atjiang.com"]
|
- ["Jiang Haiyun", "http://www.atjiang.com"]
|
||||||
lang: zh-cn
|
lang: zh-cn
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
language: HTML
|
language: HTML
|
||||||
filename: learnhtml-cn.html
|
filename: learnhtml-cn.txt
|
||||||
contributors:
|
contributors:
|
||||||
- ["Christophe THOMAS", "https://github.com/WinChris"]
|
- ["Christophe THOMAS", "https://github.com/WinChris"]
|
||||||
translators:
|
translators:
|
||||||
|
@ -5,7 +5,7 @@ contributors:
|
|||||||
- ["David Pedersen", "http://lonelyproton.com/"]
|
- ["David Pedersen", "http://lonelyproton.com/"]
|
||||||
- ["James Baker", "http://www.jbaker.io/"]
|
- ["James Baker", "http://www.jbaker.io/"]
|
||||||
- ["Leo Zovic", "http://langnostic.inaimathi.ca/"]
|
- ["Leo Zovic", "http://langnostic.inaimathi.ca/"]
|
||||||
filename: standard-ml-cn.html
|
filename: standard-ml-cn.sml
|
||||||
translators:
|
translators:
|
||||||
- ["Buqian Zheng", "https://github.com/zhengbuqian"]
|
- ["Buqian Zheng", "https://github.com/zhengbuqian"]
|
||||||
lang: zh-cn
|
lang: zh-cn
|
||||||
|
Loading…
Reference in New Issue
Block a user