Compare commits

..

No commits in common. "e0cfe4feca6ef048c1a796f01588a9107f1711b5" and "c40736ee0fdea4f7804af4957f87a4fbde1d2753" have entirely different histories.

242 changed files with 291 additions and 282 deletions

View File

@ -1,5 +1,5 @@
- [ ] I solemnly swear that this is all original content of which I am the original author
- [ ] Pull request title is prepended with `[language/lang-code]` (example `[python/fr]` or `[java/en]`)
- [ ] Pull request title is prepended with `[language/lang-code]` (example `[python/fr-fr]` or `[java/en]`)
- [ ] Pull request touches only one file (or a set of logically related files with similar changes made)
- [ ] Content changes are aimed at *intermediate to experienced programmers* (this is a poor format for explaining fundamental programming concepts)
- [ ] If you've changed any part of the YAML Frontmatter, make sure it is formatted according to [CONTRIBUTING.md](https://github.com/adambard/learnxinyminutes-docs/blob/master/CONTRIBUTING.markdown)

View File

@ -17,10 +17,11 @@ review them more effectively and/or individually.
## Style Guidelines
* **Keep lines under 80 chars**
* Try to keep line length in code blocks to 80 characters or fewer.
* Try to keep **line length in code blocks to 80 characters or fewer**.
* Otherwise, the text will overflow and look odd.
* This and other potential pitfalls to format the content consistently are
identified by [markdownlint](https://github.com/markdownlint/markdownlint).
identified by the freely available
[markdownlint](https://github.com/markdownlint/markdownlint).
* **Prefer example to exposition**
* Try to use as few words as possible.
* Code examples are preferred over exposition in all cases.
@ -41,14 +42,14 @@ review them more effectively and/or individually.
### Header configuration
The actual site generates HTML files from these Markdown ones.
The markdown files can contain extra metadata before the actual markdown,
called frontmatter.
The actual site uses Middleman to generate HTML files from these Markdown ones.
Middleman, or at least the custom scripts underpinning the site, requires that
some key information be defined in the header.
The following fields are necessary for English articles about programming
languages:
* **name** The human-readable name of the programming language
* **language** The *programming language* in question
* **contributors** A list of [author, URL] lists to credit
Other fields:
@ -57,16 +58,17 @@ Other fields:
*tool* or *Algorithms & Data Structures*. Defaults to *language* if omitted.
* **filename**: The filename for this article's code. It will be fetched, mashed
together, and made downloadable.
* For non-English articles, *filename* should have a language-specific
suffix.
* **lang**: For translations, the human language this article is in. For
categorization, mostly.
Non-English articles inherit frontmatter values from the English article (if it exists)
but you can overwrite them.
Here's an example header for Ruby:
Here's an example header for an Esperanto translation of Ruby:
```yaml
*--
name: Ruby
filename: learnruby.rb
language: Ruby
filename: learnruby-epo.ruby
contributors:
- ["Doktor Esperanto", "http://example.com/"]
- ["Someone else", "http://someoneelseswebsite.com/"]
@ -75,7 +77,8 @@ contributors:
### Syntax highlighter
[Pygments](https://pygments.org/languages/) is used for syntax highlighting.
[Pygments](https://pygments.org/languages/) is used for syntax highlighting through
[pygments.rb](https://github.com/pygments/pygments.rb).
### Should I add myself as a contributor?
@ -86,10 +89,12 @@ addition or not.
## Building the site locally
Install Python. On macOS this can be done with [Homebrew](https://brew.sh/).
Install Ruby. On macOS this can be done with [Homebrew](https://brew.sh/).
```sh
brew install python
brew install ruby
# Install Ruby package manager
gem install bundler
```
Then clone two repos, install dependencies and run.
@ -102,12 +107,8 @@ git clone https://github.com/<YOUR-USERNAME>/learnxinyminutes-docs ./learnxinymi
# Install dependencies
cd learnxinyminutes-site
pip install -r requirements.txt
bundle install
# Run
python build.py
cd build
python -m http.server
# open http://localhost:8000/ in your browser of choice
bundle exec middleman serve
```

View File

@ -40,6 +40,6 @@ Anything not covered by the above -- basically, this README -- you can use as
you wish, I guess.
[1]: https://learnxinyminutes.com
[1]: http://learnxinyminutes.com
[2]: /CONTRIBUTING.md
[3]: http://creativecommons.org/licenses/by-sa/3.0/deed.en_US

2
ada.md
View File

@ -1,5 +1,5 @@
---
name: Ada
language: Ada
filename: learn.ada
contributors:
- ["Luke A. Guest", "https://github.com/Lucretia"]

2
amd.md
View File

@ -1,6 +1,6 @@
---
category: tool
name: AMD
tool: AMD
contributors:
- ["Frederik Ring", "https://github.com/m90"]
filename: learnamd.js

View File

@ -1,6 +1,6 @@
---
category: framework
name: AngularJS
framework: AngularJS
contributors:
- ["Walter Cordero", "http://waltercordero.com"]
filename: learnangular.txt

View File

@ -1,6 +1,6 @@
---
category: tool
name: Ansible
tool: Ansible
contributors:
- ["Jakub Muszynski" , "http://github.com/sirkubax"]
- ["Pat Myron" , "https://github.com/patmyron"]

2
apl.md
View File

@ -1,5 +1,5 @@
---
name: APL
language: APL
contributors:
- ["nooodl", "https://github.com/nooodl"]
filename: learnapl.apl

View File

@ -15,7 +15,7 @@ filename: learnpython-ar.py
لقد أُنشئت لغة البايثون بواسطة جايدو ڤان روسم في بداية التسعينات. هي الأن أحد أشهر اللغات الموجودة.
لقد أحببت لغة البايثون بسبب وضوحها. هي في الأساس عبارة عن سودوكود قابل للتنفيذ.
ملحوظة: هذا المقال يُطبق على بايثون 3 فقط. راجع المقال [هنا](../pythonlegacy/) إذا أردت تعلم لغة البايثون نسخة 2.7 الأقدم
ملحوظة: هذا المقال يُطبق على بايثون 3 فقط. راجع المقال [هنا](http://learnxinyminutes.com/docs/pythonlegacy/) إذا أردت تعلم لغة البايثون نسخة 2.7 الأقدم
```python
# تعليق من سطر واحد يبدأ برمز الرقم.

View File

@ -1,5 +1,5 @@
---
name: Arturo
language: Arturo
filename: learnarturo.art
contributors:
- ["Dr.Kameleon", "https://github.com/drkameleon"]

View File

@ -1,5 +1,5 @@
---
name: AsciiDoc
language: AsciiDoc
contributors:
- ["Ryan Mavilia", "http://unoriginality.rocks/"]
- ["Abel Salgado Romero", "https://twitter.com/abelsromero"]

View File

@ -1,5 +1,5 @@
---
name: AssemblyScript
language: AssemblyScript
contributors:
- ["Philippe Vlérick", "https://github.com/pvlerick"]
- ["Steve Huguenin-Elie", "https://github.com/StEvUgnIn"]
@ -10,7 +10,7 @@ filename: learnassemblyscript.ts
__AssemblyScript__ compiles a variant of __TypeScript__ (basically JavaScript with types) to __WebAssembly__ using __Binaryen__. It generates lean and mean WebAssembly modules while being just an `npm install` away.
This article will focus only on AssemblyScript extra syntax, as opposed to [TypeScript](../typescript/) and [JavaScript](../javascript/).
This article will focus only on AssemblyScript extra syntax, as opposed to [TypeScript](/docs/typescript) and [JavaScript](/docs/javascript).
To test AssemblyScript's compiler, head to the
[Playground](https://www.assemblyscript.org/editor.html#IyFydW50aW1lPXN0dWIKLyoqIENhbGN1bGF0ZXMgdGhlIG4tdGggRmlib25hY2NpIG51bWJlci4gKi8KZXhwb3J0IGZ1bmN0aW9uIGZpYihuOiBpMzIpOiBpMzIgewogIHZhciBhID0gMCwgYiA9IDEKICBpZiAobiA+IDApIHsKICAgIHdoaWxlICgtLW4pIHsKICAgICAgbGV0IHQgPSBhICsgYgogICAgICBhID0gYgogICAgICBiID0gdAogICAgfQogICAgcmV0dXJuIGIKICB9CiAgcmV0dXJuIGEKfQoKIyFodG1sCjx0ZXh0YXJlYSBpZD0ib3V0cHV0IiBzdHlsZT0iaGVpZ2h0OiAxMDAlOyB3aWR0aDogMTAwJSIgcmVhZG9ubHk+PC90ZXh0YXJlYT4KPHNjcmlwdD4KbG9hZGVyLmluc3RhbnRpYXRlKG1vZHVsZV93YXNtLCB7IC8qIGltcG9ydHMgKi8gfSkKICAudGhlbigoeyBleHBvcnRzIH0pID0+IHsKICAgIGNvbnN0IG91dHB1dCA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdvdXRwdXQnKQogICAgZm9yIChsZXQgaSA9IDA7IGkgPD0gMTA7ICsraSkgewogICAgICBvdXRwdXQudmFsdWUgKz0gYGZpYigke2l9KSA9ICR7ZXhwb3J0cy5maWIoaSl9XG5gCiAgICB9CiAgfSkKPC9zY3JpcHQ+Cg==) where you will be able

2
ats.md
View File

@ -1,5 +1,5 @@
---
name: ATS
language: ATS
contributors:
- ["Mark Barbone", "https://github.com/mb64"]
filename: learnats.dats

2
awk.md
View File

@ -1,6 +1,6 @@
---
category: tool
name: AWK
tool: AWK
filename: learnawk.awk
contributors:
- ["Marshall Mason", "http://github.com/marshallmason"]

View File

@ -1,5 +1,5 @@
---
name: Ballerina
language: Ballerina
contributors:
- ["Anjana Fernando", "https://github.com/lafernando"]
filename: learn_ballerina.bal

View File

@ -1,5 +1,5 @@
---
name: Bash
language: Bash
contributors:
- ["Max Yankov", "https://github.com/golergka"]
- ["Darren Lin", "https://github.com/CogBear"]

2
bc.md
View File

@ -1,5 +1,5 @@
---
name: bc
language: bc
contributors:
- ["Btup"]
filename: learnbc.bc

3
bf.md
View File

@ -1,6 +1,5 @@
---
name: BF
learn_x_in_y_name: brainfuck
language: BF
filename: bf.bf
contributors:
- ["Prajit Ramachandran", "http://prajitr.github.io/"]

2
bqn.md
View File

@ -1,5 +1,5 @@
---
name: BQN
language: BQN
filename: learnbqn.bqn
contributors:
- ["Raghu Ranganathan", "https://github.com/razetime"]

2
c++.md
View File

@ -1,5 +1,5 @@
---
name: C++
language: C++
filename: learncpp.cpp
contributors:
- ["Steven Basart", "https://github.com/xksteven"]

2
c.md
View File

@ -1,5 +1,5 @@
---
name: C
language: C
filename: learnc.c
contributors:
- ["Adam Bard", "http://adambard.com/"]

View File

@ -1,5 +1,5 @@
---
name: Chapel
language: Chapel
filename: learnchapel.chpl
contributors:
- ["Ian J. Bertolacci", "https://www.cs.arizona.edu/~ianbertolacci/"]

View File

@ -1,5 +1,5 @@
---
name: "CHICKEN"
language: "CHICKEN"
filename: CHICKEN.scm
contributors:
- ["Diwakar Wagle", "https://github.com/deewakar"]

View File

@ -1,5 +1,5 @@
---
name: citron
language: citron
filename: learncitron.ctr
contributors:
- ["AnotherTest", ""]

View File

@ -1,5 +1,5 @@
---
name: Clojure macros
language: Clojure macros
filename: learnclojuremacros.clj
contributors:
- ["Adam Bard", "http://adambard.com/"]
@ -14,7 +14,7 @@ Use a macro only when you need control over when or if the arguments to a form w
be evaluated.
You'll want to be familiar with Clojure. Make sure you understand everything in
[Clojure in Y Minutes](../clojure/).
[Clojure in Y Minutes](/docs/clojure/).
```clojure
;; Define a macro using defmacro. Your macro should output a list that can

View File

@ -1,5 +1,5 @@
---
name: Clojure
language: Clojure
filename: learnclojure.clj
contributors:
- ["Adam Bard", "http://adambard.com/"]

View File

@ -1,6 +1,6 @@
---
category: tool
name: CMake
tool: CMake
contributors:
- ["Bruno Alano", "https://github.com/brunoalano"]
filename: CMake

View File

@ -1,5 +1,5 @@
---
name: COBOL
language: COBOL
contributors:
- ["Hyphz", "http://github.com/hyphz/"]
filename: learn.COB

View File

@ -1,5 +1,5 @@
---
name: CoffeeScript
language: CoffeeScript
contributors:
- ["Tenor Biel", "http://github.com/L8D"]
- ["Xavier Yao", "http://github.com/xavieryao"]

View File

@ -1,5 +1,5 @@
---
name: ColdFusion
language: ColdFusion
filename: learncoldfusion.cfm
contributors:
- ["Wayne Boka", "http://wboka.github.io"]

View File

@ -1,6 +1,6 @@
---
name: "Common Lisp"
language: "Common Lisp"
filename: commonlisp.lisp
contributors:
- ["Paul Nathan", "https://github.com/pnathan"]

View File

@ -1,6 +1,6 @@
---
category: tool
name: Compojure
tool: Compojure
contributors:
- ["Adam Bard", "http://adambard.com/"]
filename: learncompojure.clj

2
coq.md
View File

@ -1,5 +1,5 @@
---
name: Coq
language: Coq
filename: learncoq.v
contributors:
- ["Philip Zucker", "http://www.philipzucker.com/"]

View File

@ -1,5 +1,5 @@
---
name: Crystal
language: Crystal
filename: learncrystal.cr
contributors:
- ["Vitalii Elenhaupt", "http://veelenga.com"]

View File

@ -12,7 +12,7 @@ které známe ze staticky typovaných jazyků.
Níže jsou popsané pouze vlastnosti jazyka Hack. Detaily ohledně jazyka PHP a jeho
syntaxe pak najdete na těchto stránkách v samostatném
[článku o PHP](/php/).
[článku o PHP](http://learnxinyminutes.com/docs/php/).
```php
<?hh

View File

@ -12,7 +12,7 @@ filename: learnpython-cz.py
Python byl vytvořen Guidem Van Rossum v raných 90. letech. Nyní je jedním z nejpopulárnějších jazyků.
Zamiloval jsem si Python pro jeho syntaktickou čistotu - je to vlastně spustitelný pseudokód.
Poznámka: Tento článek je zaměřen na Python 3. Zde se můžete [naučit starší Python 2.7](/pythonlegacy/).
Poznámka: Tento článek je zaměřen na Python 3. Zde se můžete [naučit starší Python 2.7](http://learnxinyminutes.com/docs/pythonlegacy/).
```python
# Jednořádkový komentář začíná křížkem

View File

@ -1,5 +1,5 @@
---
name: C#
language: C#
contributors:
- ["Irfan Charania", "https://github.com/irfancharania"]
- ["Max Yankov", "https://github.com/golergka"]

2
css.md
View File

@ -1,5 +1,5 @@
---
name: CSS
language: CSS
contributors:
- ["Mohammad Valipour", "https://github.com/mvalipour"]
- ["Marco Scannadinari", "https://github.com/marcoms"]

3
cue.md
View File

@ -1,5 +1,6 @@
---
name: CUE
category: language
language: CUE
filename: learncue.cue
contributors:
- ["Daniel Cox", "https://github.com/danielpcox"]

View File

@ -1,5 +1,5 @@
---
name: Cypher
language: Cypher
filename: LearnCypher.cql
contributors:
- ["Théo Gauchoux", "https://github.com/TheoGauchoux"]

2
d.md
View File

@ -1,5 +1,5 @@
---
name: D
language: D
filename: learnd.d
contributors:
- ["Nick Papanastasiou", "www.nickpapanastasiou.github.io"]

View File

@ -1,5 +1,5 @@
---
name: Dart
language: Dart
filename: learndart.dart
contributors:
- ["Joao Pedrosa", "https://github.com/jpedrosa/"]

View File

@ -16,7 +16,7 @@ Sei aber vorsichtig, es wird als schlechter Stil angesehen, wenn du
ein Macro schreibst, obwohl eine Funktion genauso gut funktionieren würde.
Verwende nur dann ein Macro, wenn du Kontrolle darüber brauchst, wann oder ob Argumente in einer Form evaluiert werden.
Wenn du mit Clojure vertraut sein möchtest, stelle sicher, dass du alles in [Clojure in Y Minutes](../clojure/) verstehst.
Wenn du mit Clojure vertraut sein möchtest, stelle sicher, dass du alles in [Clojure in Y Minutes](/docs/clojure/) verstehst.
```clojure
;; Definiere ein Macro mit defmacro. Dein Macro sollte eine Liste zurückgeben,

View File

@ -15,7 +15,7 @@ Typisierung der Sprache, die eine wesentlich höhere Performance erlaubt.
Hier werden nur Hack-spezifische Eigenschaften beschrieben. Details über PHP's
Syntax findet man im [PHP Artikel](/php/) dieser
Syntax findet man im [PHP Artikel](http://learnxinyminutes.com/docs/php/) dieser
Seite.
```php

View File

@ -11,7 +11,7 @@ translators:
[Paren](https://bitbucket.org/ktg/paren) ist ein Dialekt von Lisp.
Es ist als eingebettete Sprache konzipiert.
Manche Beispiele sind von [Racket](/racket/).
Manche Beispiele sind von <http://learnxinyminutes.com/docs/racket/>.
```scheme
;;; Kommentare

View File

@ -10,7 +10,7 @@ filename: learnpython-de.py
Anmerkungen des ursprünglichen Autors:
Python wurde in den frühen Neunzigern von Guido van Rossum entworfen. Es ist heute eine der beliebtesten Sprachen. Ich habe mich in Python wegen seiner syntaktischen Übersichtlichkeit verliebt. Eigentlich ist es ausführbarer Pseudocode.
Hinweis: Dieser Beitrag bezieht sich implizit auf Python 3. Falls du lieber Python 2.7 lernen möchtest, schau [hier](/pythonlegacy/) weiter. Beachte hierbei,
Hinweis: Dieser Beitrag bezieht sich implizit auf Python 3. Falls du lieber Python 2.7 lernen möchtest, schau [hier](http://learnxinyminutes.com/docs/pythonlegacy/) weiter. Beachte hierbei,
dass Python 2 als veraltet gilt und für neue Projekte nicht mehr verwendet werden sollte.
```python

View File

@ -10,7 +10,7 @@ translators:
die auf verschiedenen Hard- und Softwareplattformen mit wenig oder keinen Veränderungen im Code läuft.
Dabei besitzt man die Power und Geschwindigkeit von nativen Anwendungen.
Obwohl **Qt** ursprünglich in *C++* geschrieben wurde,
gibt es verschiedene Ports für andere Sprachen: *[PyQt](../pyqt/)*, *QtRuby*, *PHP-Qt*, etc.
gibt es verschiedene Ports für andere Sprachen: *[PyQt](https://learnxinyminutes.com/docs/pyqt/)*, *QtRuby*, *PHP-Qt*, etc.
**Qt** eignet sich hervorragend zum Erstellen von Anwendungen mit grafischer Benutzeroberfläche (GUI).
Dieses Tutorial zeigt, wie man das in *C++* macht.

View File

@ -1,5 +1,5 @@
---
name: Dhall
language: Dhall
filename: learndhall.dhall
contributors:
- ["Gabriel Gonzalez", "http://www.haskellforall.com/"]

View File

@ -1,6 +1,6 @@
---
category: framework
name: DirectX 9
framework: DirectX 9
filename: learndirectx9.cpp
contributors:
- ["Simon Deitermann", "s.f.deitermann@t-online.de"]

View File

@ -1,6 +1,6 @@
---
category: tool
name: Docker
tool: Docker
filename: docker.bat
contributors:
- ["Ruslan López", "http://javapro.org/"]

View File

@ -1,5 +1,5 @@
---
name: Easylang
language: Easylang
contributors:
- ["chkas", "https://github.com/chkas"]
filename: easylang.el

2
edn.md
View File

@ -1,5 +1,5 @@
---
name: EDN
language: EDN
filename: learnedn.edn
contributors:
- ["Jason Yeo", "https://github.com/jsyeo"]

View File

@ -14,7 +14,7 @@ filename: learnpython-gr.py
δημοφιλείς γλώσσες. Ερωτευεται κανείς την python για τη συντακτική της απλότητα.
Βασικά είναι εκτελέσιμος ψευδοκώδικας.
Σημείωση: Το παρόν άρθρο ασχολείται μόνο με την Python 3. Δείτε [εδώ](/pythonlegacy/) αν θέλετε να μάθετε την παλιά Python 2.7
Σημείωση: Το παρόν άρθρο ασχολείται μόνο με την Python 3. Δείτε [εδώ](http://learnxinyminutes.com/docs/pythonlegacy/) αν θέλετε να μάθετε την παλιά Python 2.7
```python
# Τα σχόλια μίας γραμμής ξεκινούν με #

View File

@ -1,5 +1,5 @@
---
name: Emacs Lisp
language: Emacs Lisp
contributors:
- ["Bastien Guerry", "https://bzg.fr"]
- ["Saurabh Sandav", "http://github.com/SaurabhSandav"]

View File

@ -1,5 +1,5 @@
---
name: Elixir
language: Elixir
contributors:
- ["Joao Marques", "https://github.com/mrshankly"]
- ["Dzianis Dashkevich", "https://github.com/dskecse"]

2
elm.md
View File

@ -1,5 +1,5 @@
---
name: Elm
language: Elm
contributors:
- ["Max Goldstein", "http://maxgoldste.in/"]
filename: learnelm.elm

View File

@ -1,6 +1,6 @@
---
category: tool
name: Emacs
tool: Emacs
filename: emacs.txt
contributors:
- ["Joseph Riad", "https://github.com/Joseph-Riad"]

View File

@ -1,5 +1,5 @@
---
name: Erlang
language: Erlang
contributors:
- ["Giovanni Cappellotto", "http://giovanni.curlybrackets.it/"]
filename: learnerlang.erl

View File

@ -1,5 +1,5 @@
---
name: curto
language: curto
contributors:
- ["Maleza", "https://maleza.srht.site/"]
filename: learncurto-es.fs

View File

@ -9,7 +9,7 @@ filename: learnhack-es.hh
Hack es un superconjunto de PHP que se ejecuta en una máquina virtual llamada HHVM. Hack es casi totalmente compatible con código PHP ya existente y añade varias características típicas de los lenguajes de programación estáticamente tipados.
En este artículo sólo se cubren las características específicas de Hack. Los detalles sobre la sintaxis de PHP están en el [artículo sobre PHP](../php/) de esta misma web.
En este artículo sólo se cubren las características específicas de Hack. Los detalles sobre la sintaxis de PHP están en el [artículo sobre PHP](http://learnxinyminutes.com/docs/php/) de esta misma web.
```php
<?hh

View File

@ -8,7 +8,7 @@ filename: jquery-es.js
jQuery es una librería de JavaScript que le ayuda a "hacer más y escribir menos". Esto hace que muchas de las tareas comunes de JavaScript sean más fáciles de escribir. jQuery es utilizado por muchas de las grandes empresas y desarrolladores de todo el mundo. Hace que AJAX, la gestión de eventos, la manipulación de documentos, y mucho más, sea más fácil y rápido.
Debido a que jQuery es una librería de JavaScript debes [aprender JavaScript primero](../javascript/)
Debido a que jQuery es una librería de JavaScript debes [aprender JavaScript primero](https://learnxinyminutes.com/docs/es-es/javascript-es/)
```js
///////////////////////////////////

View File

@ -659,7 +659,7 @@ require(plyr)
# "pets.csv" es un archivo en internet
# (pero puede ser tan fácil como tener el archivo en tu computadora)
pets <- read.csv("https://learnxinyminutes.com/pets.csv")
pets <- read.csv("http://learnxinyminutes.com/docs/pets.csv")
pets
head(pets, 2) # primeras dos filas
tail(pets, 1) # última fila

View File

@ -10,7 +10,7 @@ TypeScript es un lenguaje cuyo objetivo es facilitar el desarrollo de aplicacion
TypeScript añade conceptos comunes como clases, módulos, interfaces, genéricos y (opcionalmente) tipeo estático a JavaScript.
Es un superset de JavaScript: todo el código JavaScript es código válido en TypeScript de manera que se puede integrar fácilmente a cualquier proyecto . El compilador TypeScript emite JavaScript.
Este artículo se enfocará solo en la sintáxis extra de TypeScript, y no en [JavaScript](../javascript/).
Este artículo se enfocará solo en la sintáxis extra de TypeScript, y no en [JavaScript](../javascript-es/).
Para probar el compilador de TypeScript, diríjase al [Área de Pruebas](https://www.typescriptlang.org/Playground) donde podrá tipear código, y ver como se auto-completa al tiempo que ve el código emitido JavaScript.

View File

@ -1,5 +1,5 @@
---
name: Factor
language: Factor
contributors:
- ["hyphz", "http://github.com/hyphz/"]
filename: learnfactor.factor

View File

@ -1,5 +1,5 @@
---
name: fish
language: fish
contributors:
- ["MySurmise", "https://github.com/MySurmise"]
- ["Geo Maciolek", "https://github.com/GeoffMaciolek"]

View File

@ -1,5 +1,5 @@
---
name: Forth
language: Forth
contributors:
- ["Horse M.D.", "http://github.com/HorseMD/"]
filename: learnforth.fs

View File

@ -1,5 +1,5 @@
---
name: Fortran
language: Fortran
contributors:
- ["Robert Steed", "https://github.com/robochat"]
filename: learnfortran.f90

View File

@ -9,7 +9,7 @@ filename: jquery-fr.js
jQuery est une bibliothèque JavaScript dont le but est de permettre de "faire plus en écrivant moins" (do more, write less). Elle facilite l'écriture de nombreuses fonctions, notamment au niveau d'AJAX, de la gestion d'événements, ou encore de la manipulation de documents.
C'est pourquoi aujourd'hui, jQuery est utilisée par de nombreuses grandes entreprises et par des développeurs du monde entier.
Étant donné que jQuery est une bibliothèque JavaScript, vous devriez d'abord [apprendre le JavaScript](./javascript/)
Étant donné que jQuery est une bibliothèque JavaScript, vous devriez d'abord [apprendre le JavaScript](https://learnxinyminutes.com/docs/fr-fr/javascript-fr/)
```js
///////////////////////////////////

View File

@ -14,7 +14,7 @@ Python a été créé par Guido Van Rossum au début des années 90. C'est maint
langages les plus populaires. Je suis tombé amoureux de Python pour la clarté de sa syntaxe.
C'est tout simplement du pseudo-code exécutable.
Note : Cet article s'applique spécifiquement à Python 3. Jettez un coup d'oeil [ici](../pythonlegacy/) pour apprendre le vieux Python 2.7
Note : Cet article s'applique spécifiquement à Python 3. Jettez un coup d'oeil [ici](http://learnxinyminutes.com/docs/fr-fr/python-fr/) pour apprendre le vieux Python 2.7
```python
# Un commentaire d'une ligne commence par un dièse

View File

@ -10,7 +10,7 @@ translators:
Python a été créé par Guido Van Rossum au début des années 90. C'est maintenant un des langages de programmation les plus populaires.
Je suis tombé amoureux de Python de par la clarté de sa syntaxe. C'est pratiquement du pseudo-code exécutable.
N.B. : Cet article s'applique spécifiquement à Python 2.7, mais devrait s'appliquer pour toute version Python 2.x. Python 2.7 est en fin de vie et ne sera plus maintenu à partir de 2020, il est donc recommandé d'apprendre Python avec Python 3. Pour Python 3.x, il existe un autre [tutoriel pour Python 3](../python/).
N.B. : Cet article s'applique spécifiquement à Python 2.7, mais devrait s'appliquer pour toute version Python 2.x. Python 2.7 est en fin de vie et ne sera plus maintenu à partir de 2020, il est donc recommandé d'apprendre Python avec Python 3. Pour Python 3.x, il existe un autre [tutoriel pour Python 3](http://learnxinyminutes.com/docs/fr-fr/python3-fr/).
```python
# Une ligne simple de commentaire commence par un dièse

View File

@ -688,7 +688,7 @@ require(plyr)
# "pets.csv" est un fichier sur internet
# (mais il pourrait être tout aussi facilement sur votre ordinateur)
pets <- read.csv("https://learnxinyminutes.com/pets.csv")
pets <- read.csv("http://learnxinyminutes.com/docs/pets.csv")
pets
head(pets, 2) # first two rows
tail(pets, 1) # last row

View File

@ -10,7 +10,7 @@ TypeScript est un langage visant à faciliter le développement d'applications l
TypeScript ajoute des concepts classiques comme les classes, les modules, les interfaces, les génériques et le typage statique (optionnel) à JavaScript.
C'est une surcouche de JavaScript : tout le code JavaScript est valide en TypeScript ce qui permet de l'ajouter de façon transparente à n'importe quel projet. Le code TypeScript est transcompilé en JavaScript par le compilateur.
Cet article se concentrera seulement sur la syntaxe supplémentaire de TypeScript, plutôt que celle de [JavaScript](../javascript/).
Cet article se concentrera seulement sur la syntaxe supplémentaire de TypeScript, plutôt que celle de [JavaScript](../javascript-fr/).
Pour tester le compilateur de TypeScript, rendez-vous au [Playground](https://www.typescriptlang.org/Playground) où vous pourrez coder, profiter d'une autocomplétion et accéder directement au rendu JavaScript.

View File

@ -1,5 +1,5 @@
---
name: F#
language: F#
contributors:
- ["Scott Wlaschin", "http://fsharpforfunandprofit.com/"]
filename: learnfsharp.fs

View File

@ -1,5 +1,5 @@
---
name: GDScript
language: GDScript
contributors:
- ["Wichamir", "https://github.com/Wichamir/"]
- ["zacryol", "https://github.com/zacryol"]

2
git.md
View File

@ -1,6 +1,6 @@
---
category: tool
name: Git
tool: Git
contributors:
- ["Jake Prather", "http://github.com/JakeHP"]
- ["Leo Rudberg" , "http://github.com/LOZORD"]

View File

@ -1,5 +1,5 @@
---
name: Gleam
language: Gleam
contributors:
- ["Antonio Ognio", "https://github.com/aognio/"]
filename: learngleam.gleam

3
go.md
View File

@ -1,5 +1,6 @@
---
name: Go
category: language
language: Go
filename: learngo.go
contributors:
- ["Sonia Keys", "https://github.com/soniakeys"]

View File

@ -1,5 +1,5 @@
---
name: GolfScript
language: GolfScript
filename: golfscript.gs
contributors:
- ["Nicholas S Georgescu", "http://github.com/ngeorgescu"]

View File

@ -1,5 +1,5 @@
---
name: Groovy
language: Groovy
filename: learngroovy.groovy
contributors:
- ["Roberto Pérez Alcolea", "http://github.com/rpalcolea"]

View File

@ -1,5 +1,5 @@
---
name: Hack
language: Hack
contributors:
- ["Andrew DiMola", "https://github.com/AndrewDiMola"]
- ["Stephen Holdaway", "https://github.com/stecman"]

View File

@ -1,5 +1,5 @@
---
name: Haml
language: Haml
filename: learnhaml.haml
contributors:
- ["Simon Neveu", "https://github.com/sneveu"]

View File

@ -1,5 +1,5 @@
---
name: Haskell
language: Haskell
filename: learnhaskell.hs
contributors:
- ["Adit Bhargava", "http://adit.io"]
@ -66,7 +66,6 @@ True || False -- True
['H', 'e', 'l', 'l', 'o'] -- "Hello"
-- Lists can be indexed with the `!!` operator followed by an index
-- but this is an O(n) operation because lists are linked lists
"This is a string" !! 0 -- 'T'
@ -274,7 +273,7 @@ case args of
map (*2) [1..5] -- [2, 4, 6, 8, 10]
-- you can make a for function using map
for list func = map func list
for array func = map func array
-- and then use it
for [0..5] $ \i -> show i
@ -282,9 +281,6 @@ for [0..5] $ \i -> show i
-- we could've written that like this too:
for [0..5] show
-- filter keeps only the elements in a list that satisfy a condition
filter even [1..10] -- [2, 4, 8, 10]
-- You can use foldl or foldr to reduce a list
-- foldl <fn> <initial value> <list>
foldl (\x y -> 2*x + y) 4 [1,2,3] -- 43

View File

@ -1,5 +1,5 @@
---
name: Haxe
language: Haxe
filename: LearnHaxe3.hx
contributors:
- ["Justin Donaldson", "https://github.com/jdonaldson/"]

2
hcl.md
View File

@ -1,6 +1,6 @@
---
category: tool
name: HCL
tool: HCL
contributors:
- ["Romans Malinovskis" , "http://github.com/romaninsh"]
filename: terraform.txt

2
hdl.md
View File

@ -1,5 +1,5 @@
---
name: HDL
language: HDL
filename: learnhdl.hdl
contributors:
- ["Jack Smith", "https://github.com/JSmithTech2019"]

View File

@ -1,11 +1,11 @@
---
name: Hjson
language: Hjson
filename: learnhjson.hjson
contributors:
- ["MrTeferi", "https://github.com/MrTeferi"]
---
Hjson is an attempt to make [JSON](../json/) more human readable.
Hjson is an attempt to make [JSON](https://learnxinyminutes.com/docs/json/) more human readable.
Hjson is a syntax extension to JSON.
It's NOT a proposal to replace JSON or to incorporate it into the JSON spec itself.

View File

@ -1,5 +1,5 @@
---
name: HOCON
language: HOCON
filename: learnhocon.conf
contributors:
- [TehBrian, 'https://tehbrian.xyz']

View File

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

View File

@ -1,5 +1,5 @@
---
name: HTML
language: HTML
filename: learnhtml.txt
contributors:
- ["Christophe THOMAS", "https://github.com/WinChris"]

View File

@ -1,6 +1,6 @@
---
category: tool
name: HTTPie
tool: HTTPie
contributors:
- ["Adaías Magdiel", "https://github.com/AdaiasMagdiel"]
filename: learn-httpie.sh

View File

@ -18,7 +18,7 @@ bele. Tulajdonképpen futtatható pszeudokód.
Figyelem: ez a leírás a Python 2.7 verziójára vonatkozik, illetve
általánosságban a 2.x verziókra. A Python 2.7 azonban már csak 2020-ig lesz
támogatva, ezért kezdőknek ajánlott, hogy a Python 3-mal kezdjék az
ismerkedést. A Python 3.x verzióihoz a [Python 3 bemutató](/python/)
ismerkedést. A Python 3.x verzióihoz a [Python 3 bemutató](http://learnxinyminutes.com/docs/python/)
ajánlott.
Lehetséges olyan Python kódot írni, ami egyszerre kompatibilis a 2.7 és a 3.x

2
hy.md
View File

@ -1,5 +1,5 @@
---
name: Hy
language: Hy
filename: learnhy.hy
contributors:
- ["Abhishek L", "http://twitter.com/abhishekl"]

View File

@ -1,5 +1,5 @@
---
name: Inform7
language: Inform7
contributors:
- ["Hyphz", "http://github.com/hyphz/"]
filename: LearnInform.Inform

View File

@ -8,7 +8,7 @@ translators:
jQuery è una libreria JavaScript che ti aiuta a "fare di più, scrivendo meno". Rende molte attività comuni di JavaScript più facili da scrivere. jQuery è utilizzato da molte grandi aziende e sviluppatori in tutto il mondo. Rende AJAX, gestione degli eventi, manipolazione dei documenti e molto altro, più facile e veloce.
Visto che jQuery è una libreria JavaScript dovresti prima [imparare JavaScript](../javascript/)
Visto che jQuery è una libreria JavaScript dovresti prima [imparare JavaScript](https://learnxinyminutes.com/docs/javascript/)
```js
///////////////////////////////////

View File

@ -15,7 +15,7 @@ translators:
Python è stato creato da Guido Van Rossum agli inizi degli anni 90. Oggi è uno dei più popolari linguaggi esistenti. Mi sono innamorato di Python per la sua chiarezza sintattica. E' sostanzialmente pseudocodice eseguibile.
Nota: Questo articolo è riferito a Python 3 in modo specifico. Se volete avete la necessità di utilizzare Python 2.7 potete consultarla [qui](../pythonlegacy/)
Nota: Questo articolo è riferito a Python 3 in modo specifico. Se volete avete la necessità di utilizzare Python 2.7 potete consultarla [qui](https://learnxinyminutes.com/docs/it-it/python-it/)
```python
# I commenti su una sola linea iniziano con un cancelletto

View File

@ -16,7 +16,7 @@ pseudocodice eseguibile.
Nota: questo articolo è riferito a Python 2.7 in modo specifico, ma dovrebbe andar
bene anche per Python 2.x. Python 2.7 sta raggiungendo il "fine vita", ovvero non sarà
più supportato nel 2020. Quindi è consigliato imparare Python utilizzando Python 3.
Per maggiori informazioni su Python 3.x, dai un'occhiata al [tutorial di Python 3](../python/).
Per maggiori informazioni su Python 3.x, dai un'occhiata al [tutorial di Python 3](http://learnxinyminutes.com/docs/python/).
E' possibile anche scrivere codice compatibile sia con Python 2.7 che con Python 3.x,
utilizzando [il modulo `__future__`](https://docs.python.org/2/library/__future__.html) di Python.

View File

@ -6,7 +6,7 @@ translators:
- ["Ale46", "https://gihub.com/ale46"]
---
**Qt** è un framework ampiamente conosciuto per lo sviluppo di software multipiattaforma che può essere eseguito su varie piattaforme software e hardware con modifiche minime o nulle nel codice, pur avendo la potenza e la velocità delle applicazioni native. Sebbene **Qt** sia stato originariamente scritto in *C++*, ci sono diversi porting in altri linguaggi: *[PyQt](../pyqt/)*, *QtRuby*, *PHP-Qt*, etc.
**Qt** è un framework ampiamente conosciuto per lo sviluppo di software multipiattaforma che può essere eseguito su varie piattaforme software e hardware con modifiche minime o nulle nel codice, pur avendo la potenza e la velocità delle applicazioni native. Sebbene **Qt** sia stato originariamente scritto in *C++*, ci sono diversi porting in altri linguaggi: *[PyQt](https://learnxinyminutes.com/docs/pyqt/)*, *QtRuby*, *PHP-Qt*, etc.
**Qt** è ottimo per la creazione di applicazioni con interfaccia utente grafica (GUI). Questo tutorial descrive come farlo in *C++*.

View File

@ -18,7 +18,7 @@ filename: learnpython-jp.py
私は構文の明快さによって、Pythonと恋に落ちました。
以下は基本的に実行可能な疑似コードです。
Note: この記事はPython 3に内容を絞っています。もし古いPython 2.7を学習したいなら、 [こちら](/pythonlegacy/) をご確認下さい。
Note: この記事はPython 3に内容を絞っています。もし古いPython 2.7を学習したいなら、 [こちら](http://learnxinyminutes.com/docs/pythonlegacy/) をご確認下さい。
```python
# 1行のコメントは番号記号(#)から始まります。

View File

@ -706,7 +706,7 @@ require(plyr)
# "pets.csv"は、インターネット上に置いてあるファイルです
# (しかし、自分のPCにあるのと同じぐらい簡単に扱う事ができます)
pets <- read.csv("https://learnxinyminutes.com/pets.csv")
pets <- read.csv("http://learnxinyminutes.com/docs/pets.csv")
pets
head(pets, 2) # 最初の2行
tail(pets, 1) # 最後の行

View File

@ -1,5 +1,5 @@
---
name: Janet
language: Janet
filename: learnJanet.janet
contributors:
- ["John Gabriele", "http://www.unexpected-vortices.com/"]

Some files were not shown because too many files have changed in this diff Show More