mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-10-05 00:58:17 +03:00
Merge pull request #3187 from divayprakash/fix-build-issues
Fix build errors, closes #2753
This commit is contained in:
commit
79bcf8ce5b
@ -16,7 +16,7 @@ popular and recent book is [Land of Lisp](http://landoflisp.com/). A new book ab
|
||||
|
||||
|
||||
|
||||
```common-lisp
|
||||
```lisp
|
||||
|
||||
;;;-----------------------------------------------------------------------------
|
||||
;;; 0. Syntax
|
||||
|
@ -13,7 +13,7 @@ Markdown byl vytvořen Johnem Gruberem v roce 2004. Je zamýšlen jako lehce či
|
||||
a psatelná syntaxe, která je jednoduše převeditelná do HTML (a dnes i do mnoha
|
||||
dalších formátů)
|
||||
|
||||
```markdown
|
||||
```md
|
||||
<!-- Markdown je nadstavba nad HTML, takže jakýkoliv kód HTML je validní
|
||||
Markdown, to znamená, že můžeme používat HTML elementy, třeba jako komentář, a
|
||||
nebudou ovlivněny parserem Markdownu. Avšak, pokud vytvoříte HTML element v
|
||||
|
@ -16,19 +16,19 @@ Nodes
|
||||
|
||||
**Represents a record in a graph.**
|
||||
|
||||
```()```
|
||||
`()`
|
||||
It's an empty *node*, to indicate that there is a *node*, but it's not relevant for the query.
|
||||
|
||||
```(n)```
|
||||
`(n)`
|
||||
It's a *node* referred by the variable **n**, reusable in the query. It begins with lowercase and uses camelCase.
|
||||
|
||||
```(p:Person)```
|
||||
`(p:Person)`
|
||||
You can add a *label* to your node, here **Person**. It's like a type / a class / a category. It begins with uppercase and uses camelCase.
|
||||
|
||||
```(p:Person:Manager)```
|
||||
`(p:Person:Manager)`
|
||||
A node can have many *labels*.
|
||||
|
||||
```(p:Person {name : 'Théo Gauchoux', age : 22})```
|
||||
`(p:Person {name : 'Théo Gauchoux', age : 22})`
|
||||
A node can have some *properties*, here **name** and **age**. It begins with lowercase and uses camelCase.
|
||||
|
||||
The types allowed in properties :
|
||||
@ -40,7 +40,7 @@ The types allowed in properties :
|
||||
|
||||
*Warning : there isn't datetime property in Cypher ! You can use String with a specific pattern or a Numeric from a specific date.*
|
||||
|
||||
```p.name```
|
||||
`p.name`
|
||||
You can access to a property with the dot style.
|
||||
|
||||
|
||||
@ -49,16 +49,16 @@ Relationships (or Edges)
|
||||
|
||||
**Connects two nodes**
|
||||
|
||||
```[:KNOWS]```
|
||||
`[:KNOWS]`
|
||||
It's a *relationship* with the *label* **KNOWS**. It's a *label* as the node's label. It begins with uppercase and use UPPER_SNAKE_CASE.
|
||||
|
||||
```[k:KNOWS]```
|
||||
`[k:KNOWS]`
|
||||
The same *relationship*, referred by the variable **k**, reusable in the query, but it's not necessary.
|
||||
|
||||
```[k:KNOWS {since:2017}]```
|
||||
`[k:KNOWS {since:2017}]`
|
||||
The same *relationship*, with *properties* (like *node*), here **since**.
|
||||
|
||||
```[k:KNOWS*..4]```
|
||||
`[k:KNOWS*..4]`
|
||||
It's a structural information to use in a *path* (seen later). Here, **\*..4** says "Match the pattern, with the relationship **k** which be repeated between 1 and 4 times.
|
||||
|
||||
|
||||
@ -67,16 +67,16 @@ Paths
|
||||
|
||||
**The way to mix nodes and relationships.**
|
||||
|
||||
```(a:Person)-[:KNOWS]-(b:Person)```
|
||||
`(a:Person)-[:KNOWS]-(b:Person)`
|
||||
A path describing that **a** and **b** know each other.
|
||||
|
||||
```(a:Person)-[:MANAGES]->(b:Person)```
|
||||
`(a:Person)-[:MANAGES]->(b:Person)`
|
||||
A path can be directed. This path describes that **a** is the manager of **b**.
|
||||
|
||||
```(a:Person)-[:KNOWS]-(b:Person)-[:KNOWS]-(c:Person)```
|
||||
`(a:Person)-[:KNOWS]-(b:Person)-[:KNOWS]-(c:Person)`
|
||||
You can chain multiple relationships. This path describes the friend of a friend.
|
||||
|
||||
```(a:Person)-[:MANAGES]->(b:Person)-[:MANAGES]->(c:Person)```
|
||||
`(a:Person)-[:MANAGES]->(b:Person)-[:MANAGES]->(c:Person)`
|
||||
A chain can also be directed. This path describes that **a** is the boss of **b** and the big boss of **c**.
|
||||
|
||||
Patterns often used (from Neo4j doc) :
|
||||
@ -230,13 +230,13 @@ DELETE n, r
|
||||
Other useful clauses
|
||||
---
|
||||
|
||||
```PROFILE```
|
||||
`PROFILE`
|
||||
Before a query, show the execution plan of it.
|
||||
|
||||
```COUNT(e)```
|
||||
`COUNT(e)`
|
||||
Count entities (nodes or relationships) matching **e**.
|
||||
|
||||
```LIMIT x```
|
||||
`LIMIT x`
|
||||
Limit the result to the x first results.
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@ fácilmente a HTML (y, actualmente, otros formatos también).
|
||||
¡Denme toda la retroalimentación que quieran! / ¡Sientanse en la libertad de hacer forks o pull requests!
|
||||
|
||||
|
||||
```markdown
|
||||
```md
|
||||
<!-- Markdown está basado en HTML, así que cualquier archivo HTML es Markdown
|
||||
válido, eso significa que podemos usar elementos HTML en Markdown como, por
|
||||
ejemplo, el comentario y no serán afectados por un parseador Markdown. Aún
|
||||
|
@ -13,7 +13,7 @@ Objective C es el lenguaje de programación principal utilizado por Apple para l
|
||||
Es un lenguaje de programación para propósito general que le agrega al lenguaje de programación C una mensajería estilo "Smalltalk".
|
||||
|
||||
|
||||
```objective_c
|
||||
```objectivec
|
||||
// Los comentarios de una sola línea inician con //
|
||||
|
||||
/*
|
||||
|
@ -10,7 +10,7 @@ filename: learnvisualbasic-es.vb
|
||||
lang: es-es
|
||||
---
|
||||
|
||||
```vb
|
||||
```
|
||||
Module Module1
|
||||
|
||||
Sub Main()
|
||||
|
@ -10,7 +10,7 @@ lang: fi-fi
|
||||
|
||||
John Gruber loi Markdownin vuona 2004. Sen tarkoitus on olla helposti luettava ja kirjoitettava syntaksi joka muuntuu helposti HTML:ksi (ja nyt myös moneksi muuksi formaatiksi).
|
||||
|
||||
```markdown
|
||||
```md
|
||||
<!-- Jokainen HTML-tiedosto on pätevää Markdownia. Tämä tarkoittaa että voimme
|
||||
käyttää HTML-elementtejä Markdownissa, kuten kommentteja, ilman että markdown
|
||||
-jäsennin vaikuttaa niihin. Tästä johtuen et voi kuitenkaan käyttää markdownia
|
||||
|
@ -13,7 +13,7 @@ Markdown dibuat oleh John Gruber pada tahun 2004. Tujuannya untuk menjadi syntax
|
||||
Beri masukan sebanyak-banyaknya! / Jangan sungkan untuk melakukan fork dan pull request!
|
||||
|
||||
|
||||
```markdown
|
||||
```md
|
||||
<!-- Markdown adalah superset dari HTML, jadi setiap berkas HTML adalah markdown yang
|
||||
valid, ini berarti kita dapat menggunakan elemen HTML dalam markdown, seperti elemen
|
||||
komentar, dan ia tidak akan terpengaruh parser markdown. Namun, jika Anda membuat
|
||||
|
@ -28,7 +28,7 @@ Markdown varia nelle sue implementazioni da un parser all'altro. Questa guida ce
|
||||
## Elementi HTML
|
||||
Markdown è un superset di HTML, quindi ogni file HTML è a sua volta un file Markdown valido.
|
||||
|
||||
```markdown
|
||||
```md
|
||||
<!-- Questo significa che possiamo usare elementi di HTML in Markdown, come per esempio i commenti,
|
||||
e questi non saranno modificati dal parser di Markdown. State attenti però,
|
||||
se inserite un elemento HTML nel vostro file Markdown, non potrete usare la sua sintassi
|
||||
|
@ -25,7 +25,7 @@ lang: ko-kr
|
||||
|
||||
## HTML 요소
|
||||
HTML은 마크다운의 수퍼셋입니다. 모든 HTML 파일은 유효한 마크다운이라는 것입니다.
|
||||
```markdown
|
||||
```md
|
||||
<!--따라서 주석과 같은 HTML 요소들을 마크다운에 사용할 수 있으며, 마크다운 파서에 영향을
|
||||
받지 않을 것입니다. 하지만 마크다운 파일에서 HTML 요소를 만든다면 그 요소의 안에서는
|
||||
마크다운 문법을 사용할 수 없습니다.-->
|
||||
|
@ -197,7 +197,7 @@ inside your code
|
||||
end
|
||||
```
|
||||
|
||||
Inline code can be created using the backtick character `
|
||||
Inline code can be created using the backtick character `` ` ``
|
||||
|
||||
```md
|
||||
John didn't even know what the `go_to()` function did!
|
||||
|
@ -12,7 +12,7 @@ Markdown is gecreëerd door John Gruber in 2004. Het is bedoeld om met een gemak
|
||||
schrijven syntax te zijn die gemakkelijk omgevormd kan worden naar HTML (en op heden verschillende
|
||||
andere formaten)
|
||||
|
||||
```markdown
|
||||
```md
|
||||
<!-- Markdown erft over van HTML, dus ieder HTML bestand is een geldig Markdown
|
||||
bestand. Dit betekend ook dat html elementen gebruikt kunnen worden in Markdown
|
||||
zoals het commentaar element. Echter, als je een html element maakt in een Markdown
|
||||
|
@ -19,7 +19,7 @@ Outro livro recente e popular é o
|
||||
[Land of Lisp](http://landoflisp.com/).
|
||||
|
||||
|
||||
```common-lisp
|
||||
```lisp
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;;; 0. Sintaxe
|
||||
|
@ -14,7 +14,7 @@ escrever sintaxe que converte facilmente em HTML (hoje, suporta outros formatos
|
||||
Dê-me feedback tanto quanto você quiser! / Sinta-se livre para a garfar (fork) e
|
||||
puxar o projeto (pull request)
|
||||
|
||||
```markdown
|
||||
```md
|
||||
<!-- Markdown é um superconjunto do HTML, de modo que qualquer arvquivo HTML é
|
||||
um arquivo Markdown válido, isso significa que nós podemos usar elementos HTML
|
||||
em Markdown, como o elemento de comentário, e eles não serão afetados pelo analisador
|
||||
|
@ -8,7 +8,7 @@ lang: pt-br
|
||||
filename: learnvisualbasic-pt.vb
|
||||
---
|
||||
|
||||
```vb
|
||||
```
|
||||
Module Module1
|
||||
|
||||
module Module1
|
||||
|
@ -36,7 +36,7 @@ lang: ru-ru
|
||||
Markdown является надмножеством HTML, поэтому любой HTML-файл является
|
||||
корректным документом Markdown.
|
||||
|
||||
```markdown
|
||||
```md
|
||||
<!-- Это позволяет использовать напрямую
|
||||
любые элементы HTML-разметки, такие, например, как этот комментарий.
|
||||
Встроенные в документ HTML-элементы не затрагиваются парсером Markdown
|
||||
|
@ -12,7 +12,7 @@ It is an alternative to YAML and JSON. It aims to be more human friendly than JS
|
||||
Be warned, TOML's spec is still changing a lot. Until it's marked as 1.0, you
|
||||
should assume that it is unstable and act accordingly. This document follows TOML v0.4.0.
|
||||
|
||||
```toml
|
||||
```
|
||||
# Comments in TOML look like this.
|
||||
|
||||
################
|
||||
|
@ -11,7 +11,7 @@ filename: markdown-tr.md
|
||||
Markdown, 2004 yılında John Gruber tarafından oluşturuldu. Asıl amacı kolay okuma ve yazmayı sağlamakla beraber kolayca HTML (artık bir çok diğer formatlara) dönüşüm sağlamaktır.
|
||||
|
||||
|
||||
```markdown
|
||||
```md
|
||||
<!-- Markdown, HTML'i kapsar, yani her HTML dosyası geçerli bir Markdown dosyasıdır, bu demektir
|
||||
ki Markdown içerisinde HTML etiketleri kullanabiliriz, örneğin bu yorum elementi, ve
|
||||
markdown işleyicisinde etki etmezler. Fakat, markdown dosyası içerisinde HTML elementi oluşturursanız,
|
||||
|
@ -5,7 +5,7 @@ contributors:
|
||||
filename: learnvisualbasic.vb
|
||||
---
|
||||
|
||||
```vbnet
|
||||
```
|
||||
Module Module1
|
||||
|
||||
Sub Main()
|
||||
|
@ -8,7 +8,7 @@ lang: zh-cn
|
||||
filename: learnvisualbasic-cn.vb
|
||||
---
|
||||
|
||||
```vbnet
|
||||
```
|
||||
Module Module1
|
||||
|
||||
Sub Main()
|
||||
|
Loading…
Reference in New Issue
Block a user