8. Appendix

8.1. Some Teacher for Basic Learner

https://zhuanlan.zhihu.com/p/643732141?utm_id=0 https://www.zhihu.com/question/649971676 https://www.math.pku.edu.cn/teachers/lidf/course/index.htm https://www.guofei.site/2017/10/07/inheritance.html https://zhuanlan.zhihu.com/p/194308254?rfrom=1050584v&rchannel=1050584v&rqid=8372735194647231201&mcpErrorActionTrigger=execInvokeInner https://www.zhihu.com/question/36308255/answer/681778981 https://terrytao.wordpress.com/ https://www.cs.jhu.edu/~misha/ https://xjtucai.github.io/

8.2. For book Publish

https://www.springer.com/gp/authors-editors/book-authors-editors/your-publication-journey/manuscript-preparation https://www.proquest.com/ https://www.springernature.com/gp/authors/publish-a-book/manuscript-guidelines

8.3. For Software-guidebook

https://kubernetes.io/ https://www.elastic.co/cn/elasticsearch/

8.4. For Useful Artical

https://baijiahao.baidu.com/s?id=1721920305612879489 https://blog.csdn.net/weixin_38612401/article/details/125216821 https://blog.csdn.net/qq_43198387/article/details/119646907 https://blog.csdn.net/ddxygq/article/details/107527364 “kibana+elasticsearch” https://embedfire.com/

8.5. Pygments support

https://pygments.org/languages/#

ActionScript

Ada

Agda (incl. literate)

Alloy

AMPL

ANTLR

APL

AppleScript

Assembly (various)

Asymptote

Augeas

AutoIt

Awk

BARE

BBC Basic

Befunge

BlitzBasic

Boa

Boo

Boogie

BrainFuck

C, C++ (incl. dialects like Arduino)

C#

Chapel

Charm++ CI

Cirru

Clay

Clean

Clojure

CoffeeScript

ColdFusion

Common Lisp

Component Pascal

Coq

Croc (MiniD)

Cryptol (incl. Literate Cryptol)

Crystal

Cypher

Cython

D

Dart

DCPU-16

Delphi

DOT / Graphviz

Devicetree

Dylan (incl. console)

Eiffel

Elm

Emacs Lisp

Email

Erlang (incl. shell sessions)

Ezhil

Execline

Factor

Fancy

Fantom

Fennel

FloScript

Fortran

FreeFEM++

F#

F*

GAP

GDScript

Gherkin (Cucumber)

GLSL shaders

GnuCOBOL (OpenCOBOL)

Golo

Gosu

Groovy

Haskell (incl. Literate Haskell)

Haxe

HLSL shaders

HSpec

Hy

IDL

Idris (incl. Literate Idris)

Igor Pro

Io

Jags

Java

JavaScript

Jasmin

Jcl

Julia

JSLT

Kotlin

Lasso (incl. templating)

Limbo

LiveScript

LLVM MIR

Logtalk

Logos

Lua

Mathematica

Matlab

The Meson Build System

MiniScript

Modelica

Modula-2

Monkey

Monte

MoonScript

Mosel

MuPad

NASM

Nemerle

NesC

NewLISP

Nim

Nit

Notmuch

NuSMV

Objective-C

Objective-J

Octave

OCaml

Opa

ParaSail

Pawn

PHP

Perl 5

Pike

Pointless

Pony

PovRay

PostScript

PowerShell

Praat

Prolog

Python 2.x and 3.x (incl. console sessions and tracebacks)

QBasic

Racket

Raku a.k.a. Perl 6

ReasonML

REBOL

Red

Redcode

Rexx

Ride

Ruby (incl. irb sessions)

Rust

S, S-Plus, R

Scala

Savi

Scdoc

Scheme

Scilab

SGF

Shell scripts (Bash, Tcsh, Fish)

Shen

Silver

Slash

Slurm

Smalltalk

SNOBOL

Snowball

Solidity

SourcePawn

Spice

Stan

Standard ML

Stata

Swift

Swig

SuperCollider

Tcl

Tera Term language

TypeScript

TypoScript

USD

Unicon

Urbiscript

Vala

VBScript

Verilog, SystemVerilog

VHDL

Visual Basic.NET

Visual FoxPro

Whiley

Xtend

XQuery

Zeek

Zephir

Zig

模板语言

Angular templates

Cheetah templates

ColdFusion

Django / Jinja templates

ERB (Ruby templating)

Evoque

Genshi (the Trac template language)

Handlebars

JSP (Java Server Pages)

Liquid

Myghty (the HTML::Mason based framework)

Mako (the Myghty successor)

Slim

Smarty templates (PHP templating)

Tea

Twig

其他标记

Apache config files

Apache Pig

BBCode

Bdd

CapDL

Cap’n Proto

CDDL

CMake

Csound scores

CSS

Debian control files

Diff files

Dockerfiles

DTD

EBNF

E-mail headers

Extempore

Flatline

Gettext catalogs

Gnuplot script

Groff markup

GSQL

Hexdumps

HTML

HTTP sessions

IDL

Inform

INI-style config files

IRC logs (irssi style)

Isabelle

JSGF notation

JSON, JSON-LD

Lean theorem prover

Lighttpd config files

LilyPond

Linux kernel log (dmesg)

LLVM assembly

LSL scripts

Makefiles

MoinMoin/Trac Wiki markup

MQL

MySQL

NCAR command language

NestedText

Nginx config files

Nix language

NSIS scripts

Notmuch

OMG IDL

PEG

POV-Ray scenes

Procfile

PromQL

Puppet

QML

Ragel

Redcode

ReST

Roboconf

Robot Framework

RPM spec files

Rql

RSL

Scdoc

Sieve

Singularity

Smithy

Sophia

SPARQL

SQL, also MySQL, SQLite

Squid configuration

TADS 3

Terraform

TeX

Thrift

TNT

TOML

Treetop grammars

USD (Universal Scene Description)

Varnish configs

VGL

Vim Script

WDiff

Web IDL

Windows batch files

XML

XSLT

YAML

YANG

Windows Registry files

交互式终端/shell 会话

为了高亮交互式终端或 shell 会话,在你的代码片段前加上一个特殊格式的提示。

支持的 shell 与例子如下。在每个例子中,括号内的提示部分 [any] 代表提示的可选部分,没有括号或括号内的提示部分 (any) 代表提示的必要部分。

Bash 会话 (console, shell-session):

MSDOS 会话 (doscon):

Tcsh 会话 (tcshcon):

PowerShell 会话 (ps1con):

8.6. Regular Expression

Table from https://www.runoob.com/regexp/regexp-metachar.html

Example(apt reinstall for dpkg repair missing):

.. _my-reference-math:
:ref:`my-reference-math`
for package in $(apt-get upgrade 2>&1 |\

   grep "warning: files list file for package '" |\

   grep -Po "[^'\n ]+'" | grep -Po "[^']+"); do

   apt-get install --reinstall "$package";

done

8.7. rst(restructuredtext)

https://docutils.sourceforge.io/docs/ref/rst/

8.8. Shell-script

https://shellscript.readthedocs.io/zh-cn/latest/

#example:sort、uniq、tr、grep、eval、cut、sqlit、paste、awk | awk,sed,grep,cut,uniq,sort,tr,wc,head,tail
du -d 1 * -lha | sort -n -k1 > ~/.log
列出当前目录 下深度 1 所有文件 以B/KB/M标准输出 | 排列 按数字 第一列 > 用户目录.log文件

find / -type f -size +3G
  find / -type f -size +300000 /300M(旧版本不支持M)
感谢提供具体的示例!如果你想要匹配包含了TARGET_PATH字符串的行,你可以使用下面的grep命令:

bash
复制代码
grep -r "TARGET_PATH" /data/busyboxcore/linuxdeploy-cli-master/
这个命令将会在/data/busyboxcore/linuxdeploy-cli-master/文件夹中递归搜索所有文件,并输出包含TARGET_PATH字符串的行以及它们所在的文件路径。
注意chroot需要su执行 不然找不到sh目录