Compare commits

..

1 Commits

Author SHA1 Message Date
Éric NICOLAS
71cafe0c8b
Merge 0ef979f937 into 39727a7971 2024-10-23 05:15:28 +03:00
82 changed files with 449 additions and 346 deletions

View File

@ -90,26 +90,27 @@ addition or not.
## Building the site locally ## Building the site locally
Install Ruby. On macOS this can be done with [Homebrew](https://brew.sh/). You can build the site locally to test your changes. Follow the steps below.
```sh * Install Ruby language runtime and RubyGems. See
brew install ruby [here](https://middlemanapp.com/basics/install/)
# Install Ruby package manager for more details.
gem install bundler * Clone or zip download the
``` [learnxinyminutes-site](https://github.com/adambard/learnxinyminutes-site)
repository.
Then clone two repos, install dependencies and run. * `git clone https://github.com/adambard/learnxinyminutes-site`
* Install Middleman and other required dependencies using Bundler.
```sh * `cd learnxinyminutes-site/`
# Clone website * `bundle install`
git clone https://github.com/adambard/learnxinyminutes-site * Get the source in place
# Clone docs (this repo) nested in website * Copy the contents of your clone of the fork of learnxinyminutes-docs repo
git clone https://github.com/<YOUR-USERNAME>/learnxinyminutes-docs ./learnxinyminutes-site/source/docs/ into the `source/docs` folder. There shouldn't be a `learnxinyminutes-docs`
folder inside the `docs` folder, it should just contain all the repo
# Install dependencies contents.
cd learnxinyminutes-site * Checkout your fork of the learnxinyminutes-docs repo as `source/docs`.
bundle install * `cd source/docs/`
* `git clone https://github.com/YOUR-USERNAME/learnxinyminutes-docs ./source/docs/`
# Run * Build the site or run a development server to test your changes (NOTE: run
bundle exec middleman serve these commands at `learnxinyminutes-site/`).
``` * Build - `bundle exec middleman build`
* Dev server - `bundle exec middleman --force-polling --verbose`

View File

@ -3,7 +3,7 @@ category: framework
framework: AngularJS framework: AngularJS
contributors: contributors:
- ["Walter Cordero", "http://waltercordero.com"] - ["Walter Cordero", "http://waltercordero.com"]
filename: learnangular.txt filename: learnangular.html
--- ---
## AngularJS Tutorial. ## AngularJS Tutorial.

View File

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

View File

@ -1,4 +1,5 @@
--- ---
name: perl
category: language category: language
language: Perl language: Perl
filename: learnperl-bg.pl filename: learnperl-bg.pl

View File

@ -1,4 +1,5 @@
--- ---
name: Go
category: language category: language
language: Go language: Go
lang: ca-es lang: ca-es

View File

@ -1,4 +1,5 @@
--- ---
name: Groovy
category: language category: language
language: Groovy language: Groovy
lang: ca-es lang: ca-es

View File

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

View File

@ -1,4 +1,5 @@
--- ---
name: Go
category: language category: language
language: Go language: Go
filename: learngo-cs.go filename: learngo-cs.go

View File

@ -1,4 +1,5 @@
--- ---
name: CUE
category: language category: language
language: CUE language: CUE
filename: learncue.cue filename: learncue.cue

View File

@ -26,7 +26,7 @@ Eine Versionsverwaltung erfasst die Änderungen einer Datei oder eines Verzeichn
* Verteilte Versionsverwaltung konzentriert sich auf das Teilen der Änderungen. Jede Änderung hat eine eindeutige ID. * Verteilte Versionsverwaltung konzentriert sich auf das Teilen der Änderungen. Jede Änderung hat eine eindeutige ID.
* Verteilte Systeme haben keine vorbestimmte Struktur. Ein SVN-ähnliches, zentrales System wäre mit Git ebenso umsetzbar. * Verteilte Systeme haben keine vorbestimmte Struktur. Ein SVN-ähnliches, zentrales System wäre mit Git ebenso umsetzbar.
[Weiterführende Informationen](https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control) [Weiterführende Informationen](http://git-scm.com/book/en/Getting-Started-About-Version-Control)
### Warum Git? ### Warum Git?
@ -50,7 +50,7 @@ Ein Repository besteht in Git aus dem .git-Verzeichnis und dem Arbeitsverzeichni
### .git-Verzeichnis (Teil des Repositorys) ### .git-Verzeichnis (Teil des Repositorys)
Das .git-Verzeichnis enthält alle Einstellungen, Logs, Branches, den HEAD und mehr. Das .git-Verzeichnis enthält alle Einstellungen, Logs, Branches, den HEAD und mehr.
[Ausführliche Übersicht](https://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html) [Ausführliche Übersicht](http://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html)
### Arbeitsverzeichnis (Teil des Repositorys) ### Arbeitsverzeichnis (Teil des Repositorys)
@ -74,6 +74,12 @@ HEAD ist ein Pointer auf den aktuellen Branch. Ein Repository hat nur einen *akt
Ein *head* ist ein Pointer, der auf einen beliebigen Commit zeigt. Ein Repository kann eine beliebige Zahl von *heads* enthalten. Ein *head* ist ein Pointer, der auf einen beliebigen Commit zeigt. Ein Repository kann eine beliebige Zahl von *heads* enthalten.
### Konzeptionelle Hintergründe
* [Git For Computer Scientists](http://eagain.net/articles/git-for-computer-scientists/)
* [Git For Designers](http://hoth.entp.com/output/git_for_designers.html)
## Befehle ## Befehle
@ -98,7 +104,7 @@ $ git config --global user.email "MyEmail@Zoho.com"
$ git config --global user.name "My Name" $ git config --global user.name "My Name"
``` ```
[Mehr über git config](https://git-scm.com/docs/git-config) [Mehr über git config](http://git-scm.com/docs/git-config)
### help ### help
@ -249,7 +255,7 @@ $ git grep -e 'arrayListName' --and \( -e add -e remove \)
``` ```
Google ist dein Freund; für mehr Beispiele: Google ist dein Freund; für mehr Beispiele:
[Git Grep Ninja](https://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja) [Git Grep Ninja](http://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja)
### log ### log
@ -332,7 +338,7 @@ Nimm alle Änderungen, die in einem Branch durch Commits vorgenommen wurden, und
$ git rebase master experimentBranch $ git rebase master experimentBranch
``` ```
[Weiterführende Informationen](https://git-scm.com/book/en/v2/Git-Branching-Rebasing) [Weiterführende Informationen](http://git-scm.com/book/en/Git-Branching-Rebasing)
### reset (mit Vorsicht einsetzen) ### reset (mit Vorsicht einsetzen)
@ -369,12 +375,14 @@ $ git rm /pather/to/the/file/HelloWorld.c
## Weiterführende Informationen ## Weiterführende Informationen
* [git-scm - Video Tutorials](https://git-scm.com/videos) * [tryGit - A fun interactive way to learn Git.](http://try.github.io/levels/1/challenges/1)
* [git-scm - Documentation](https://git-scm.com/docs) * [git-scm - Video Tutorials](http://git-scm.com/videos)
* [git-scm - Documentation](http://git-scm.com/docs)
* [Atlassian Git - Tutorials & Workflows](https://www.atlassian.com/git/) * [Atlassian Git - Tutorials & Workflows](https://www.atlassian.com/git/)
* [gitflow - Ein Modell um mit Branches zu arbeiten](https://nvie.com/posts/a-successful-git-branching-model/) * [SalesForce Cheat Sheet](https://na1.salesforce.com/help/doc/en/salesforce_git_developer_cheatsheet.pdf)
* [Git For Computer Scientists](https://eagain.net/articles/git-for-computer-scientists/) * [gitflow - Ein Modell um mit Branches zu arbeiten](http://nvie.com/posts/a-successful-git-branching-model/)

View File

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

View File

@ -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.txt filename: learnhtml-de.html
lang: de-de lang: de-de
--- ---

View File

@ -6,6 +6,7 @@ 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
--- ---

View File

@ -36,7 +36,7 @@ initiiert werden.
Ein einfaches Beispiel für die Dateisyntax: Ein einfaches Beispiel für die Dateisyntax:
```rst ```
.. Zeilen, die mit zwei Punkten starten sind spezielle Befehle. .. Zeilen, die mit zwei Punkten starten sind spezielle Befehle.
.. Wenn kein Befehl gefunden wird, wird die Zeile als Kommentar gewertet. .. Wenn kein Befehl gefunden wird, wird die Zeile als Kommentar gewertet.

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
--- ---
language: JSON language: JSON
filename: json-gr.json filename: json-gr.html.markdown
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"]

View File

@ -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.dart filename: dart-es.md
lang: es-es lang: es-es
--- ---

View File

@ -31,7 +31,7 @@ uno o varios archivos, a lo largo del tiempo.
+ El versionamiento distribuido no tiene una estructura definida, incluso se + El versionamiento distribuido no tiene una estructura definida, incluso se
puede mantener el estilo de los repositorios SVN con git. puede mantener el estilo de los repositorios SVN con git.
[Información adicional](https://git-scm.com/book/es/v2/Inicio---Sobre-el-Control-de-Versiones-Acerca-del-Control-de-Versiones) [Información adicional](http://git-scm.com/book/es/Empezando-Acerca-del-control-de-versiones)
### ¿Por qué usar Git? ### ¿Por qué usar Git?
@ -58,7 +58,7 @@ Un repositorio esta compuesto por la carpeta .git y un "árbol de trabajo".
El directorio .git contiene todas las configuraciones, registros, branches, HEAD El directorio .git contiene todas las configuraciones, registros, branches, HEAD
y mas. y mas.
[Lista detallada.](https://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html) [Lista detallada.](http://es.gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html)
### Directorio de trabajo (componentes del repositorio) ### Directorio de trabajo (componentes del repositorio)
@ -91,8 +91,15 @@ repositorio solo puede tener un HEAD activo. En cambio "head", es un apuntador a
cualquier commit realizado, un repositorio puede tener cualquier número de cualquier commit realizado, un repositorio puede tener cualquier número de
"heads". "heads".
### conceptos - recursos.
* [Git para informáticos](http://eagain.net/articles/git-for-computer-scientists/)
* [Git para diseñadores](http://hoth.entp.com/output/git_for_designers.html)
## Comandos. ## Comandos.
### init ### init
Crear un repositorio de git vacio. Las configuraciones, información almacenada y Crear un repositorio de git vacio. Las configuraciones, información almacenada y
@ -116,7 +123,7 @@ $ git config --global user.email "corre@gmail.com"
$ git config --global user.name "nombre" $ git config --global user.name "nombre"
``` ```
[Más sobre git config.](https://git-scm.com/book/es/v2/Personalizaci%c3%b3n-de-Git-Configuraci%c3%b3n-de-Git) [Más sobre git config.](http://git-scm.com/book/es/Personalizando-Git-Configuración-de-Git)
### help ### help
@ -268,7 +275,7 @@ $ git grep -e 'nombreArreglo' --and \( -e agregar -e remover \)
Más ejemplos: Más ejemplos:
- [Git Grep Ninja](https://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja) - [Git Grep Ninja](http://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja)
### log ### log
@ -347,7 +354,7 @@ de otra rama. *No reescribe los commits que se han empujado antes a un repositor
$ git rebase master experimentBranch $ git rebase master experimentBranch
``` ```
[Información adicional.](https://git-scm.com/book/es/v2/Ramificaciones-en-Git-Reorganizar-el-Trabajo-Realizado) [Información adicional.](http://git-scm.com/book/es/Ramificaciones-en-Git-Procedimientos-básicos-para-ramificar-y-fusionar)
### reset (precaución) ### reset (precaución)
@ -389,18 +396,22 @@ $ git rm /directorio/del/archivo/FooBar.c
## Información Adicional ## Información Adicional
* [tryGit - Una forma entretenida y rapida de aprender Git.](http://try.github.io/levels/1/challenges/1)
* [Udemy tutorial de Git: Una guía completa](https://blog.udemy.com/git-tutorial-a-comprehensive-guide/) * [Udemy tutorial de Git: Una guía completa](https://blog.udemy.com/git-tutorial-a-comprehensive-guide/)
* [Inmersión Git - Una visita guiada caminando a través de los fundamentos de git](https://gitimmersion.com/) * [Inmersión Git - Una visita guiada caminando a través de los fundamentos de git](http://gitimmersion.com/)
* [git-scm - Video-tutoriales](https://git-scm.com/videos) * [git-scm - Video-tutoriales](http://git-scm.com/videos)
* [git-scm - Documentacion](http://git-scm.com/book/es)
* [Atlassian Git - Tutoriales y Flujos de trabajo](https://www.atlassian.com/git/) * [Atlassian Git - Tutoriales y Flujos de trabajo](https://www.atlassian.com/git/)
* [git - la guía sencilla](https://rogerdudler.github.io/git-guide/index.es.html) * [SalesForce Chuleta](https://na1.salesforce.com/help/doc/en/salesforce_git_developer_cheatsheet.pdf)
* [Pro Git](https://git-scm.com/book/es/v2) * [Git - La guía simple](http://rogerdudler.github.io/git-guide/index.html)
* [Una introducción a Git y GitHub para principiantes (Tutorial)](https://product.hubspot.com/blog/git-and-github-tutorial-for-beginners) * [Pro Git](http://www.git-scm.com/book/en/v2)
* [Git para informáticos](https://eagain.net/articles/git-for-computer-scientists/) * [Una introducción a Git y GitHub para principiantes (Tutorial)](http://product.hubspot.com/blog/git-and-github-tutorial-for-beginners)

View File

@ -1,4 +1,5 @@
--- ---
name: Go
category: language category: language
language: Go language: Go
lang: es-es lang: es-es

View File

@ -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.groovy filename: groovy-es.html
--- ---
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/).

View File

@ -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.hs filename: haskell-es.md
lang: es-es lang: es-es
--- ---

View File

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

View File

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

View File

@ -1,4 +1,5 @@
--- ---
name: perl
category: language category: language
language: Perl language: Perl
filename: learnperl-es.pl filename: learnperl-es.pl

View File

@ -1,4 +1,5 @@
--- ---
name: Raku
category: language category: language
language: Raku language: Raku
filename: learnraku-es.raku filename: learnraku-es.raku

View File

@ -9,6 +9,7 @@ filename: restructuredtext-es.rst
lang: es-es lang: es-es
--- ---
RST, de Restructured Text, es un formato de fichero creado por la comunidad Python para escribir documentación. Es parte del paquete [Docutils](https://docutils.sourceforge.io/rst.html). RST, de Restructured Text, es un formato de fichero creado por la comunidad Python para escribir documentación. Es parte del paquete [Docutils](https://docutils.sourceforge.io/rst.html).
RST es un lenguaje de marcas similar a HTML pero mucho más ligero y fácil de leer. RST es un lenguaje de marcas similar a HTML pero mucho más ligero y fácil de leer.
@ -29,11 +30,12 @@ Si tu sistema tiene `pip`, también puedes utilizarlo para instalar `docutils`.
$ pip install docutils $ pip install docutils
``` ```
## Sintaxis. ## Sintaxis.
Un ejemplo simple de sintaxis: Un ejemplo simple de sintaxis:
```rst ```
.. Las líneas que empiezan por un punto seguido de otro punto son comandos especiales. Si no se encuentra ningún comando, se considerará que esa línea es un comentario. .. Las líneas que empiezan por un punto seguido de otro punto son comandos especiales. Si no se encuentra ningún comando, se considerará que esa línea es un comentario.
======================================================================== ========================================================================
@ -63,14 +65,14 @@ Recuerda alinear los símbolos de lista (como - o \*) al margen izquierdo del an
- Segundo elemento - Segundo elemento
- Subelemento - Subelemento
- Tercer elemento - Tercer elemento
o o
* Primer elemento * Primer elemento
* Segundo elemento * Segundo elemento
* Subelemento * Subelemento
* Tercer elemento * Tercer elemento
@ -95,6 +97,7 @@ Hay varias formas de construir enlaces:
.. _GitHub: https://github.com/ .. _GitHub: https://github.com/
``` ```
## Como utilizarlo ## Como utilizarlo
RST viene con el paquete `docutils` dentro del cual está el comando `rst2html`, por ejemplo: RST viene con el paquete `docutils` dentro del cual está el comando `rst2html`, por ejemplo:
@ -111,6 +114,7 @@ Hay aplicaciones más complejas que usan el formato RST:
- [Sphinx](http://sphinx-doc.org/), un generador de documentación. - [Sphinx](http://sphinx-doc.org/), un generador de documentación.
- y muchos otros. - y muchos otros.
## Otras lecturas ## Otras lecturas
- [Referencia rápida oficial](http://docutils.sourceforge.net/docs/user/rst/quickref.html) - [Referencia rápida oficial](http://docutils.sourceforge.net/docs/user/rst/quickref.html)

View File

@ -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.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. Wolfram es un lenguaje subyacente originalmente utilizado en Mathematica, pero ahora esta disponible para su uso en múltiples contextos.

View File

@ -1,4 +1,5 @@
--- ---
name: Go
category: language category: language
language: Go language: Go
filename: learngo-fi.go filename: learngo-fi.go

View File

@ -41,7 +41,7 @@ program example ! declare a program called example.
real :: v, x ! WARNING: default initial values are compiler dependent! real :: v, x ! WARNING: default initial values are compiler dependent!
real :: a = 3, b = 2E12, c = 0.01 real :: a = 3, b = 2E12, c = 0.01
integer :: i, j, k = 1, m integer :: i, j, k = 1, m
real, parameter :: PI = 3.14159265 ! declare a constant. real, parameter :: PI = 3.1415926535897931 ! declare a constant.
logical :: y = .TRUE., n = .FALSE. ! boolean type. logical :: y = .TRUE., n = .FALSE. ! boolean type.
complex :: w = (0, 1) ! sqrt(-1) complex :: w = (0, 1) ! sqrt(-1)
character(len=3) :: month ! string of 3 characters. character(len=3) :: month ! string of 3 characters.
@ -461,10 +461,10 @@ end module fruity
! to express loop-level parallelism ! to express loop-level parallelism
integer :: i integer :: i
real :: array(10) real :: array(100)
DO CONCURRENT (i = 1:size(array)) DO CONCURRENT (i = 1:size(array))
array(i) = sqrt(real(i)**i) array(i) = sqrt(i**i)
END DO END DO

View File

@ -35,7 +35,7 @@ Chaque changement a un identifiant unique.
* Les systèmes distribués n'ont pas de structure définie. Vous pouvez aisément * Les systèmes distribués n'ont pas de structure définie. Vous pouvez aisément
avoir un système centralisé de type SVN, avec Git. avoir un système centralisé de type SVN, avec Git.
[Informations additionnelles](https://git-scm.com/book/fr/v2/D%C3%A9marrage-rapide-%C3%80-propos-de-la-gestion-de-version) [Informations additionnelles](http://git-scm.com/book/fr/v1/D%C3%A9marrage-rapide-%C3%80-propos-de-la-gestion-de-version)
### Pourquoi utiliser Git ? ### Pourquoi utiliser Git ?
@ -63,7 +63,7 @@ Un dépôt Git comprend un répertoire .git et "l'arbre de travail" (working tre
Le répertoire .git contient toutes les configurations, logs (journaux), Le répertoire .git contient toutes les configurations, logs (journaux),
branches, HEAD et plus. branches, HEAD et plus.
[Liste détaillée (EN)](https://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html) [Liste détaillée (EN)](http://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html)
### Arbre de travail (composant du dépôt) ### Arbre de travail (composant du dépôt)
@ -110,6 +110,12 @@ encore été rajouté à l'ensemble des fichiers Git
* Validé ("committed") - Les fichiers ont été validés dans l'ensemble de * Validé ("committed") - Les fichiers ont été validés dans l'ensemble de
fichiers fichiers
### Ressources conceptuelles
* [Git pour les informaticiens (EN)](http://eagain.net/articles/git-for-computer-scientists/)
* [Git pour les designers (EN)](http://hoth.entp.com/output/git_for_designers.html)
## Commandes ## Commandes
@ -135,7 +141,7 @@ $ git config --global user.email "monEmail@foo.com"
$ git config --global user.name "Mon nom" $ git config --global user.name "Mon nom"
``` ```
[Apprenez-en plus à propos de git config.](https://git-scm.com/book/fr/v2/Personnalisation-de-Git-Configuration-de-Git) [Apprenez-en plus à propos de git config.](https://git-scm.com/book/fr/v1/Personnalisation-de-Git-Configuration-de-Git)
### help ### help
@ -349,7 +355,7 @@ $ git grep -e 'nomDeTableau' --and \( -e rajouter -e enlever \)
``` ```
Google est votre ami; pour plus d'exemples : Google est votre ami; pour plus d'exemples :
[Git Grep Ninja](https://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja) [Git Grep Ninja](http://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja)
### log ### log
@ -501,7 +507,7 @@ $ git stash pop
Vous êtes maintenant prêt à retourner sur vos tâches de travail ! Vous êtes maintenant prêt à retourner sur vos tâches de travail !
[Lecture additionelle.](https://git-scm.com/book/fr/v2/Utilitaires-Git-Remisage-et-nettoyage) [Lecture additionelle.](https://git-scm.com/book/fr/v1/Utilitaires-Git-Le-remisage)
### rebase (attention) ### rebase (attention)
@ -515,7 +521,7 @@ ré-applique sur une autre branche.
$ git rebase master brancheExperience $ git rebase master brancheExperience
``` ```
[Lecture additionelle.](https://git-scm.com/book/fr/v2/Les-branches-avec-Git-Rebaser-Rebasing) [Lecture additionelle.](https://git-scm.com/book/fr/v1/Les-branches-avec-Git-Rebaser)
### reset (attention) ### reset (attention)
@ -558,18 +564,20 @@ $ git rm /chemin/vers/le/fichier/HelloWorld.c
## Informations complémentaires ## Informations complémentaires
* [tryGit - A fun interactive way to learn Git (EN)](http://try.github.io/levels/1/challenges/1)
* [Udemy Git Tutorial: A Comprehensive Guide (EN)](https://blog.udemy.com/git-tutorial-a-comprehensive-guide/) * [Udemy Git Tutorial: A Comprehensive Guide (EN)](https://blog.udemy.com/git-tutorial-a-comprehensive-guide/)
* [git-scm - Tutoriaux vidéos](https://git-scm.com/videos) * [git-scm - Tutoriaux vidéos](http://git-scm.com/videos)
* [git-scm - Documentation](https://git-scm.com/docs) * [git-scm - Documentation](http://git-scm.com/docs)
* [Atlassian Git - Tutoriaux et Workflows](https://www.atlassian.com/git/) * [Atlassian Git - Tutoriaux et Workflows](https://www.atlassian.com/git/)
* [git - petit guide](https://rogerdudler.github.io/git-guide/index.fr.html) * [SalesForce Cheat Sheet (EN)](https://na1.salesforce.com/help/doc/en/salesforce_git_developer_cheatsheet.pdf)
* [Livre Pro Git](https://git-scm.com/book/fr/v2) * [Git - the simple guide (EN)](http://rogerdudler.github.io/git-guide/index.html)
* [Une introduction à Git et GitHub pour les débutants (tutoriel) (EN)](https://product.hubspot.com/blog/git-and-github-tutorial-for-beginners) * [Livre Pro Git](http://www.git-scm.com/book/fr/v1)
* [Git pour les informaticiens (EN)](https://eagain.net/articles/git-for-computer-scientists/) * [Une introduction à Git et GitHub pour les débutants (tutoriel) (EN)](http://product.hubspot.com/blog/git-and-github-tutorial-for-beginners)

View File

@ -1,4 +1,5 @@
--- ---
name: Go
category: language category: language
language: Go language: Go
lang: fr-fr lang: fr-fr

View File

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

View File

@ -1,4 +1,5 @@
--- ---
name: perl
category: language category: language
language: Perl language: Perl
filename: learnperl-fr.pl filename: learnperl-fr.pl

View File

@ -33,7 +33,7 @@ unique id.
* Distributed systems have no defined structure. You could easily have a SVN * Distributed systems have no defined structure. You could easily have a SVN
style, centralized system, with git. style, centralized system, with git.
[Additional Information](https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control) [Additional Information](http://git-scm.com/book/en/Getting-Started-About-Version-Control)
### Why Use Git? ### Why Use Git?
@ -59,7 +59,7 @@ A git repository is comprised of the .git directory & working tree.
The .git directory contains all the configurations, logs, branches, HEAD, and The .git directory contains all the configurations, logs, branches, HEAD, and
more. more.
[Detailed List.](https://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html) [Detailed List.](http://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html)
### Working Tree (component of repository) ### Working Tree (component of repository)
@ -102,6 +102,11 @@ to Git Database yet
* Staged - Marks a modified file to go into your next commit snapshot * Staged - Marks a modified file to go into your next commit snapshot
* Committed - Files have been committed to the Git Database * Committed - Files have been committed to the Git Database
### Conceptual Resources
* [Git For Computer Scientists](http://eagain.net/articles/git-for-computer-scientists/)
* [Git For Designers](http://hoth.entp.com/output/git_for_designers.html)
## Commands ## Commands
### init ### init
@ -127,7 +132,7 @@ $ git config --global user.email
$ git config --global user.name $ git config --global user.name
``` ```
[Learn More About git config.](https://git-scm.com/docs/git-config) [Learn More About git config.](http://git-scm.com/docs/git-config)
### help ### help
@ -340,7 +345,7 @@ $ git grep -e 'arrayListName' --and \( -e add -e remove \)
``` ```
Google is your friend; for more examples Google is your friend; for more examples
[Git Grep Ninja](https://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja) [Git Grep Ninja](http://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja)
### log ### log
@ -490,7 +495,7 @@ $ git stash pop
Now you're ready to get back to work on your stuff! Now you're ready to get back to work on your stuff!
[Additional Reading.](https://git-scm.com/book/en/v2/Git-Tools-Stashing-and-Cleaning) [Additional Reading.](http://git-scm.com/book/en/v1/Git-Tools-Stashing)
### rebase (caution) ### rebase (caution)
@ -504,7 +509,7 @@ another branch.
$ git rebase master experimentBranch $ git rebase master experimentBranch
``` ```
[Additional Reading.](https://git-scm.com/book/en/v2/Git-Branching-Rebasing) [Additional Reading.](http://git-scm.com/book/en/Git-Branching-Rebasing)
### reset (caution) ### reset (caution)
@ -595,26 +600,26 @@ b88c6a1b (Google Python team 2019-12-30 13:45:23 -0800 14)
## Further Information ## Further Information
* [Learn Git Branching - the most visual and interactive way to learn Git on the web](https://learngitbranching.js.org/) * [tryGit - A fun interactive way to learn Git.](http://try.github.io/levels/1/challenges/1)
* [Learn Git Branching - the most visual and interactive way to learn Git on the web](http://learngitbranching.js.org/)
* [Udemy Git Tutorial: A Comprehensive Guide](https://blog.udemy.com/git-tutorial-a-comprehensive-guide/) * [Udemy Git Tutorial: A Comprehensive Guide](https://blog.udemy.com/git-tutorial-a-comprehensive-guide/)
* [Git Immersion - A Guided tour that walks through the fundamentals of git](https://gitimmersion.com/) * [Git Immersion - A Guided tour that walks through the fundamentals of git](http://gitimmersion.com/)
* [git-scm - Video Tutorials](https://git-scm.com/videos) * [git-scm - Video Tutorials](http://git-scm.com/videos)
* [git-scm - Documentation](https://git-scm.com/docs) * [git-scm - Documentation](http://git-scm.com/docs)
* [Atlassian Git - Tutorials & Workflows](https://www.atlassian.com/git/) * [Atlassian Git - Tutorials & Workflows](https://www.atlassian.com/git/)
* [SalesForce Cheat Sheet](https://res.cloudinary.com/hy4kyit2a/image/upload/SF_git_cheatsheet.pdf) * [SalesForce Cheat Sheet](http://res.cloudinary.com/hy4kyit2a/image/upload/SF_git_cheatsheet.pdf)
* [git - the simple guide](https://rogerdudler.github.io/git-guide/index.html) * [Git - the simple guide](http://rogerdudler.github.io/git-guide/index.html)
* [Pro Git](https://git-scm.com/book/en/v2) * [Pro Git](http://www.git-scm.com/book/en/v2)
* [An introduction to Git and GitHub for Beginners (Tutorial)](https://product.hubspot.com/blog/git-and-github-tutorial-for-beginners) * [An introduction to Git and GitHub for Beginners (Tutorial)](http://product.hubspot.com/blog/git-and-github-tutorial-for-beginners)
* [The New Boston tutorial to Git covering basic commands and workflow](https://www.youtube.com/playlist?list=PL6gx4Cwl9DGAKWClAD_iKpNC0bGHxGhcx) * [The New Boston tutorial to Git covering basic commands and workflow](https://www.youtube.com/playlist?list=PL6gx4Cwl9DGAKWClAD_iKpNC0bGHxGhcx)
* [Git For Computer Scientists](https://eagain.net/articles/git-for-computer-scientists/)

View File

@ -1,4 +1,5 @@
--- ---
name: Go
category: language category: language
language: Go language: Go
filename: learngo.go filename: learngo.go

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
--- ---
language: reStructuredText (RST) language: reStructuredText (RST)
filename: rst-id.rst filename: rst-id.html
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"]
@ -15,6 +15,7 @@ dokumentasi (dan menjadi bagian dari Docutils).
File-file RST adalah sebuah file-file teks simpel dengan sintaks yang ringan File-file RST adalah sebuah file-file teks simpel dengan sintaks yang ringan
(dibandingkan dengan HTML). (dibandingkan dengan HTML).
## Pemasangan ## Pemasangan
Untuk menggunakan RST, anda harus memasang [Python](http://www.python.org) dan Untuk menggunakan RST, anda harus memasang [Python](http://www.python.org) dan
@ -32,11 +33,12 @@ Jika sistem anda sudah mempunyai `pip`, anda bisa menggunakannya juga:
$ pip install docutils $ pip install docutils
``` ```
## Sintaks file ## Sintaks file
Sebuah contoh sederhana dari sintaks file: Sebuah contoh sederhana dari sintaks file:
```rst ```
.. Baris yang dimulai dengan dua titik adalah perintah spesial. Tetapi jika .. Baris yang dimulai dengan dua titik adalah perintah spesial. Tetapi jika
perintah tidak ditemukan, maka baris tersebut akan dianggap sebagai komentar perintah tidak ditemukan, maka baris tersebut akan dianggap sebagai komentar
@ -96,6 +98,7 @@ otomatis diubah menjadi sebuah link)
.. _GitHub https://github.com/ .. _GitHub https://github.com/
``` ```
## Bagaimana Cara Menggunakannya ## Bagaimana Cara Menggunakannya
RST hadir dengan docutils di mana anda mempunyai `rst2html`, sebagai contoh: RST hadir dengan docutils di mana anda mempunyai `rst2html`, sebagai contoh:
@ -112,6 +115,7 @@ Tetapi ada beberapa aplikasi kompleks yang menggunakan format RST:
- [Sphinx](http://sphinx-doc.org/), Generator dokumnetasi - [Sphinx](http://sphinx-doc.org/), Generator dokumnetasi
- dan masih banyak lainnya - dan masih banyak lainnya
## Bacaan ## Bacaan
- [Referensi singkat resmi](http://docutils.sourceforge.net/docs/user/rst/quickref.html) - [Referensi singkat resmi](http://docutils.sourceforge.net/docs/user/rst/quickref.html)

View File

@ -36,7 +36,7 @@ registra le modifiche apportate a uno o più file nel tempo.
* I sistemi distribuiti non hanno una struttura definita. Si potrebbe creare * I sistemi distribuiti non hanno una struttura definita. Si potrebbe creare
ad esempio un sistema centralizzato simile a SVN utilizzando Git. ad esempio un sistema centralizzato simile a SVN utilizzando Git.
[Ulteriori informazioni](https://git-scm.com/book/it/v2/Per-Iniziare-Il-Controllo-di-Versione) [Ulteriori informazioni](http://git-scm.com/book/it/v1/Per-Iniziare-Il-Controllo-di-Versione)
### Perchè usare Git? ### Perchè usare Git?
@ -60,7 +60,7 @@ Un repository comprende la cartella .git e il working tree.
### Cartella .git (componente del repository) ### Cartella .git (componente del repository)
La cartella .git contiene tutte le configurazioni, i log, i rami e altro. La cartella .git contiene tutte le configurazioni, i log, i rami e altro.
[Lista dettagliata](https://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html) [Lista dettagliata](http://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html)
### Working Tree (componente del repository) ### Working Tree (componente del repository)
@ -128,7 +128,7 @@ $ git config --global user.email "email@example.com"
$ git config --global user.name "Nome utente" $ git config --global user.name "Nome utente"
``` ```
[Ulteriori informazioni su git config](https://git-scm.com/docs/git-config) [Ulteriori informazioni su git config](http://git-scm.com/docs/git-config)
### help ### help
@ -456,7 +456,7 @@ Applica le modifiche effettuate su un branch su un altro branch.
$ git rebase master experimentBranch $ git rebase master experimentBranch
``` ```
[Ulteriori informazioni](https://git-scm.com/book/it/v2/Git-Branching-Rebasing) [Ulteriori informazioni](https://git-scm.com/book/it/v1/Diramazioni-in-Git-Rifondazione)
### reset (attenzione) ### reset (attenzione)

View File

@ -1,4 +1,5 @@
--- ---
name: Go
language: Go language: Go
filename: learngo-it.go filename: learngo-it.go
contributors: contributors:

View File

@ -31,11 +31,12 @@ Oppure, se hai `pip` installato sul tuo sistema:
$ pip install docutils $ pip install docutils
``` ```
## Sintassi del file ## Sintassi del file
Ecco un semplice esempio della sintassi RST: Ecco un semplice esempio della sintassi RST:
```rst ```
.. Le righe che iniziano con due punti sono comandi speciali. Ma se non è possibile trovare alcun comando, la riga viene considerata come un commento .. Le righe che iniziano con due punti sono comandi speciali. Ma se non è possibile trovare alcun comando, la riga viene considerata come un commento
=============================================================================== ===============================================================================
@ -103,6 +104,7 @@ Ma ci sono applicazioni più complesse che utilizzano il formato RST:
- [Sphinx](http://sphinx-doc.org/), un generatore di documentazione - [Sphinx](http://sphinx-doc.org/), un generatore di documentazione
- e molti altri - e molti altri
## Letture ## Letture
- [Riferimento ufficiale rapido](http://docutils.sourceforge.net/docs/user/rst/quickref.html) - [Riferimento ufficiale rapido](http://docutils.sourceforge.net/docs/user/rst/quickref.html)

View File

@ -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.rs filename: rust-it.html.markdown
--- ---
Rust è un linguaggio di programmazione sviluppato da Mozilla Research. Rust è un linguaggio di programmazione sviluppato da Mozilla Research.

View File

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

View File

@ -1,4 +1,5 @@
--- ---
name: Go
category: language category: language
language: Go language: Go
filename: learngo-kr.go filename: learngo-kr.go

View File

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

View File

@ -1,4 +1,5 @@
--- ---
name: perl
category: language category: language
language: Perl language: Perl
filename: learnperl.pl filename: learnperl.pl

View File

@ -1,4 +1,5 @@
--- ---
name: perl
category: language category: language
language: Perl language: Perl
filename: learnperl-pl.pm filename: learnperl-pl.pm

View File

@ -36,7 +36,7 @@ alteração é associada a um *id* único.
* Sistemas distribuídos não têm estrutura definida. É possivel ter um sistema * Sistemas distribuídos não têm estrutura definida. É possivel ter um sistema
centralizado ao estilo SVN usando git. centralizado ao estilo SVN usando git.
[Informação adicional (EN)](https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control) [Informação adicional (EN)](http://git-scm.com/book/en/Getting-Started-About-Version-Control)
### Por que usar git? ### Por que usar git?
@ -64,7 +64,7 @@ Um repositório git é constituído pelo diretório .git e a *working tree*
O repositório .git contém todas as configurações, *logs*, *branches*, O repositório .git contém todas as configurações, *logs*, *branches*,
referências e outros. referências e outros.
[Lista detalhada (EN)](https://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html) [Lista detalhada (EN)](http://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html)
### *Working Tree* (componente do repositório) ### *Working Tree* (componente do repositório)
@ -111,6 +111,11 @@ próximo commit
* Consolidado (Committed): As mudanças foram registradas na base de dados do * Consolidado (Committed): As mudanças foram registradas na base de dados do
Git Git
### Recursos conceituais (EN)
* [Git para Cientistas de Computação](http://eagain.net/articles/git-for-computer-scientists/)
* [Git para Designers](http://hoth.entp.com/output/git_for_designers.html)
## Comandos ## Comandos
### *init* ### *init*
@ -136,7 +141,7 @@ $ git config --global user.email
$ git config --global user.name $ git config --global user.name
``` ```
[Aprenda mais sobre git config. (EN)](https://git-scm.com/docs/git-config) [Aprenda mais sobre git config. (EN)](http://git-scm.com/docs/git-config)
### help ### help
@ -358,7 +363,7 @@ $ git grep -e 'arrayListName' --and \( -e add -e remove \)
``` ```
O Google é seu amigo; para mais exemplos: O Google é seu amigo; para mais exemplos:
[Git Grep Ninja (EN)](https://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja) [Git Grep Ninja (EN)](http://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja)
### log ### log
@ -515,7 +520,7 @@ $ git stash pop
Agora podemos voltar a trabalhar no que havíamos deixado de lado! Agora podemos voltar a trabalhar no que havíamos deixado de lado!
[Additional Reading.](https://git-scm.com/book/en/v2/Git-Tools-Stashing-and-Cleaning) [Additional Reading.](http://git-scm.com/book/en/v1/Git-Tools-Stashing)
### rebase (cautela!) ### rebase (cautela!)
@ -530,7 +535,7 @@ público*
$ git rebase master experimentBranch $ git rebase master experimentBranch
``` ```
[Leitura adicional (EN).](https://git-scm.com/book/en/v2/Git-Branching-Rebasing) [Leitura adicional (EN).](http://git-scm.com/book/en/Git-Branching-Rebasing)
### reset (cuidado!) ### reset (cuidado!)
@ -614,26 +619,26 @@ $ git rm /caminho/para/o/arquivo/OlaMundo.c
## Leitura complementar ## Leitura complementar
* [Configurar o Git (GitHub Docs)](https://docs.github.com/pt/get-started/getting-started-with-git/set-up-git) * [Configurar o Git (GitHub Docs)](https://docs.github.com/pt/get-started/quickstart/set-up-git)
* [Learn Git Branching - the most visual and interactive way to learn Git on the web](https://learngitbranching.js.org/) * [Learn Git Branching - the most visual and interactive way to learn Git on the web](http://learngitbranching.js.org/)
* [Udemy Git Tutorial: A Comprehensive Guide](https://blog.udemy.com/git-tutorial-a-comprehensive-guide/) * [Udemy Git Tutorial: A Comprehensive Guide](https://blog.udemy.com/git-tutorial-a-comprehensive-guide/)
* [Git Immersion - A Guided tour that walks through the fundamentals of git](https://gitimmersion.com/) * [Git Immersion - A Guided tour that walks through the fundamentals of git](http://gitimmersion.com/)
* [git-scm - Video Tutorials](https://git-scm.com/videos) * [git-scm - Video Tutorials](http://git-scm.com/videos)
* [git-scm - Documentation](https://git-scm.com/docs) * [git-scm - Documentation](http://git-scm.com/docs)
* [Atlassian Git - Tutorials & Workflows](https://www.atlassian.com/git/) * [Atlassian Git - Tutorials & Workflows](https://www.atlassian.com/git/)
* [git - guia prático](https://rogerdudler.github.io/git-guide/index.pt_BR.html) * [SalesForce Cheat Sheet](https://na1.salesforce.com/help/doc/en/salesforce_git_developer_cheatsheet.pdf)
* [Pro Git (em Português)](https://git-scm.com/book/pt-br/v2) * [Git - the simple guide](http://rogerdudler.github.io/git-guide/index.html)
* [An introduction to Git and GitHub for Beginners (Tutorial)](https://product.hubspot.com/blog/git-and-github-tutorial-for-beginners) * [Pro Git (em Português)](https://www.git-scm.com/book/pt-br/v2)
* [An introduction to Git and GitHub for Beginners (Tutorial)](http://product.hubspot.com/blog/git-and-github-tutorial-for-beginners)
* [The New Boston tutorial to Git covering basic commands and workflow](https://www.youtube.com/playlist?list=PL6gx4Cwl9DGAKWClAD_iKpNC0bGHxGhcx) * [The New Boston tutorial to Git covering basic commands and workflow](https://www.youtube.com/playlist?list=PL6gx4Cwl9DGAKWClAD_iKpNC0bGHxGhcx)
* [Git para Cientistas de Computação](https://eagain.net/articles/git-for-computer-scientists/)

View File

@ -1,4 +1,5 @@
--- ---
name: Go
category: language category: language
language: Go language: Go
filename: learngo-pt.go filename: learngo-pt.go

View File

@ -1,4 +1,5 @@
--- ---
name: perl
category: language category: language
language: Perl language: Perl
filename: learnperl-pt.pl filename: learnperl-pt.pl

View File

@ -31,7 +31,7 @@ alteração é associada a um *id* único.
* Sistemas distribuidos não têm estrutura definida. É possivel ter um sistema * Sistemas distribuidos não têm estrutura definida. É possivel ter um sistema
centralizado ao estilo SVN usando git. centralizado ao estilo SVN usando git.
[Informação adicional (EN)](https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control) [Informação adicional (EN)](http://git-scm.com/book/en/Getting-Started-About-Version-Control)
### Porquê usar git? ### Porquê usar git?
@ -59,7 +59,7 @@ Um repositório git é constituido pelo directório .git e a *working tree*
O repositório .git contém todas as configurações, *logs*, *branches*, O repositório .git contém todas as configurações, *logs*, *branches*,
referências e outros. referências e outros.
[Lista detalhada (EN)](https://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html) [Lista detalhada (EN)](http://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html)
### *Working Tree* (componente do repositório) ### *Working Tree* (componente do repositório)
@ -92,6 +92,11 @@ uma *HEAD* activa.
*head* é uma referência que aponta para qualquer *commit*. Um repositório pode *head* é uma referência que aponta para qualquer *commit*. Um repositório pode
ter um número indefinido de *heads* ter um número indefinido de *heads*
### Recursos conceptuais (EN)
* [Git para Cientistas de Computação](http://eagain.net/articles/git-for-computer-scientists/)
* [Git para Designers](http://hoth.entp.com/output/git_for_designers.html)
## Comandos ## Comandos
### *init* ### *init*
@ -117,7 +122,7 @@ $ git config --global user.email "MyEmail@Zoho.com"
$ git config --global user.name "My Name" $ git config --global user.name "My Name"
``` ```
[Aprenda mais sobre git config. (EN)](https://git-scm.com/docs/git-config) [Aprenda mais sobre git config. (EN)](http://git-scm.com/docs/git-config)
### help ### help
@ -269,7 +274,7 @@ $ git grep -e 'arrayListName' --and \( -e add -e remove \)
``` ```
Google é teu amigo; para mais exemplos: Google é teu amigo; para mais exemplos:
[Git Grep Ninja (EN)](https://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja) [Git Grep Ninja (EN)](http://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja)
### log ### log
@ -356,7 +361,7 @@ público*
$ git rebase master experimentBranch $ git rebase master experimentBranch
``` ```
[Additional Reading (EN).](https://git-scm.com/book/en/v2/Git-Branching-Rebasing) [Additional Reading (EN).](http://git-scm.com/book/en/Git-Branching-Rebasing)
### reset (cautela!) ### reset (cautela!)
@ -397,10 +402,12 @@ $ git rm /pather/to/the/file/HelloWorld.c
## Informação complementar (EN) ## Informação complementar (EN)
* [git-scm - Video Tutorials](https://git-scm.com/videos) * [tryGit - A fun interactive way to learn Git.](http://try.github.io/levels/1/challenges/1)
* [git-scm - Documentation](https://git-scm.com/docs) * [git-scm - Video Tutorials](http://git-scm.com/videos)
* [git-scm - Documentation](http://git-scm.com/docs)
* [Atlassian Git - Tutorials & Workflows](https://www.atlassian.com/git/) * [Atlassian Git - Tutorials & Workflows](https://www.atlassian.com/git/)
* [Git para Cientistas de Computação](https://eagain.net/articles/git-for-computer-scientists/) * [SalesForce Cheat Sheet](https://na1.salesforce.com/help/doc/en/salesforce_git_developer_cheatsheet.pdf)

View File

@ -4,7 +4,6 @@ contributors:
- ["Vincent van Wingerden", "https://github.com/vivanwin"] - ["Vincent van Wingerden", "https://github.com/vivanwin"]
- ["Mariia Mykhailova", "https://github.com/tcNickolas"] - ["Mariia Mykhailova", "https://github.com/tcNickolas"]
- ["Andrew Ryan Davis", "https://github.com/AndrewDavis1191"] - ["Andrew Ryan Davis", "https://github.com/AndrewDavis1191"]
- ["Alex Hansen", "https://github.com/sezna"]
filename: LearnQSharp.qs filename: LearnQSharp.qs
--- ---
@ -17,36 +16,35 @@ Q# is a high-level domain-specific language which enables developers to write qu
///////////////////////////////////// /////////////////////////////////////
// 1. Quantum data types and operators // 1. Quantum data types and operators
// The most important part of quantum programs is qubits. // The most important part of quantum programs is qubits.
// In Q# type Qubit represents the qubits which can be used. // In Q# type Qubit represents the qubits which can be used.
// This will allocate an array of two new qubits as the variable qs. // This will allocate an array of two new qubits as the variable qs.
operation QuantumDataTypes() : Unit { using (qs = Qubit[2]) {
use qs = Qubit[2];
// The qubits have internal state that you cannot access to read or modify directly. // The qubits have internal state that you cannot access to read or modify directly.
// You can inspect the current state of your quantum program // You can inspect the current state of your quantum program
// if you're running it on a classical simulator. // if you're running it on a classical simulator.
// Note that this will not work on actual quantum hardware! // Note that this will not work on actual quantum hardware!
Std.Diagnostics.DumpMachine(); DumpMachine();
// If you want to change the state of a qubit // If you want to change the state of a qubit
// you have to do this by applying quantum gates to the qubit. // you have to do this by applying quantum gates to the qubit.
H(qs[0]); // This changes the state of the first qubit H(qs[0]); // This changes the state of the first qubit
// from |0⟩ (the initial state of allocated qubits) // from |0⟩ (the initial state of allocated qubits)
// to (|0⟩ + |1⟩) / sqrt(2). // to (|0⟩ + |1⟩) / sqrt(2).
// qs[1] = |1⟩; - this does NOT work, you have to manipulate a qubit by using gates. // qs[1] = |1⟩; - this does NOT work, you have to manipulate a qubit by using gates.
// You can apply multi-qubit gates to several qubits. // You can apply multi-qubit gates to several qubits.
CNOT(qs[0], qs[1]); CNOT(qs[0], qs[1]);
// You can also apply a controlled version of a gate: // You can also apply a controlled version of a gate:
// a gate that is applied if all control qubits are in |1⟩ state. // a gate that is applied if all control qubits are in |1⟩ state.
// The first argument is an array of control qubits, // The first argument is an array of control qubits,
// the second argument is the target qubit. // the second argument is the target qubit.
Controlled Y([qs[0]], qs[1]); Controlled Y([qs[0]], qs[1]);
// If you want to apply an anti-controlled gate // If you want to apply an anti-controlled gate
// (a gate that is applied if all control qubits are in |0⟩ state), // (a gate that is applied if all control qubits are in |0⟩ state),
// you can use a library function. // you can use a library function.
ApplyControlledOnInt(0, X, [qs[0]], qs[1]); ApplyControlledOnInt(0, X, [qs[0]], qs[1]);
@ -60,102 +58,97 @@ operation QuantumDataTypes() : Unit {
///////////////////////////////////// /////////////////////////////////////
// 2. Classical data types and operators // 2. Classical data types and operators
function ClassicalDataTypes() : Unit { // Numbers in Q# can be stored in Int, BigInt or Double.
// Numbers in Q# can be stored in Int, BigInt or Double. let i = 1; // This defines an Int variable i equal to 1
let i = 1; // This defines an Int variable i equal to 1 let bi = 1L; // This defines a BigInt variable bi equal to 1
let bi = 1L; // This defines a BigInt variable bi equal to 1 let d = 1.0; // This defines a Double variable d equal to 1
let d = 1.0; // This defines a Double variable d equal to 1
// Arithmetic is done as expected, as long as the types are the same // Arithmetic is done as expected, as long as the types are the same
let n = 2 * 10; // = 20 let n = 2 * 10; // = 20
// Q# does not have implicit type cast, // Q# does not have implicit type cast,
// so to perform arithmetic on values of different types, // so to perform arithmetic on values of different types,
// you need to cast type explicitly // you need to cast type explicitly
let nd = Std.Convert.IntAsDouble(2) * 1.0; // = 20.0 let nd = IntAsDouble(2) * 1.0; // = 20.0
// Boolean type is called Bool // Boolean type is called Bool
let trueBool = true; let trueBool = true;
let falseBool = false; let falseBool = false;
// Logic operators work as expected // Logic operators work as expected
let andBool = true and false; let andBool = true and false;
let orBool = true or false; let orBool = true or false;
let notBool = not false; let notBool = not false;
// Strings // Strings
let str = "Hello World!"; let str = "Hello World!";
// Equality is == // Equality is ==
let x = 10 == 15; // is false let x = 10 == 15; // is false
// Range is a sequence of integers and can be defined like: start..step..stop // Range is a sequence of integers and can be defined like: start..step..stop
let xi = 1..2..7; // Gives the sequence 1,3,5,7 let xi = 1..2..7; // Gives the sequence 1,3,5,7
// Assigning new value to a variable: // Assigning new value to a variable:
// by default all Q# variables are immutable; // by default all Q# variables are immutable;
// if the variable was defined using let, you cannot reassign its value. // if the variable was defined using let, you cannot reassign its value.
// When you want to make a variable mutable, you have to declare it as such, // When you want to make a variable mutable, you have to declare it as such,
// and use the set word to update value // and use the set word to update value
mutable xii = true; mutable xii = true;
set xii = false; set xii = false;
// You can create an array for any data type like this // You can create an array for any data type like this
let xiii = [0.0, size = 10]; let xiii = new Double[10];
// Getting an element from an array // Getting an element from an array
let xiv = xiii[8]; let xiv = xiii[8];
// Assigning a new value to an array element // Assigning a new value to an array element
mutable xv = [0.0, size = 10]; mutable xv = new Double[10];
set xv w/= 5 <- 1.0; set xv w/= 5 <- 1;
}
///////////////////////////////////// /////////////////////////////////////
// 3. Control flow // 3. Control flow
operation ControlFlow() : Unit { // If structures work a little different than most languages
let a = 1; if (a == 1) {
// If expressions support a true branch, elif, and else. // ...
if (a == 1) { } elif (a == 2) {
// ... // ...
} elif (a == 2) { } else {
// ... // ...
} else {
// ...
}
use qubits = Qubit[2];
// For loops can be used to iterate over an array
for qubit in qubits {
X(qubit);
}
// Regular for loops can be used to iterate over a range of numbers
for index in 0..Length(qubits) - 1 {
X(qubits[index]);
}
// While loops are restricted for use in classical context only
mutable index = 0;
while (index < 10) {
set index += 1;
}
let success_criteria = true;
// Quantum equivalent of a while loop is a repeat-until-success loop.
// Because of the probabilistic nature of quantum computing sometimes
// you want to repeat a certain sequence of operations
// until a specific condition is achieved; you can use this loop to express this.
repeat {
// Your operation here
} until (success_criteria) // This could be a measurement to check if the state is reached
fixup {
// Resetting to the initial conditions, if required
}
} }
// Foreach loops can be used to iterate over an array
for (qubit in qubits) {
X(qubit);
}
// Regular for loops can be used to iterate over a range of numbers
for (index in 0 .. Length(qubits) - 1) {
X(qubits[index]);
}
// While loops are restricted for use in classical context only
mutable index = 0;
while (index < 10) {
set index += 1;
}
// Quantum equivalent of a while loop is a repeat-until-success loop.
// Because of the probabilistic nature of quantum computing sometimes
// you want to repeat a certain sequence of operations
// until a specific condition is achieved; you can use this loop to express this.
repeat {
// Your operation here
}
until (success criteria) // This could be a measurement to check if the state is reached
fixup {
// Resetting to the initial conditions, if required
}
///////////////////////////////////// /////////////////////////////////////
// 4. Putting it all together // 4. Putting it all together
@ -164,11 +157,11 @@ operation ApplyXGate(source : Qubit) : Unit {
X(source); X(source);
} }
// If the operation implements a unitary transformation, you can define // If the operation implements a unitary transformation, you can define
// adjoint and controlled variants of it. // adjoint and controlled variants of it.
// The easiest way to do that is to add "is Adj + Ctl" after Unit. // The easiest way to do that is to add "is Adj + Ctl" after Unit.
// This will tell the compiler to generate the variants automatically. // This will tell the compiler to generate the variants automatically.
operation ApplyXGateCA(source : Qubit) : Unit is Adj + Ctl { operation ApplyXGateCA (source : Qubit) : Unit is Adj + Ctl {
X(source); X(source);
} }
@ -176,21 +169,20 @@ operation ApplyXGateCA(source : Qubit) : Unit is Adj + Ctl {
// To run Q# code, you can put @EntryPoint() before the operation you want to run first // To run Q# code, you can put @EntryPoint() before the operation you want to run first
@EntryPoint()
operation XGateDemo() : Unit { operation XGateDemo() : Unit {
use q = Qubit(); using (q = Qubit()) {
ApplyXGate(q); ApplyXGate(q);
}
} }
// Here is a simple example: a quantum random number generator. // Here is a simple example: a quantum random number generator.
// We will generate a classical array of random bits using quantum code. // We will generate a classical array of random bits using quantum code.
// Callables (functions or operations) named `Main` are used as entry points. @EntryPoint()
operation Main() : Unit { operation QRNGDemo() : Unit {
mutable bits = [0, size = 5]; // Array we'll use to store bits mutable bits = new Int[5]; // Array we'll use to store bits
use q = Qubit(); using (q = Qubit()) { // Allocate a qubit
{ for (i in 0 .. 4) { // Generate each bit independently
// Allocate a qubit
for i in 0..4 {
// Generate each bit independently
H(q); // Hadamard gate sets equal superposition H(q); // Hadamard gate sets equal superposition
let result = M(q); // Measure qubit gets 0|1 with 50/50 prob let result = M(q); // Measure qubit gets 0|1 with 50/50 prob
let bit = result == Zero ? 0 | 1; // Convert measurement result to integer let bit = result == Zero ? 0 | 1; // Convert measurement result to integer
@ -204,6 +196,9 @@ operation Main() : Unit {
## Further Reading ## Further Reading
The Quantum Katas ([repo](https://github.com/microsoft/qsharp/tree/main/katas) [hosted tutorials](https://quantum.microsoft.com/en-us/tools/quantum-katas) offer great self-paced tutorials and programming exercises to learn quantum computing and Q#. The [Quantum Katas][1] offer great self-paced tutorials and programming exercises to learn quantum computing and Q#.
[Q# Documentation](https://docs.microsoft.com/quantum/) is official Q# documentation, including language reference and user guides. [Q# Documentation][2] is official Q# documentation, including language reference and user guides.
[1]: https://github.com/microsoft/QuantumKatas
[2]: https://docs.microsoft.com/quantum/

View File

@ -1,4 +1,5 @@
--- ---
name: Red
category: language category: language
language: Red language: Red
filename: learnred.red filename: learnred.red

View File

@ -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.bf filename: bf-ro.html
lang: ro-ro lang: ro-ro
--- ---

View File

@ -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.hs filename: haskell-ro.html
--- ---
Haskell este un limbaj de programare practic, pur funcțional. Haskell este un limbaj de programare practic, pur funcțional.

View File

@ -32,7 +32,7 @@ $ pip install docutils
A simple example of the file syntax: A simple example of the file syntax:
```rst ```
.. Lines starting with two dots are special commands. But if no command can be found, the line is considered as a comment. .. Lines starting with two dots are special commands. But if no command can be found, the line is considered as a comment.
========================================================= =========================================================

View File

@ -8,21 +8,18 @@ filename: learnforth-ru.fs
lang: ru-ru lang: ru-ru
--- ---
Форт создан Чарлзом Муром в 70-е годы. Это императивный, стековый язык Форт создан Чарлзом Муром в 70-е годы. Это императивный, стековый язык программирования и среда исполнения программ. Использовался в таких проектах как Open Firmware. Продолжает применятся в проектах. Применяется в НАСА.
программирования и среда исполнения программ. Использовался в таких проектах
как Open Firmware. Продолжает применяться в проектах. Применяется в НАСА.
Внимание: этот материал использует реализацию Форта - Gforth, но большая часть Внимание: этот материал использует реализацию Форта - Gforth, но большая часть написанного будет работать в других средах.
написанного будет работать в других средах.
```forth ```forth
\ Это комментарий \ Это комментарий
( Это тоже комментарий, но используется для предопределённых слов ) ( Это тоже комментарий, но используется для предоределённых слов )
\ --------------------------------- Прекурсор -------------------------------- \ --------------------------------- Прекурсор --------------------------------
\ Всё программирование на Форте заключается в манипулировании \ Всё программирование на Форте заключается в манипулировании
\ параметрами на стеке. \ параметрами на стеке.
5 2 3 56 76 23 65 \ ok 5 2 3 56 76 23 65 \ ok
@ -34,7 +31,7 @@ lang: ru-ru
\ ---------------------------- Базовая арифметика ---------------------------- \ ---------------------------- Базовая арифметика ----------------------------
\ Арифметика (фактически все ключевые слова требуют данных) - это манипуляция \ Арифметика (фактически все ключевые слова требуют данных) - это манипуляция
\ данными на стеке. \ данными на стеке.
5 4 + \ ok 5 4 + \ ok
@ -54,10 +51,10 @@ lang: ru-ru
\ --------------------------- Манипуляции со стеком --------------------------- \ --------------------------- Манипуляции со стеком ---------------------------
\ Естественно, когда мы работаем со стеком, то используем \ Естественно, когда мы работаем со стеком, то используем
\ больше полезных методов: \ больше полезных методов:
3 dup - \ дублировать верхний элемент в стеке 3 dup - \ дублировать верхний элемент в стеке
\ (1-й становится эквивалентным 2-му): 3 - 3 \ (1-й становится эквивалентным 2-му): 3 - 3
2 5 swap / \ поменять местами верхний элемент со 2-м элементом: 5 / 2 2 5 swap / \ поменять местами верхний элемент со 2-м элементом: 5 / 2
6 4 5 rot .s \ сменять по очереди 3-и верхних элемента: 4 5 6 6 4 5 rot .s \ сменять по очереди 3-и верхних элемента: 4 5 6
@ -66,20 +63,20 @@ lang: ru-ru
\ ------------------ Более продвинутые манипуляции со стеком ------------------ \ ------------------ Более продвинутые манипуляции со стеком ------------------
1 2 3 4 tuck \ дублировать верхний элемент стека во вторую позицию: 1 2 3 4 tuck \ дублировать верхний елемент стека во вторую позицию:
\ 1 2 4 3 4 ok \ 1 2 4 3 4 ok
1 2 3 4 over \ дублировать второй элемент наверх стека: 1 2 3 4 over \ диблировать второй елемент наверх стека:
\ 1 2 3 4 3 ok \ 1 2 3 4 3 ok
1 2 3 4 2 roll \ *переместить* элемент в заданной позиции наверх стека: 1 2 3 4 2 roll \ *переместить* элемент в заданной позиции наверх стека:
\ 1 3 4 2 ok \ 1 3 4 2 ok
1 2 3 4 2 pick \ *дублировать* элемент в заданной позиции наверх: 1 2 3 4 2 pick \ *дублировать* элемент в заданной позиции наверх:
\ 1 2 3 4 2 ok \ 1 2 3 4 2 ok
\ Внимание! Обращения к стеку индексируются с нуля. \ Внимание! Обращения к стеку индексируются с нуля.
\ --------------------------- Создание новых слов ----------------------------- \ --------------------------- Создание новых слов -----------------------------
\ Определение новых слов через уже известные. Двоеточие `:` переводит Форт \ Определение новых слов через уже известные. Двоеточие `:` переводит Форт
\ в режим компиляции выражения, которое заканчивается точкой с запятой `;`. \ в режим компиляции выражения, которое заканчивается точкой с запятой `;`.
: square ( n -- n ) dup * ; \ ok : square ( n -- n ) dup * ; \ ok
5 square . \ 25 ok 5 square . \ 25 ok
@ -89,15 +86,15 @@ see square \ : square dup * ; ok
\ -------------------------------- Зависимости -------------------------------- \ -------------------------------- Зависимости --------------------------------
\ -1 == true, 0 == false. Однако, некоторые ненулевые значения \ -1 == true, 0 == false. Однако, некоторые ненулевые значения
\ обрабатываются как true: \ обрабатываются как true:
42 42 = \ -1 ok 42 42 = \ -1 ok
12 53 = \ 0 ok 12 53 = \ 0 ok
\ `if` это компилируемое слово. `if` <stuff to do> `then` <rest of program>. \ `if` это компилируемое слово. `if` <stuff to do> `then` <rest of program>.
: ?>64 ( n -- n ) dup 64 > if ." Больше чем 64!" then ; : ?>64 ( n -- n ) dup 64 > if ." Больше чем 64!" then ;
\ ok \ ok
100 ?>64 100 ?>64
\ Больше чем 64! ok \ Больше чем 64! ok
\ Else: \ Else:
@ -122,7 +119,7 @@ myloop
: one-to-12 ( -- ) 12 0 do i . loop ; \ ok : one-to-12 ( -- ) 12 0 do i . loop ; \ ok
one-to-12 \ 0 1 2 3 4 5 6 7 8 9 10 11 12 ok one-to-12 \ 0 1 2 3 4 5 6 7 8 9 10 11 12 ok
\ `?do` работает подобным образом, за исключением пропуска начального \ `?do` работает подобным образом, за исключением пропуска начального
\ и конечного значения индекса цикла. \ и конечного значения индекса цикла.
: squares ( n -- ) 0 ?do i square . loop ; \ ok : squares ( n -- ) 0 ?do i square . loop ; \ ok
10 squares \ 0 1 4 9 16 25 36 49 64 81 ok 10 squares \ 0 1 4 9 16 25 36 49 64 81 ok
@ -142,13 +139,13 @@ variable age \ ok
\ Затем мы запишем число 21 в переменную 'age' (возраст) словом `!`. \ Затем мы запишем число 21 в переменную 'age' (возраст) словом `!`.
21 age ! \ ok 21 age ! \ ok
\ В заключении мы можем напечатать значение переменной прочитав его словом `@`, \ В заключении мы можем напечатать значение переменной прочитав его словом `@`,
\ которое добавит значение на стек или использовать слово `?`, \ которое добавит значение на стек или использовать слово `?`,
\ что бы прочитать и распечатать в одно действие. \ что бы прочитать и распечатать в одно действие.
age @ . \ 21 ok age @ . \ 21 ok
age ? \ 21 ok age ? \ 21 ok
\ Константы объявляются аналогично, за исключем того, что мы не должны \ Константы объявляются аналогично, за исключем того, что мы не должны
\ беспокоиться о выделении адреса в памяти: \ беспокоиться о выделении адреса в памяти:
100 constant WATER-BOILING-POINT \ ok 100 constant WATER-BOILING-POINT \ ok
WATER-BOILING-POINT . \ 100 ok WATER-BOILING-POINT . \ 100 ok
@ -158,7 +155,7 @@ WATER-BOILING-POINT . \ 100 ok
\ Создание массива похоже на объявление переменной, но нам нужно выделить \ Создание массива похоже на объявление переменной, но нам нужно выделить
\ больше памяти. \ больше памяти.
\ Вы можете использовать слова `2 cells allot` для создания массива \ Вы можете использовать слова `2 cells allot` для создания массива
\ размером 3 элемента: \ размером 3 элемента:
variable mynumbers 2 cells allot \ ok variable mynumbers 2 cells allot \ ok
@ -168,7 +165,7 @@ mynumbers 3 cells erase \ ok
\ В качестве альтернативы мы можем использовать `fill`: \ В качестве альтернативы мы можем использовать `fill`:
mynumbers 3 cells 0 fill mynumbers 3 cells 0 fill
\ или мы можем пропустить все слова выше и инициализировать массив \ или мы можем пропустить все слова выше и инициализировать массив
\ нужными значениями: \ нужными значениями:
create mynumbers 64 , 9001 , 1337 , \ ok (the last `,` is important!) create mynumbers 64 , 9001 , 1337 , \ ok (the last `,` is important!)
@ -208,7 +205,7 @@ mynumbers 1 of-arr ? \ 20 ok
\ ---------------- Операции над числами с плавающей точкой -------------------- \ ---------------- Операции над числами с плавающей точкой --------------------
\ Многие фортовцы стараются избегать использования слов с вещественными числами. \ Многие фортовцы стараются избегать использование слов с вещественными числами.
8.3e 0.8e f+ f. \ 9.1 ok 8.3e 0.8e f+ f. \ 9.1 ok
\ Обычно мы просто используем слово 'f', когда обращаемся к вещественным числам: \ Обычно мы просто используем слово 'f', когда обращаемся к вещественным числам:
@ -218,7 +215,7 @@ myfloatingvar f@ f. \ 4.4 ok
\ ---------- В завершение несколько полезных замечаний и слов ----------------- \ ---------- В завершение несколько полезных замечаний и слов -----------------
\ Указание несуществующего слова очистит стек. Тем не менее, есть специальное \ Указание несуществующего слова очистит стек. Тем не менее, есть специальное
\ слово для этого: \ слово для этого:
clearstack clearstack

View File

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

View File

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

View File

@ -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.py filename: learnshutit.html
--- ---
## ShutIt ## ShutIt

View File

@ -1,4 +1,5 @@
--- ---
name: Sing
category: language category: language
language: Sing language: Sing
filename: learnsing.sing filename: learnsing.sing

View File

@ -29,7 +29,7 @@ Riadenie revízií je systém, ktorý postupom času zaznamenáva zmeny súboru
* Distribuované riadenie revízií sa zameriava na zdieľanie zmien. Kaťdá zmena má jedinečný identifikátor (id). * Distribuované riadenie revízií sa zameriava na zdieľanie zmien. Kaťdá zmena má jedinečný identifikátor (id).
* Distribuované systémy nemajú definovanú štruktúru. S gitom môžeš mať centralizovaný systém v subversion (SVN) štýle. * Distribuované systémy nemajú definovanú štruktúru. S gitom môžeš mať centralizovaný systém v subversion (SVN) štýle.
[Ďalšie informácie](https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control) [Ďalšie informácie](http://git-scm.com/book/en/Getting-Started-About-Version-Control)
### Prečo Používať Git? ### Prečo Používať Git?
@ -52,7 +52,7 @@ Git repozitár sa skladá z .git adresára a pracovného stromu
### .git Adresár (časť repozitára) ### .git Adresár (časť repozitára)
.git adresár obsahuje všetky konfigurácie, logy, vetvy, odkaz na aktuálnu vetvu (HEAD) a ostatné. .git adresár obsahuje všetky konfigurácie, logy, vetvy, odkaz na aktuálnu vetvu (HEAD) a ostatné.
[Detailný zoznam.](https://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html) [Detailný zoznam.](http://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html)
### Pracovný Strom (Working Tree - časť repozitára) ### Pracovný Strom (Working Tree - časť repozitára)
@ -84,6 +84,12 @@ head je ukazateľ, ktorý môže ukazovať na akýkoľvek commit. Repozitár mô
* Staged - Zmenený súbor, ktorý pôjde do najbližšieho commit snímku. * Staged - Zmenený súbor, ktorý pôjde do najbližšieho commit snímku.
* Committed - Súbory boli commitnuté do Git Databázy. * Committed - Súbory boli commitnuté do Git Databázy.
### Koncepčné zdroje
* [Git Pre Informatikov](http://eagain.net/articles/git-for-computer-scientists/)
* [Git Pre Designerov](http://hoth.entp.com/output/git_for_designers.html)
## Príkazy ## Príkazy
@ -106,7 +112,7 @@ $ git config --global user.email "MôjEmail@Zoho.com"
$ git config --global user.name "Moje Meno " $ git config --global user.name "Moje Meno "
``` ```
[Prečítaj si viac o git configu.](https://git-scm.com/docs/git-config) [Prečítaj si viac o git configu.](http://git-scm.com/docs/git-config)
### pomoc ### pomoc
@ -296,7 +302,7 @@ $ git grep -e 'arrayListName' --and \( -e add -e remove \)
``` ```
Google je tvoj kamarát; pre viac príkladov skoč na Google je tvoj kamarát; pre viac príkladov skoč na
[Git Grep Ninja](https://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja) [Git Grep Ninja](http://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja)
### log ### log
@ -438,7 +444,7 @@ $ git stash pop
Hotovo, môžeš pokračovať v práci! Hotovo, môžeš pokračovať v práci!
[Čítaj viac.](https://git-scm.com/book/en/v2/Git-Tools-Stashing-and-Cleaning) [Čítaj viac.](http://git-scm.com/book/en/v1/Git-Tools-Stashing)
### rebase (pozor) ### rebase (pozor)
@ -451,7 +457,7 @@ Zober všetky zmeny commitnuté do vetvy a aplikuj ich na inú vetvu.
$ git rebase master experimentBranch $ git rebase master experimentBranch
``` ```
[Čítaj viac.](https://git-scm.com/book/en/v2/Git-Branching-Rebasing) [Čítaj viac.](http://git-scm.com/book/en/Git-Branching-Rebasing)
### reset (pozor) ### reset (pozor)
@ -497,20 +503,22 @@ $ git rm /pather/to/the/file/HelloWorld.c
## Ďalšie informácie ## Ďalšie informácie
* [tryGit - Zábavný interaktívny spôsob, ako sa naučiť Git.](http://try.github.io/levels/1/challenges/1)
* [Udemy Git Tutoriál: Kompletný návod](https://blog.udemy.com/git-tutorial-a-comprehensive-guide/) * [Udemy Git Tutoriál: Kompletný návod](https://blog.udemy.com/git-tutorial-a-comprehensive-guide/)
* [Git Immersion - Návod, ktorý Ťa prevedie základmi Gitu](https://gitimmersion.com/) * [Git Immersion - Návod, ktorý Ťa prevedie základmi Gitu](http://gitimmersion.com/)
* [git-scm - Video Tutoriály](https://git-scm.com/videos) * [git-scm - Video Tutoriály](http://git-scm.com/videos)
* [git-scm - Dokumentácia](https://git-scm.com/docs) * [git-scm - Dokumentácia](http://git-scm.com/docs)
* [Atlassian Git - Tutoriály & Postupy](https://www.atlassian.com/git/) * [Atlassian Git - Tutoriály & Postupy](https://www.atlassian.com/git/)
* [Git - jednoducho](https://rogerdudler.github.io/git-guide/index.html) * [SalesForce Cheat Sheet](https://na1.salesforce.com/help/doc/en/salesforce_git_developer_cheatsheet.pdf)
* [Pro Git](https://git-scm.com/book/en/v2) * [Git - jednoducho](http://rogerdudler.github.io/git-guide/index.html)
* [Úvod do Gitu a GitHubu pre začiatočníkov (Tutoriál)](https://product.hubspot.com/blog/git-and-github-tutorial-for-beginners) * [Pro Git](http://www.git-scm.com/book/en/v2)
* [Git Pre Informatikov](https://eagain.net/articles/git-for-computer-scientists/) * [Úvod do Gitu a GitHubu pre začiatočníkov (Tutoriál)](http://product.hubspot.com/blog/git-and-github-tutorial-for-beginners)

View File

@ -1,4 +1,5 @@
--- ---
name: C
category: language category: language
language: C language: C
filename: learnc-tr.c filename: learnc-tr.c

View File

@ -32,7 +32,7 @@ Versiyon kontrol, zaman içerisinde dosya(lar)daki değişikliği kaydeden siste
* Dağınık versiyon kontrolü değişimin paylaşılmasına odaklanır. Her değişiminin benzersiz bir adı vardır. * Dağınık versiyon kontrolü değişimin paylaşılmasına odaklanır. Her değişiminin benzersiz bir adı vardır.
* Dağınık sistemlerin belirlenmiş bir yapısı yoktur. Git ile kolayca SVN'deki gibi merkezi bir sistem elde edebilirsin. * Dağınık sistemlerin belirlenmiş bir yapısı yoktur. Git ile kolayca SVN'deki gibi merkezi bir sistem elde edebilirsin.
[Daha fazla bilgi](https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control) [Daha fazla bilgi](http://git-scm.com/book/en/Getting-Started-About-Version-Control)
### Neden Git? ### Neden Git?
@ -56,7 +56,7 @@ Bir git repo'su .git dizini ve çalışma ağacından oluşur.
### .git Dizini (repository bileşeni) ### .git Dizini (repository bileşeni)
.git dizini bütün konfigrasyon, log, dallanma, HEAD ve daha fazlasını tutar. .git dizini bütün konfigrasyon, log, dallanma, HEAD ve daha fazlasını tutar.
[detaylı liste](https://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html) [detaylı liste](http://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html)
### Çalışma Ağacı (repository bileşeni) ### Çalışma Ağacı (repository bileşeni)
@ -95,6 +95,11 @@ head, commit'e bir göstericidir. Bir repository herhangi bir sayıda head'e sah
* Staged - Modified edilmiş bir dosyayı, sonraki commit'e gitmek üzere işaretler. * Staged - Modified edilmiş bir dosyayı, sonraki commit'e gitmek üzere işaretler.
* Committed - Dosyalar Git Veritabanına commit'lendi. * Committed - Dosyalar Git Veritabanına commit'lendi.
### Kavramsal Kaynaklar
* [Bilgisayar Bilimciler için Git](http://eagain.net/articles/git-for-computer-scientists/)
* [Tasarımcılar için Git](http://hoth.entp.com/output/git_for_designers.html)
## Komutlar ## Komutlar
### init ### init
@ -117,7 +122,7 @@ $ git config --global user.email "MyEmail@Zoho.com"
$ git config --global user.name "My Name" $ git config --global user.name "My Name"
``` ```
[git config hakkında daha fazla bilgi için.](https://git-scm.com/docs/git-config) [git config hakkında daha fazla bilgi için.](http://git-scm.com/docs/git-config)
### help ### help
@ -327,7 +332,7 @@ $ git grep -e 'arrayListName' --and \( -e add -e remove \)
``` ```
Daha fazla örnek için Daha fazla örnek için
[Git Grep Ninja](https://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja) [Git Grep Ninja](http://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja)
### log ### log
@ -478,7 +483,7 @@ $ git stash pop
Şimdi kendi işine dönmeye hazırsın! Şimdi kendi işine dönmeye hazırsın!
[Ek Okuma.](https://git-scm.com/book/en/v2/Git-Tools-Stashing-and-Cleaning) [Ek Okuma.](http://git-scm.com/book/en/v1/Git-Tools-Stashing)
### rebase (dikkat) ### rebase (dikkat)
@ -491,7 +496,7 @@ Branch'ta commit'lenen tüm değişimleri al ve onları başka bir branch'ta tek
$ git rebase master experimentBranch $ git rebase master experimentBranch
``` ```
[Ek Okuma.](https://git-scm.com/book/en/v2/Git-Branching-Rebasing) [Ek Okuma.](http://git-scm.com/book/en/Git-Branching-Rebasing)
### reset (dikkat) ### reset (dikkat)
@ -571,24 +576,24 @@ $ git rm /pather/to/the/file/HelloWorld.c
## Daha Fazla Bilgi ## Daha Fazla Bilgi
* [Git Dallanmayı Öğren - Git'i web üzerinde öğrenmek için en görsel ve interaktif yol](https://learngitbranching.js.org/) * [tryGit - Git'i öğrenmek için eğlenceli interaktif bir yol](http://try.github.io/levels/1/challenges/1)
* [Git Dallanmayı Öğren - Git'i web üzerinde öğrenmek için en görsel ve interaktif yol](http://learngitbranching.js.org/)
* [Udemy Git Tutorial: Kapsayıcı bir kılavuz](https://blog.udemy.com/git-tutorial-a-comprehensive-guide/) * [Udemy Git Tutorial: Kapsayıcı bir kılavuz](https://blog.udemy.com/git-tutorial-a-comprehensive-guide/)
* [Git Immersion - Git'in temelinden başlayan bir tur](https://gitimmersion.com/) * [Git Immersion - Git'in temelinden başlayan bir tur](http://gitimmersion.com/)
* [git-scm - Video Tutorial](https://git-scm.com/videos) * [git-scm - Video Tutorial](http://git-scm.com/videos)
* [git-scm - Dökümantasyon](https://git-scm.com/docs) * [git-scm - Dökümantasyon](http://git-scm.com/docs)
* [Atlassian Git - Tutorial & Workflow](https://www.atlassian.com/git/) * [Atlassian Git - Tutorial & Workflow](https://www.atlassian.com/git/)
* [SalesForce Kopya Kağıdı](https://res.cloudinary.com/hy4kyit2a/image/upload/SF_git_cheatsheet.pdf) * [SalesForce Kopya Kağıdı](http://res.cloudinary.com/hy4kyit2a/image/upload/SF_git_cheatsheet.pdf)
* [git - basit rehber](https://rogerdudler.github.io/git-guide/index.tr.html) * [Git - Basit bir kılavuz](http://rogerdudler.github.io/git-guide/index.html)
* [Pro Git](https://git-scm.com/book/tr/v2) * [Pro Git](http://www.git-scm.com/book/en/v2)
* [Yeni başlayanlar için Git ve GitHub](https://product.hubspot.com/blog/git-and-github-tutorial-for-beginners) * [Yeni başlayanlar için Git ve GitHub](http://product.hubspot.com/blog/git-and-github-tutorial-for-beginners)
* [Bilgisayar Bilimciler için Git](https://eagain.net/articles/git-for-computer-scientists/)

View File

@ -1,4 +1,5 @@
--- ---
name: ruby
language: Ruby language: Ruby
filename: learnruby-tr.rb filename: learnruby-tr.rb
contributors: contributors:

View File

@ -1,4 +1,5 @@
--- ---
name: Go
category: language category: language
language: Go language: Go
filename: learngo-ua.go filename: learngo-ua.go

View File

@ -26,7 +26,7 @@ Version Control là một hệ thống ghi lại những thay đổi ở một t
* Quản lý phiên bản phân tán (Distributed Versioning) tập trung vào việc chia sẻ các thay đổi. Mỗi sự thay đổi có một mã định dạng (id) duy nhất. * Quản lý phiên bản phân tán (Distributed Versioning) tập trung vào việc chia sẻ các thay đổi. Mỗi sự thay đổi có một mã định dạng (id) duy nhất.
* Các hệ phân tán không có cấu trúc định sẵn. Bạn có thể thay đổi một kiểu SVN, hệ phân tán, với git. * Các hệ phân tán không có cấu trúc định sẵn. Bạn có thể thay đổi một kiểu SVN, hệ phân tán, với git.
[Thông tin thêm](https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control) [Thông tin thêm](http://git-scm.com/book/en/Getting-Started-About-Version-Control)
### Tại Sao Dùng Git? ### Tại Sao Dùng Git?
@ -50,7 +50,7 @@ Một git repository bao gồm thư mục .git & tree đang làm việc.
### Thư mục .git (thành phần của một repository) ### Thư mục .git (thành phần của một repository)
Thư mục .git chứa tất cả các cấu hình, log, nhánh, HEAD, và hơn nữa. Thư mục .git chứa tất cả các cấu hình, log, nhánh, HEAD, và hơn nữa.
[Danh Sách Chi Tiết.](https://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html) [Danh Sách Chi Tiết.](http://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html)
### Tree Đang Làm (thành phần của một repository) ### Tree Đang Làm (thành phần của một repository)
@ -79,6 +79,12 @@ con trỏ này sẽ cập nhật tự động và trỏ đến commit mới nh
HEAD là một con trỏ đến branch hiện tại. Một repo chỉ có một HEAD *đang hoạt động*. HEAD là một con trỏ đến branch hiện tại. Một repo chỉ có một HEAD *đang hoạt động*.
head là một con trỏ đến bất kỳ commit nào. Một repo có thể có nhiều head. head là một con trỏ đến bất kỳ commit nào. Một repo có thể có nhiều head.
### Các Tài Nguyên Mang Tính Khái Niệm
* [Git For Computer Scientists](http://eagain.net/articles/git-for-computer-scientists/)
* [Git For Designers](http://hoth.entp.com/output/git_for_designers.html)
## Các Lệnh ## Các Lệnh
@ -107,7 +113,7 @@ $ git config --global user.email "MyEmail@Zoho.com"
$ git config --global user.name "My Name" $ git config --global user.name "My Name"
``` ```
[Tìm hiểu thêm về git config.](https://git-scm.com/docs/git-config) [Tìm hiểu thêm về git config.](http://git-scm.com/docs/git-config)
### help ### help
@ -252,7 +258,7 @@ $ git grep -e 'arrayListName' --and \( -e add -e remove \)
``` ```
Google để xem thêm các ví dụ Google để xem thêm các ví dụ
[Git Grep Ninja](https://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja) [Git Grep Ninja](http://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja)
### log ### log
@ -341,7 +347,7 @@ Lấy tất cả các thay đổi mà đã được commit trên một nhánh, v
$ git rebase master experimentBranch $ git rebase master experimentBranch
``` ```
[Đọc Thêm.](https://git-scm.com/book/en/v2/Git-Branching-Rebasing) [Đọc Thêm.](http://git-scm.com/book/en/Git-Branching-Rebasing)
### reset (thận trọng) ### reset (thận trọng)
@ -380,12 +386,16 @@ $ git rm /pather/to/the/file/HelloWorld.c
## Thông tin thêm ## Thông tin thêm
* [git-scm - Video Tutorials](https://git-scm.com/videos) * [tryGit - A fun interactive way to learn Git.](http://try.github.io/levels/1/challenges/1)
* [git-scm - Documentation](https://git-scm.com/docs) * [git-scm - Video Tutorials](http://git-scm.com/videos)
* [git-scm - Documentation](http://git-scm.com/docs)
* [Atlassian Git - Tutorials & Workflows](https://www.atlassian.com/git/) * [Atlassian Git - Tutorials & Workflows](https://www.atlassian.com/git/)
* [Git - the simple guide](https://rogerdudler.github.io/git-guide/index.html) * [SalesForce Cheat Sheet](https://na1.salesforce.com/help/doc/en/salesforce_git_developer_cheatsheet.pdf)
* [Git - the simple guide](http://rogerdudler.github.io/git-guide/index.html)
* [Git For Computer Scientists](https://eagain.net/articles/git-for-computer-scientists/)

View File

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

View File

@ -58,7 +58,6 @@ 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 |
@ -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. 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) |

View File

@ -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.txt filename: learnangular-cn.html
translators: translators:
- ["Jiang Haiyun", "http://www.atjiang.com"] - ["Jiang Haiyun", "http://www.atjiang.com"]
lang: zh-cn lang: zh-cn

View File

@ -24,7 +24,7 @@ Git可以为你的项目保存若干快照以此来对整个项目进行版
* 分布式版本控制则更注重共享更改。每一次更改都有唯一的标识 * 分布式版本控制则更注重共享更改。每一次更改都有唯一的标识
* 分布式系统没有预定的结构。你也可以用git很轻松的实现SVN风格的集中式系统控制 * 分布式系统没有预定的结构。你也可以用git很轻松的实现SVN风格的集中式系统控制
[更多信息](https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control) [更多信息](http://git-scm.com/book/en/Getting-Started-About-Version-Control)
### 为什么要使用Git ### 为什么要使用Git
@ -47,7 +47,7 @@ Git可以为你的项目保存若干快照以此来对整个项目进行版
### .git 目录(版本库的一部分) ### .git 目录(版本库的一部分)
.git 目录包含所有的配置、日志、分支信息、头指针等 .git 目录包含所有的配置、日志、分支信息、头指针等
[详细列表](https://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html) [详细列表](http://gitready.com/advanced/2009/03/23/whats-inside-your-git-directory.html)
### 工作目录 (版本库的一部分) ### 工作目录 (版本库的一部分)
@ -74,6 +74,12 @@ Git可以为你的项目保存若干快照以此来对整个项目进行版
头指针是一个指向当前分支的指针,一个版本库只有一个当前活动的头指针 头指针是一个指向当前分支的指针,一个版本库只有一个当前活动的头指针
而头则可以指向版本库中任意一个提交,每个版本库也可以有多个头 而头则可以指向版本库中任意一个提交,每个版本库也可以有多个头
### 其他形象化解释
* [给计算机科学家的解释](http://eagain.net/articles/git-for-computer-scientists/)
* [给设计师的解释](http://hoth.entp.com/output/git_for_designers.html)
## 命令 ## 命令
@ -99,7 +105,7 @@ $ git config --global user.email "MyEmail@Zoho.com"
$ git config --global user.name "My Name" $ git config --global user.name "My Name"
``` ```
[关于git的更多设置](https://git-scm.com/docs/git-config) [关于git的更多设置](http://git-scm.com/docs/git-config)
### 帮助 ### 帮助
@ -241,7 +247,7 @@ $ git grep -e 'arrayListName' --and \( -e add -e remove \)
``` ```
更多的例子可以查看: 更多的例子可以查看:
[Git Grep Ninja](https://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja) [Git Grep Ninja](http://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja)
### log ### log
@ -318,7 +324,7 @@ $ git push origin master
$ git rebase master experimentBranch $ git rebase master experimentBranch
``` ```
[更多阅读](https://git-scm.com/book/en/v2/Git-Branching-Rebasing) [更多阅读](http://git-scm.com/book/en/Git-Branching-Rebasing)
### reset (谨慎使用) ### reset (谨慎使用)
@ -355,10 +361,12 @@ $ git rm /pather/to/the/file/HelloWorld.c
## 更多阅读 ## 更多阅读
* [git-scm - 视频教程](https://git-scm.com/videos) * [tryGit - 学习Git的有趣方式](http://try.github.io/levels/1/challenges/1)
* [git-scm - 文档](https://git-scm.com/docs) * [git-scm - 视频教程](http://git-scm.com/videos)
* [git-scm - 文档](http://git-scm.com/docs)
* [Atlassian Git - 教程与工作流程](https://www.atlassian.com/git/) * [Atlassian Git - 教程与工作流程](https://www.atlassian.com/git/)
* [给计算机科学家的解释](https://eagain.net/articles/git-for-computer-scientists/) * [SalesForce Cheat Sheet](https://na1.salesforce.com/help/doc/en/salesforce_git_developer_cheatsheet.pdf)

View File

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

View File

@ -1,4 +1,5 @@
--- ---
name: java
category: language category: language
language: Java language: Java
lang: zh-cn lang: zh-cn

View File

@ -1,6 +1,7 @@
--- ---
language: JavaScript language: JavaScript
category: language category: language
name: javascript
filename: javascript-zh.js filename: javascript-zh.js
contributors: contributors:
- ["Leigh Brenecki", "https://leigh.net.au"] - ["Leigh Brenecki", "https://leigh.net.au"]

View File

@ -1,4 +1,5 @@
--- ---
name: perl
category: language category: language
language: Perl language: Perl
filename: learnperl-cn.pl filename: learnperl-cn.pl

View File

@ -1,4 +1,5 @@
--- ---
name: Red
category: language category: language
language: Red language: Red
filename: LearnRed-zh.red filename: LearnRed-zh.red

View File

@ -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.sml filename: standard-ml-cn.html
translators: translators:
- ["Buqian Zheng", "https://github.com/zhengbuqian"] - ["Buqian Zheng", "https://github.com/zhengbuqian"]
lang: zh-cn lang: zh-cn

View File

@ -1,6 +1,7 @@
--- ---
language: JavaScript language: javascript
category: language category: language
name: javascript
filename: javascript-zh-tw.js filename: javascript-zh-tw.js
contributors: contributors:
- ["Leigh Brenecki", "https://leigh.net.au"] - ["Leigh Brenecki", "https://leigh.net.au"]

View File

@ -1,4 +1,5 @@
--- ---
name: perl
category: language category: language
language: Perl language: Perl
filename: learnperl-tw.pl filename: learnperl-tw.pl