Commit fdcfcb2 1 parent 3003e3d commit fdcfcb2 Copy full SHA for fdcfcb2
File tree 7 files changed +31
-10
lines changed
7 files changed +31
-10
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ Min Hour Day Mon Weekday
95
95
` L ` | 仅允许用于 ` 月份中的某天 ` 或 ` 星期几 ` 字段,` 星期几 ` 中的 ` 2L ` 表示每个月的最后一个星期二
96
96
` 井号 (#) ` | 仅允许用于 ` 星期几 ` 字段,后面必须在 1 到 5 的范围内。例如,` 4#1 ` 表示给定月份的“第一个星期四”。
97
97
` 问号(?) ` | 可以代替“* ”并允许用于月份和星期几。使用仅限于 cron 表达式中的 ` 月份中的某天 ` 或 ` 星期几 ` 。
98
- <!-- rehype:className=show-header -->
98
+ <!-- rehype:className=show-header auto-wrap -->
99
99
100
100
101
101
## Also see
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ apk add --update curl # alpine linux 中安装
110
110
` curl --connect-timeout 10 -I -k https://www.baidu.com ` | ` curl ` 默认没有超时
111
111
` curl --verbose --header "Host: www.mytest.com:8182" www.baidu.com ` | ` curl ` 得到额外的标题
112
112
` curl -k -v https://www.google.com ` | ` curl ` 获取带有标题的响应
113
-
113
+ <!-- rehype:class=auto-wrap -->
114
114
115
115
### 多文件上传
116
116
<!-- rehype:wrap-class=col-span-2-->
@@ -136,6 +136,7 @@ $ curl -XGET http://${elasticsearch_ip}:9200/_cluster/nodes | python -m json.too
136
136
:- | :-
137
137
` curl -d "name=username&password=123456" <URL> ` | ` curl ` 发请求
138
138
` curl <URL> -H "content-type: application/json" -d "{ \"woof\": \"bark\"}" ` | ` curl ` 发送 json
139
+ <!-- rehype:class=auto-wrap-->
139
140
140
141
### CURL 脚本安装 rvm
141
142
<!-- rehype:wrap-class=col-span-2-->
@@ -156,6 +157,7 @@ curl -sSL https://get.rvm.io | bash
156
157
` curl -T cryptopp552.zip -u test:test ftp://10.32.99.187/ ` | curl ` ftp ` 上传
157
158
` curl -u test:test ftp://10.32.99.187/cryptopp552.zip -o cryptopp552.zip ` | curl ` ftp ` 下载
158
159
` curl -v -u admin:admin123 --upload-file package1.zip http://mysever:8081/dir/package1.zip ` | 使用凭证 ` curl ` 上传
160
+ <!-- rehype:class=auto-wrap-->
159
161
160
162
### 检查网站响应时间
161
163
<!-- rehype:wrap-class=col-span-4-->
Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ RUN true | false # 将脱离管道
110
110
` CMD ["executable","param1","param2"] ` | (exec 形式,这是首选形式)
111
111
` CMD ["param1","param2"] ` | (作为 ENTRYPOINT 的默认参数)
112
112
` CMD command param1 param2 ` | (shell形式)
113
+ <!-- rehype:class=auto-wrap-->
113
114
114
115
``` dockerfile
115
116
EXPOSE 5900
@@ -185,6 +186,7 @@ temp?
185
186
` */temp* ` | 在根的任何直接子目录中<br />排除名称以 ` temp ` 开头的文件和目录
186
187
` */*/temp* ` | 从根以下两级的任何子目录中<br />排除以 ` temp ` 开头的文件和目录
187
188
` temp? ` | 排除根目录中名称为<br /> ` temp ` 的单字符扩展名的文件和目录
189
+ <!-- rehype:class=auto-wrap-->
188
190
189
191
如果此文件存在,排除与其中的模式匹配的文件和目录,有利于避免 ` ADD ` 或 ` COPY ` 将敏感文件添加到镜像中。匹配是使用 Go 的 [ filepath.Match] ( https://golang.org/pkg/path/filepath#Match ) 规则完成的。
190
192
@@ -203,6 +205,7 @@ temp?
203
205
` CMD command param1 param2 ` | 设置默认命令
204
206
` ENV <key>=<value> ... ` | 设置环境变量
205
207
` EXPOSE <port> [<port>/<protocol>...] ` | 运行时侦听指定的网络端口
208
+ <!-- rehype:class=auto-wrap-->
206
209
207
210
### 服务静态网站的最小 Docker 镜像
208
211
<!-- rehype:wrap-class=col-span-2-->
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ npm 备忘清单
21
21
| ` npm install <package_name>@<tag> ` | 使用 dist-tags 安装包 |
22
22
| ` npm install -g <package_name> ` | 全局安装包 |
23
23
| ` npm uninstall <package_name> ` | 卸载包 |
24
+ <!-- rehype:class=auto-wrap-->
24
25
25
26
` --save ` 是 npm@5 的默认值。 以前,使用不带 ` --save ` 的 ` npm install ` 不会更新 package.json。
26
27
@@ -40,6 +41,7 @@ npm 备忘清单
40
41
| ` npm i /path/to/repo ` | 绝对路径 |
41
42
| ` npm i ./archive.tgz ` | 压缩包 |
42
43
| ` npm i https://site.com/archive.tgz ` | 通过 HTTP 压缩包 |
44
+ <!-- rehype:class=auto-wrap-->
43
45
44
46
### 清单
45
47
@@ -49,6 +51,7 @@ npm 备忘清单
49
51
| ` npm list -g --depth 0 ` | 列出所有全局安装包的安装版本 |
50
52
| ` npm view ` | 列出此软件中所有依赖项的最新版本 |
51
53
| ` npm outdated ` | 仅列出此软件中已过时的依赖项 |
54
+ <!-- rehype:class=auto-wrap-->
52
55
53
56
### 更新
54
57
Original file line number Diff line number Diff line change @@ -602,6 +602,17 @@ H2 部分
602
602
603
603
` <!--rehype:className=style-list-arrow--> `
604
604
605
+ ### 隐藏表头强制小尺寸自动换行
606
+
607
+ :- | :-
608
+ :- | :-
609
+ ` visualEffectState.inactive ` | 后台应一直显示为非激活状态。
610
+ ` titleBarStyle ` _ string_ _ (win/mac)_ | 窗口标题栏样式。默认值 _ (default)_
611
+ ` titleBarStyle.default ` | 分别返回 _ mac_ 或者 _ win_ 的标准标题栏
612
+ <!-- rehype:className=auto-wrap-->
613
+
614
+ ` <!--rehype:className=auto-wrap--> `
615
+
605
616
列表
606
617
---
607
618
Original file line number Diff line number Diff line change @@ -426,9 +426,9 @@ YAML 参考
426
426
` "` | 环绕内嵌转义标量
427
427
` |` | 块标量指示器
428
428
` >` | 折叠标量指示器
429
- ` -` | 剥离 chomp 修饰符(`|-` 或 `>-`)
430
- ` +` | 保留 chomp 修饰符(`|+` 或 `>+`)
431
- ` 1-9` | 显式缩进修饰符(`|1` 或 `>2`)。 <br/> 修饰符可以组合(`|2-`, `>+1`)
429
+ ` -` | 剥离 chomp 修饰符(`\ |-` 或 `>-`)
430
+ ` +` | 保留 chomp 修饰符(`\ |+` 或 `>+`)
431
+ ` 1-9` | 显式缩进修饰符(`\ |1` 或 `>2`)。 <br/> 修饰符可以组合(`\ |2-`, `>+1`)
432
432
433
433
# ## 标签属性(通常未指定)
434
434
<!--rehype:wrap-class=col-span-2-->
@@ -441,6 +441,7 @@ YAML 参考
441
441
` !!foo` | 次要的(按照惯例,表示 `tag:yaml.org,2002:foo`)
442
442
` !h!foo` | 需要 `%TAG !h! <prefix>`(然后表示 `<prefix>foo`)
443
443
` !<foo>` | 逐字标记(始终表示“foo”)
444
+ <!--rehype:class=auto-wrap-->
444
445
445
446
# ## 杂项指标
446
447
@@ -515,6 +516,7 @@ YAML 参考
515
516
| `[.inf, -.Inf, .NAN]` | [无穷大(浮点数),负数,不是数字] |
516
517
| `{Y, true, Yes, ON}` | 布尔真 |
517
518
| `{n, FALSE, No, off}` | 布尔假 |
519
+ <!--rehype:class=auto-wrap-->
518
520
519
521
另见
520
522
---
Original file line number Diff line number Diff line change @@ -959,11 +959,14 @@ body:not(.home) .h2wrap-body > .wrap:hover .h3wrap > h3 a::after {
959
959
.footer-wrap {
960
960
font-size : 0.75rem ;
961
961
}
962
- table {
962
+ table . auto-wrap {
963
963
overflow : auto;
964
964
display : block;
965
965
}
966
- table td , table th {
966
+ table .auto-wrap thead {
967
+ display : none;
968
+ }
969
+ table .auto-wrap td , table .auto-wrap th {
967
970
display : block;
968
971
text-align : left !important ;
969
972
}
@@ -973,9 +976,6 @@ body:not(.home) .h2wrap-body > .wrap:hover .h3wrap > h3 a::after {
973
976
table td : first-child {
974
977
white-space : initial;
975
978
}
976
- .wrap-header .h3wrap > .wrap-body {
977
- overflow : initial;
978
- }
979
979
.tooltip : hover .tooltiptext {
980
980
display : inline-block;
981
981
}
You can’t perform that action at this time.
0 commit comments