Skip to content

Commit

Permalink
Merge branch 'tldr-pages:main' into linux_top_100_thai
Browse files Browse the repository at this point in the history
  • Loading branch information
kengggg authored Jun 25, 2024
2 parents e11f5b0 + f3d405a commit d85bf06
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 9 deletions.
4 changes: 4 additions & 0 deletions pages.nl/common/git-add.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@

`git add -A`

- Voeg alle bestanden toe in de huidige map:

`git add .`

- Voeg alleen al bijgehouden bestanden toe:

`git add -u`
Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/accelerate.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Accelerate

> 一个使得可以在任何分布式配置中运行相同的 PyTorch 代码的库。
> 更多信息: <https://huggingface.co/docs/accelerate/index>.
> 更多信息:<https://huggingface.co/docs/accelerate/index>.
- 打印环境信息:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/age-keygen.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> 生成 `age` 密钥对。
> 参见:`age` 用于加密/解密文件。
> 更多信息: <https://manned.org/age-keygen>.
> 更多信息:<https://manned.org/age-keygen>.
- 生成密钥对,将其保存到未加密文件,并将公钥打印到标准输出:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/airdecap-ng.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> 解密 WEP、WPA 或 WPA2 加密的捕获文件。
> 是 Aircrack-ng 网络软件套件的一部分。
> 更多信息: <https://www.aircrack-ng.org/doku.php?id=airdecap-ng>.
> 更多信息:<https://www.aircrack-ng.org/doku.php?id=airdecap-ng>.
- 从开放网络捕获文件中移除无线头,并使用接入点的 MAC 地址进行过滤:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/airshare.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# airshare

> 在本地网络中传输数据的工具。
> 更多信息: <https://airshare.rtfd.io/en/latest/cli.html>.
> 更多信息:<https://airshare.rtfd.io/en/latest/cli.html>.
- 共享文件或目录:

Expand Down
2 changes: 1 addition & 1 deletion pages.zh/common/alex.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# alex

> 捕捉文本中的不敏感、不考虑他人的写作风格。它帮助您找出文本中的性别偏向、极端化、种族相关、宗教考虑不周等不平等表达。
> 更多信息: <https://github.com/get-alex/alex>.
> 更多信息:<https://github.com/get-alex/alex>.
- 从标准输入分析文本:

Expand Down
8 changes: 4 additions & 4 deletions pages/common/sort.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@

`sort --field-separator={{:}} --key={{3n}} {{/etc/passwd}}`

- As above, but when items in the 3rd field are equal, sort by the 4th field by numbers with exponents:

`sort -t {{:}} -k {{3,3n}} -k {{4,4g}} {{/etc/passwd}}`

- Sort a file preserving only unique lines:

`sort --unique {{path/to/file}}`

- Sort a file, printing the output to the specified output file (can be used to sort a file in-place):

`sort --output={{path/to/file}} {{path/to/file}}`

- Sort numbers with exponents:

`sort --general-numeric-sort {{path/to/file}}`
12 changes: 12 additions & 0 deletions pages/linux/mopac.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# mopac

> MOPAC (Molecular Orbital PACkage) is a semiempirical quantum chemistry program based on Dewar and Thiel's NDDO approximation.
> More information: <https://github.com/openmopac/mopac>.
- Perform calculations according to an input file (`.mop`, `.dat`, and `.arc`):

`mopac {{path/to/input_file}}`

- Minimal working example with HF that writes to the current directory and streams the output file:

`touch test.out; echo "PM7\n#comment\n\nH 0.95506 0.05781 -0.03133\nF 1.89426 0.05781 -0.03133" > test.mop; mopac test.mop & tail -f test.out`

0 comments on commit d85bf06

Please sign in to comment.