mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-26 07:03:57 +00:00
Remove feedback requests and inline credits
This commit is contained in:
parent
c3c2f20a80
commit
0dba59d585
@ -4,6 +4,7 @@ name: "Common Lisp"
|
||||
filename: commonlisp.lisp
|
||||
contributors:
|
||||
- ["Paul Nathan", "https://github.com/pnathan"]
|
||||
- ["Paul Khuong", "https://github.com/pkhuong"]
|
||||
- ["Rommel Martinez", "https://ebzzry.io"]
|
||||
---
|
||||
|
||||
@ -14,8 +15,6 @@ The classic starting point is [Practical Common Lisp](http://www.gigamonkeys.com
|
||||
popular and recent book is [Land of Lisp](http://landoflisp.com/). A new book about best practices,
|
||||
[Common Lisp Recipes](http://weitz.de/cl-recipes/), was recently published.
|
||||
|
||||
|
||||
|
||||
```lisp
|
||||
;;;-----------------------------------------------------------------------------
|
||||
;;; 0. Syntax
|
||||
@ -667,24 +666,14 @@ nil ; false; also, the empty list: ()
|
||||
;;; See Practical Common Lisp and On Lisp for more information on macros.
|
||||
```
|
||||
|
||||
|
||||
## Further reading
|
||||
|
||||
- [Practical Common Lisp](http://www.gigamonkeys.com/book/)
|
||||
- [Common Lisp: A Gentle Introduction to Symbolic Computation](https://www.cs.cmu.edu/~dst/LispBook/book.pdf)
|
||||
|
||||
|
||||
## Extra information
|
||||
|
||||
- [CLiki](http://www.cliki.net/)
|
||||
- [common-lisp.net](https://common-lisp.net/)
|
||||
- [Awesome Common Lisp](https://github.com/CodyReichert/awesome-cl)
|
||||
- [Lisp Lang](http://lisp-lang.org/)
|
||||
|
||||
|
||||
## Credits
|
||||
|
||||
Lots of thanks to the Scheme people for rolling up a great starting
|
||||
point which could be easily moved to Common Lisp.
|
||||
|
||||
- [Paul Khuong](https://github.com/pkhuong) for some great reviewing.
|
||||
|
14
de/shutit.md
14
de/shutit.md
@ -5,8 +5,6 @@ translators:
|
||||
- ["Dennis Keller", "https://github.com/denniskeller"]
|
||||
---
|
||||
|
||||
## ShutIt
|
||||
|
||||
ShuIt ist eine Shellautomationsframework, welches für eine einfache
|
||||
Handhabung entwickelt wurde.
|
||||
|
||||
@ -48,7 +46,6 @@ Das 'echo' Argument gibt die Terminalinteraktion aus. ShuIt ist standardmäßig
|
||||
'Send' kümmert sich um die nervigen Arbeiten mit den Prompts und macht
|
||||
alles was du von 'expect' erwarten würdest.
|
||||
|
||||
|
||||
## Logge dich auf einen Server ein
|
||||
|
||||
Sagen wir du möchtest dich auf einen Server einloggen und einen Befehl ausführen.
|
||||
@ -73,7 +70,6 @@ example.com
|
||||
example.com:cgoIsdVv:heDa77HB#
|
||||
```
|
||||
|
||||
|
||||
Es ist klar, dass das nicht sicher ist. Stattdessen kann man Folgendes machen:
|
||||
|
||||
```python
|
||||
@ -96,7 +92,6 @@ example.com
|
||||
example.com:cgoIsdVv:heDa77HB#
|
||||
```
|
||||
|
||||
|
||||
Die 'login' Methode übernimmt wieder das veränderte Prompt für den Login.
|
||||
Du übergibst ShutIt den User und das Passwort, falls es benötigt wird,
|
||||
mit den du dich einloggen möchtest. ShutIt übernimmt den Rest.
|
||||
@ -172,7 +167,6 @@ Kapazitätsbefehl (df) zu erhalten.
|
||||
Es gibt elegantere Wege als oben (z.B. kannst du ein Dictionary verwenden, um über
|
||||
die Server zu iterieren), aber es hängt an dir wie clever das Python sein muss.
|
||||
|
||||
|
||||
## kompliziertere IO - Expecting
|
||||
|
||||
Sagen wir du hast eine Interaktion mit einer interaktiven Kommandozeilenprogramm,
|
||||
@ -229,7 +223,6 @@ Wenn du das Argument nicht mitgegeben hättest, dann hätte dir ShutIt
|
||||
ein interaktives Terminal zurückgegeben, falls es ein Terminal zum
|
||||
Kommunizieren gibt. Dies nennt sich ein 'Pause point'.
|
||||
|
||||
|
||||
## Pause Points
|
||||
|
||||
Du kannst jederzeit 'pause point' auslösen, wenn du Folgendes in deinem Skript aufrufst:
|
||||
@ -268,7 +261,6 @@ Hat dir der Pause point gefallen?
|
||||
Ians-Air.home:ORIGIN_ENV:I00LA1Mq#
|
||||
```
|
||||
|
||||
|
||||
## noch kompliziertere IO - Hintergrund
|
||||
|
||||
Kehren wir zu unserem Beispiel mit dem Überwachen von mehreren Servern zurück.
|
||||
@ -279,7 +271,6 @@ Wir können jedoch die Aufgaben im Hintergrund laufen lassen, um sie zu beschleu
|
||||
Hier ist ein Beispiel, welches du ausprobieren kannst.
|
||||
Es verwendet den trivialen Befehl: 'sleep'.
|
||||
|
||||
|
||||
```python
|
||||
import shutit
|
||||
import time
|
||||
@ -303,12 +294,10 @@ Mein Computer meint, dass er 0.5 Sekunden gebraucht hat um die Befehle zu starte
|
||||
und dann nur etwas über eine Minute gebraucht um sie zu beenden
|
||||
(mit Verwendung der 'wait' Methode).
|
||||
|
||||
|
||||
Das alles ist trivial, aber stelle dir vor das du hunderte an Servern so managen
|
||||
kannst und man kann nun das Potential sehen, die in ein paar Zeilen Code und ein Python
|
||||
import liegen können.
|
||||
|
||||
|
||||
## Lerne mehr
|
||||
|
||||
Es gibt noch viel mehr, was mit ShutIt erreicht werden kann.
|
||||
@ -320,6 +309,3 @@ Um mehr zu erfahren, siehe:
|
||||
|
||||
Es handelt sich um ein breiteres Automatisierungsframework, und das oben
|
||||
genannte ist der sogenannte 'standalone Modus'.
|
||||
|
||||
Feedback, feature requests, 'Wie mache ich es' sind herzlich willkommen! Erreiche mit unter
|
||||
[@ianmiell](https://twitter.com/ianmiell)
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
contributors:
|
||||
- ["Paul Nathan", "https://github.com/pnathan"]
|
||||
- ["Paul Khuong", "https://github.com/pkhuong"]
|
||||
- ["Rommel Martinez", "https://ebzzry.io"]
|
||||
translators:
|
||||
- ["ivanchoff", "https://github.com/ivanchoff"]
|
||||
@ -665,24 +665,14 @@ nil ; false; también, la lista vacia: ()
|
||||
;;; Consulte Practical Common Lisp y On Lisp para obtener más información sobre macros.
|
||||
```
|
||||
|
||||
|
||||
## Otras Lecturas
|
||||
|
||||
- [Practical Common Lisp](http://www.gigamonkeys.com/book/)
|
||||
- [Common Lisp: A Gentle Introduction to Symbolic Computation](https://www.cs.cmu.edu/~dst/LispBook/book.pdf)
|
||||
|
||||
|
||||
## Información extra
|
||||
|
||||
- [CLiki](http://www.cliki.net/)
|
||||
- [common-lisp.net](https://common-lisp.net/)
|
||||
- [Awesome Common Lisp](https://github.com/CodyReichert/awesome-cl)
|
||||
- [Lisp Lang](http://lisp-lang.org/)
|
||||
|
||||
|
||||
## Creditos
|
||||
|
||||
Muchas Gracias a la gente de Scheme por proveer un gran punto de inicio
|
||||
el cual puede ser movido fácilmente a Common Lisp
|
||||
|
||||
- [Paul Khuong](https://github.com/pkhuong) para un buen repaso.
|
||||
|
@ -363,13 +363,4 @@ translators:
|
||||
;;
|
||||
;; Para leer una introducción en linea de Emacs Lisp:
|
||||
;; https://www.gnu.org/software/emacs/manual/html_node/eintr/index.html
|
||||
|
||||
;; Me gustaría agradecer a las siguientes personas su feedback y sugerencias:
|
||||
;; - Wes Hardaker
|
||||
;; - notbob
|
||||
;; - Kevin Montuori
|
||||
;; - Arne Babenhauserheide
|
||||
;; - Alan Schmitt
|
||||
;; - LinXitoW
|
||||
;; - Aaron Meurer
|
||||
```
|
||||
|
@ -357,13 +357,4 @@ translators:
|
||||
;;
|
||||
;; Pour lire en ligne une introduction à Emacs Lisp :
|
||||
;; https://www.gnu.org/software/emacs/manual/html_node/eintr/index.html
|
||||
|
||||
;; Merci à ces personnes pour leurs retours et suggestions :
|
||||
;; - Wes Hardaker
|
||||
;; - notbob
|
||||
;; - Kevin Montuori
|
||||
;; - Arne Babenhauserheide
|
||||
;; - Alan Schmitt
|
||||
;; - LinXitoW
|
||||
;; - Aaron Meurer
|
||||
```
|
||||
|
@ -10,12 +10,6 @@ translators:
|
||||
Racket est un langage de programmation généraliste, multi-paradigme,
|
||||
descendant de Lisp/Scheme.
|
||||
|
||||
Les retours et commentaires sont appréciés ! Vous pouvez joindre l'auteur
|
||||
original ici :
|
||||
[@th3rac25](http://twitter.com/th3rac25) ou là : th3rac25 [at] [google's email
|
||||
service]. Vous pouvez joindre le traducteur de ce document ici :
|
||||
[@lkdjiin](http://twitter.com/lkdjiin).
|
||||
|
||||
```racket
|
||||
#lang racket ; défini le dialecte à utiliser.
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
contributors:
|
||||
- ["Paul Nathan", "https://github.com/pnathan"]
|
||||
- ["Paul Khuong", "https://github.com/pkhuong"]
|
||||
- ["Rommel Martinez", "https://ebzzry.io"]
|
||||
translators:
|
||||
- ["Eunpyoung Kim", "https://github.com/netpyoung"]
|
||||
@ -672,9 +673,3 @@ nil ; 거짓; 빈 리스트: () 역시 거짓.
|
||||
- [common-lisp.net](https://common-lisp.net/)
|
||||
- [Awesome Common Lisp](https://github.com/CodyReichert/awesome-cl)
|
||||
- [Lisp Lang](http://lisp-lang.org/)
|
||||
|
||||
## 크레딧
|
||||
|
||||
Scheme 사용자들의 노고에 큰 감사를 드립니다. 좋은 시작점을 만들어 주신 덕분에 쉽게 Common Lisp로 옮길 수 있었습니다.
|
||||
|
||||
- 훌륭한 리뷰를 해주신 [Paul Khuong](https://github.com/pkhuong)
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
contributors:
|
||||
- ["Paul Nathan", "https://github.com/pnathan"]
|
||||
- ["Paul Khuong", "https://github.com/pkhuong"]
|
||||
- ["Rommel Martinez", "https://ebzzry.io"]
|
||||
translators:
|
||||
- ["Burhanuddin Baharuddin", "https://github.com/burhanloey"]
|
||||
@ -14,8 +14,6 @@ Sumber bacaan yang klasik ialah [Practical Common Lisp](http://www.gigamonkeys.c
|
||||
yang terbaru ialah [Land of Lisp](http://landoflisp.com/). Buku baru mengenai best practices (amalan terbaik),
|
||||
[Common Lisp Recipes](http://weitz.de/cl-recipes/), baru sahaja diterbitkan.
|
||||
|
||||
|
||||
|
||||
```common-lisp
|
||||
;;;-----------------------------------------------------------------------------
|
||||
;;; 0. Syntax
|
||||
@ -665,24 +663,14 @@ nil ; false; termasuklah list yang kosong: ()
|
||||
;;; Baca Practical Common Lisp dan On Lisp untuk maklumat lebih lanjut mengenai macro.
|
||||
```
|
||||
|
||||
|
||||
## Bacaan lanjut
|
||||
|
||||
- [Practical Common Lisp](http://www.gigamonkeys.com/book/)
|
||||
- [Common Lisp: A Gentle Introduction to Symbolic Computation](https://www.cs.cmu.edu/~dst/LispBook/book.pdf)
|
||||
|
||||
|
||||
## Maklumat tambahan
|
||||
|
||||
- [CLiki](http://www.cliki.net/)
|
||||
- [common-lisp.net](https://common-lisp.net/)
|
||||
- [Awesome Common Lisp](https://github.com/CodyReichert/awesome-cl)
|
||||
- [Lisp Lang](http://lisp-lang.org/)
|
||||
|
||||
|
||||
## Kredit
|
||||
|
||||
Terima kasih banyak diucapkan kepada ahli Scheme yang membuat permulaan yang sangat
|
||||
bagus dan mudah untuk diguna pakai untuk Common Lisp.
|
||||
|
||||
- [Paul Khuong](https://github.com/pkhuong) untuk review yang bagus.
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
contributors:
|
||||
- ["Paul Nathan", "https://github.com/pnathan"]
|
||||
- ["Paul Khuong", "https://github.com/pkhuong"]
|
||||
translators:
|
||||
- ["Édipo Luis Féderle", "https://github.com/edipofederle"]
|
||||
---
|
||||
@ -9,13 +10,11 @@ ANSI Common Lisp é uma linguagem de uso geral, multi-paradigma, designada
|
||||
para uma variedade de aplicações na indústria. É frequentemente citada
|
||||
como uma linguagem de programação programável.
|
||||
|
||||
|
||||
O ponto inicial clássico é [Practical Common Lisp e livremente disponível](http://www.gigamonkeys.com/book/)
|
||||
|
||||
Outro livro recente e popular é o
|
||||
[Land of Lisp](http://landoflisp.com/).
|
||||
|
||||
|
||||
```lisp
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;;; 0. Sintaxe
|
||||
@ -604,15 +603,6 @@ nil ; para false - e para lista vazia
|
||||
;; Veja Practical Common Lisp para maiores informações sobre macros.
|
||||
```
|
||||
|
||||
|
||||
## Leitura Adicional
|
||||
|
||||
[Continua em frente com Practical Common Lisp book.](http://www.gigamonkeys.com/book/)
|
||||
|
||||
|
||||
## Créditos
|
||||
|
||||
Muitos agradecimentos ao pessoal de Schema por fornecer um grande ponto de partida
|
||||
o que facilitou muito a migração para Common Lisp.
|
||||
|
||||
- [Paul Khuong](https://github.com/pkhuong) pelas grandes revisões.
|
||||
|
@ -344,13 +344,4 @@ translators:
|
||||
;;
|
||||
;; Para ler uma introdução online ao Emacs Lisp:
|
||||
;; https://www.gnu.org/software/emacs/manual/html_node/eintr/index.html
|
||||
|
||||
;; Agradecimentos a estas pessoas por seu feedback e sugestões:
|
||||
;; - Wes Hardaker
|
||||
;; - notbob
|
||||
;; - Kevin Montuori
|
||||
;; - Arne Babenhauserheide
|
||||
;; - Alan Schmitt
|
||||
;; - LinXitoW
|
||||
;; - Aaron Meurer
|
||||
```
|
||||
|
@ -12,9 +12,6 @@ contributors:
|
||||
|
||||
Racket is a general purpose, multi-paradigm programming language in the Lisp/Scheme family.
|
||||
|
||||
Feedback is appreciated! You can reach me at [@th3rac25](http://twitter.com/th3rac25) or th3rac25 [at] [google's email service]
|
||||
|
||||
|
||||
```racket
|
||||
#lang racket ; defines the language we are using
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
contributors:
|
||||
- ["Paul Nathan", "https://github.com/pnathan"]
|
||||
- ["Paul Khuong", "https://github.com/pkhuong"]
|
||||
- ["Rommel Martinez", "https://ebzzry.io"]
|
||||
translators:
|
||||
- ["Michael Filonenko", "https://github.com/filonenko-mikhail"]
|
||||
@ -17,8 +17,6 @@ Common Lisp - мультипарадигменный язык программи
|
||||
И одна из последних книг [Common Lisp Recipes](http://weitz.de/cl-recipes/) вобрала в себя лучшие
|
||||
архитектурные решения на основе опыта коммерческой работки автора.
|
||||
|
||||
|
||||
|
||||
```common-lisp
|
||||
;;;-----------------------------------------------------------------------------
|
||||
;;; 0. Синтаксис
|
||||
@ -671,13 +669,14 @@ nil ; ложь; а ещё пустой список () тож
|
||||
## Для чтения
|
||||
|
||||
На русском
|
||||
|
||||
- [Practical Common Lisp](https://github.com/pcl-ru/pcl-ru/releases/download/v1.1/pcl-ru.pdf)
|
||||
|
||||
На английском
|
||||
|
||||
- [Practical Common Lisp](http://www.gigamonkeys.com/book/)
|
||||
- [Common Lisp: A Gentle Introduction to Symbolic Computation](https://www.cs.cmu.edu/~dst/LispBook/book.pdf)
|
||||
|
||||
|
||||
## Дополнительная информация
|
||||
|
||||
На русском
|
||||
@ -690,12 +689,3 @@ nil ; ложь; а ещё пустой список () тож
|
||||
- [common-lisp.net](https://common-lisp.net/)
|
||||
- [Awesome Common Lisp](https://github.com/CodyReichert/awesome-cl)
|
||||
- [Lisp Lang](http://lisp-lang.org/)
|
||||
|
||||
|
||||
## Благодарности в английской версии
|
||||
|
||||
Спасибо людям из Scheme за отличную статью, взятую за основу для
|
||||
Common Lisp.
|
||||
|
||||
|
||||
- [Paul Khuong](https://github.com/pkhuong) за хорошую вычитку.
|
||||
|
11
shutit.md
11
shutit.md
@ -6,8 +6,6 @@ contributors:
|
||||
filename: learnshutit.py
|
||||
---
|
||||
|
||||
## ShutIt
|
||||
|
||||
ShutIt is an shell automation framework designed to be easy to use.
|
||||
|
||||
It is a wrapper around a Python-based expect clone (pexpect).
|
||||
@ -48,7 +46,6 @@ argument outputs the terminal interactions. By default ShutIt is silent.
|
||||
'send' takes care of all the messing around with prompts and 'expects' that
|
||||
you might be familiar with from expect.
|
||||
|
||||
|
||||
## Log Into a Server
|
||||
|
||||
Let's say you want to log into a server and run a command. Change example.py
|
||||
@ -170,7 +167,6 @@ There are much more elegant ways to do the above (e.g. have a dictionary of the
|
||||
servers to iterate over), but it's up to you how clever you need the Python to
|
||||
be.
|
||||
|
||||
|
||||
## More Intricate IO - Expecting
|
||||
|
||||
Let's say you have an interaction with an interactive command line application
|
||||
@ -225,7 +221,6 @@ let ShutIt know you don't care about the exit code.
|
||||
If you didn't pass that argument in, ShutIt gives you an interactive terminal
|
||||
if there is a terminal to communicate with. This is called a 'pause point'.
|
||||
|
||||
|
||||
## Pause Points
|
||||
|
||||
You can trigger a 'pause point' at any point by calling
|
||||
@ -264,7 +259,6 @@ Did you enjoy your pause point?
|
||||
Ians-Air.home:ORIGIN_ENV:I00LA1Mq#
|
||||
```
|
||||
|
||||
|
||||
## More Intricate IO - Backgrounding
|
||||
|
||||
Returning to our 'monitoring multiple servers' example, let's imagine we
|
||||
@ -274,7 +268,6 @@ background to speed things up.
|
||||
|
||||
Here you can try an example with the trivial command: 'sleep 60'.
|
||||
|
||||
|
||||
```python
|
||||
import shutit
|
||||
import time
|
||||
@ -301,7 +294,6 @@ Again, this is trivial, but imagine you have hundreds of servers to manage like
|
||||
this and you can see the power it can bring in a few lines of code and one
|
||||
Python import.
|
||||
|
||||
|
||||
## Learn More
|
||||
|
||||
There's a lot more that can be done with ShutIt.
|
||||
@ -312,6 +304,3 @@ To learn more, see:
|
||||
[GitHub](https://github.com/ianmiell/shutit/blob/master/README.md)
|
||||
|
||||
It's a broader automation framework, and the above is its 'standalone mode'.
|
||||
|
||||
Feedback, feature requests, 'how do I?'s highly appreciated! Reach me at
|
||||
[@ianmiell](https://twitter.com/ianmiell)
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
contributors:
|
||||
- ["Paul Nathan", "https://github.com/pnathan"]
|
||||
- ["Paul Khuong", "https://github.com/pkhuong"]
|
||||
translators:
|
||||
- ["Mac David", "http://macdavid313.com"]
|
||||
- ["mut0u", "http://github.com/mut0u"]
|
||||
@ -607,17 +608,6 @@ nil ; 逻辑假,或者空列表
|
||||
;; 可以去《实用 Common Lisp 编程》中阅读更多有关宏的内容。
|
||||
```
|
||||
|
||||
|
||||
## 拓展阅读
|
||||
|
||||
[继续阅读《实用 Common Lisp 编程》一书](http://www.gigamonkeys.com/book/)
|
||||
|
||||
|
||||
## 致谢
|
||||
|
||||
非常感谢Scheme社区的人们,我基于他们的成果得以迅速的写出这篇有关Common Lisp的快速入门
|
||||
同时也感谢
|
||||
- [Paul Khuong](https://github.com/pkhuong) ,他提出了很多有用的点评。
|
||||
|
||||
## 译者寄语
|
||||
“祝福那些将思想镶嵌在重重括号之内的人们。”
|
||||
|
@ -330,13 +330,5 @@ translators:
|
||||
;;
|
||||
;; 在线阅读Emacs Lisp文档:
|
||||
;; https://www.gnu.org/software/emacs/manual/html_node/eintr/index.html
|
||||
|
||||
;; 感谢以下同学的建议和反馈:
|
||||
;; - Wes Hardaker
|
||||
;; - notbob
|
||||
;; - Kevin Montuori
|
||||
;; - Arne Babenhauserheide
|
||||
;; - Alan Schmitt
|
||||
;; - spacegoing
|
||||
```
|
||||
|
||||
|
@ -9,7 +9,6 @@ translators:
|
||||
---
|
||||
|
||||
Racket是Lisp/Scheme家族中的一个通用的,多范式的编程语言。
|
||||
非常期待您的反馈!你可以通过[@th3rac25](http://twitter.com/th3rac25)或以用户名为 th3rac25 的Google邮箱服务和我取得联系
|
||||
|
||||
```racket
|
||||
#lang racket ; 声明我们使用的语言
|
||||
|
Loading…
Reference in New Issue
Block a user