@@ -9,7 +9,7 @@ nav_order: 1
9
9
> 博观而约取,厚积而薄发。
10
10
11
11
ADoyle 的碎片化知识笔记。
12
- https://adoyle.me/Today-I-Learned/
12
+ https://til. adoyle.me
13
13
14
14
## 提醒
15
15
@@ -106,11 +106,15 @@ Read the [NOTICE][] file distributed with this work for additional information r
106
106
107
107
- [ Raft 算法] ( algorithm/raft.md )
108
108
109
+ [ ` ⬆ 返回目录 ` ] ( #toc )
110
+
109
111
## Android
110
112
111
113
- [ Android Root] ( android/root.md )
112
114
- [ Termux] ( android/termux.md )
113
115
116
+ [ ` ⬆ 返回目录 ` ] ( #toc )
117
+
114
118
## 计算机
115
119
116
120
记录与计算机硬件相关的知识。
@@ -126,6 +130,8 @@ Read the [NOTICE][] file distributed with this work for additional information r
126
130
- [ 我的硬盘分区规划] ( computer/my-disk-partitions.md )
127
131
- [ 随机存取存储器 (RAM)] ( computer/ram.md )
128
132
133
+ [ ` ⬆ 返回目录 ` ] ( #toc )
134
+
129
135
## 设计
130
136
131
137
记录平面设计的相关知识
@@ -143,6 +149,8 @@ Read the [NOTICE][] file distributed with this work for additional information r
143
149
- [ Sketch 的文本样式与颜色] ( design/text-style-with-colors-in-sketch.md )
144
150
- [ 排版] ( design/topography.md )
145
151
152
+ [ ` ⬆ 返回目录 ` ] ( #toc )
153
+
146
154
## Docker
147
155
148
156
- [ Alpine Linux] ( docker/alpine.md )
@@ -178,18 +186,24 @@ Read the [NOTICE][] file distributed with this work for additional information r
178
186
- [ Docker 安全] ( docker/security.md )
179
187
- [ volume] ( docker/volume.md )
180
188
189
+ [ ` ⬆ 返回目录 ` ] ( #toc )
190
+
181
191
## Elixir
182
192
183
193
- [ tuple 与 list 的选择] ( elixir/choosing-between-tuple-and-list.md )
184
194
- [ 尾递归优化] ( elixir/tail-call-optimization.md )
185
195
196
+ [ ` ⬆ 返回目录 ` ] ( #toc )
197
+
186
198
## 函数式编程
187
199
188
200
- [ Cache-Control] ( fp/cache-control.md )
189
201
- [ chrome 开发者工具观察响应 Failed to load response data] ( fp/chrome-dev-tool-failed-to-inspect-response.md )
190
202
- [ 重定向 window.location 是异步的] ( fp/redirect-location-is-async.md )
191
203
- [ 什么是 Monad] ( fp/what-is-monad.md )
192
204
205
+ [ ` ⬆ 返回目录 ` ] ( #toc )
206
+
193
207
## 前端
194
208
195
209
- [ SSR (Server Side Render)] ( front-end/SSR.md )
@@ -231,6 +245,8 @@ Read the [NOTICE][] file distributed with this work for additional information r
231
245
- [ 富文本编辑器选型] ( front-end/wysiwyg-editor.md )
232
246
- [ z-index] ( front-end/z-index.md )
233
247
248
+ [ ` ⬆ 返回目录 ` ] ( #toc )
249
+
234
250
### React
235
251
236
252
- [ 使用 jquery 改变 React 的 input DOM] ( front-end/react/change-react-input-dom-via-jquery.md )
@@ -239,6 +255,8 @@ Read the [NOTICE][] file distributed with this work for additional information r
239
255
- [ 不要在 render 里直接定义 ref callback] ( front-end/react/dont-define-ref-callback-in-render.md )
240
256
- [ ref callback 何时触发?] ( front-end/react/when-ref-callback-get-invoked.md )
241
257
258
+ [ ` ⬆ 返回目录 ` ] ( #toc )
259
+
242
260
## Git
243
261
244
262
- [ 用 shell 脚本查询 git commit hash] ( git/a-shell-script-to-get-current-commit-hash.md )
@@ -254,6 +272,8 @@ Read the [NOTICE][] file distributed with this work for additional information r
254
272
- [ git proxy] ( git/proxy.md )
255
273
- [ Git sign-off] ( git/sign-off.md )
256
274
275
+ [ ` ⬆ 返回目录 ` ] ( #toc )
276
+
257
277
## Go
258
278
259
279
- [ go build] ( go/go-build.md )
@@ -265,6 +285,8 @@ Read the [NOTICE][] file distributed with this work for additional information r
265
285
- [ 在 MacOS 上使用 gvm install] ( go/gvm-install-in-macos.md )
266
286
- [ interface 与 nil] ( go/interface-vs-nil.md )
267
287
288
+ [ ` ⬆ 返回目录 ` ] ( #toc )
289
+
268
290
## 硬件
269
291
270
292
- [ 微处理器 MCU] ( hardware/MCU.md )
@@ -275,6 +297,8 @@ Read the [NOTICE][] file distributed with this work for additional information r
275
297
- [ 无线电波 (Radio Waves)] ( hardware/radio-waves.md )
276
298
- [ USB] ( hardware/usb.md )
277
299
300
+ [ ` ⬆ 返回目录 ` ] ( #toc )
301
+
278
302
## Javascript
279
303
280
304
- [ babel 小技巧] ( javascript/babel-tricks.md )
@@ -289,6 +313,8 @@ Read the [NOTICE][] file distributed with this work for additional information r
289
313
- [ 使用 Promise 的技巧] ( javascript/trick-of-promise.md )
290
314
- [ JS 编程技巧] ( javascript/tricks-of-js.md )
291
315
316
+ [ ` ⬆ 返回目录 ` ] ( #toc )
317
+
292
318
## K8S
293
319
294
320
- [ OCI、CNI] ( k8s/OCI-spec.md )
@@ -311,6 +337,8 @@ Read the [NOTICE][] file distributed with this work for additional information r
311
337
- [ configmap 和 secret 的滚动更新] ( k8s/rolling-update-of-configmap-and-secret.md )
312
338
- [ 多个 Pod 不重复部署在同一个节点上] ( k8s/two-pods-not-in-same-node.md )
313
339
340
+ [ ` ⬆ 返回目录 ` ] ( #toc )
341
+
314
342
## 语言设计
315
343
316
344
记录编程语言的内部设计与思想
@@ -323,6 +351,8 @@ Read the [NOTICE][] file distributed with this work for additional information r
323
351
- [ Debuger] ( language/debuger.md )
324
352
- [ 栈帧] ( language/stack-frame.md )
325
353
354
+ [ ` ⬆ 返回目录 ` ] ( #toc )
355
+
326
356
## Linux
327
357
328
358
记录 Linux 系统设计、系统命令,UNIX/Linux 命令和软件等相关知识
@@ -473,18 +503,24 @@ Read the [NOTICE][] file distributed with this work for additional information r
473
503
- [ ZFS] ( linux/zfs.md )
474
504
- [ Zsh 的坑] ( linux/zsh-pitfalls.md )
475
505
506
+ [ ` ⬆ 返回目录 ` ] ( #toc )
507
+
476
508
## Language Server Protocol (LSP)
477
509
478
510
- https://microsoft.github.io/language-server-protocol/
479
511
- https://langserver.org/
480
512
481
513
- [ YAML Language Server] ( lsp/yaml-language-server.md )
482
514
515
+ [ ` ⬆ 返回目录 ` ] ( #toc )
516
+
483
517
## Lua
484
518
485
519
- [ lua 没有 continue 关键字] ( lua/continue.md )
486
520
- [ lua 错误处理] ( lua/error.md )
487
521
522
+ [ ` ⬆ 返回目录 ` ] ( #toc )
523
+
488
524
## Mac
489
525
490
526
- [ Mac 的 DNS 问题] ( mac/dns-troubles-in-mac.md )
@@ -499,13 +535,17 @@ Read the [NOTICE][] file distributed with this work for additional information r
499
535
- [ 关闭 Mac 的 Gatekeeper] ( mac/turn-off-gatekeeper.md )
500
536
- [ xcode 重新安装] ( mac/xcode.md )
501
537
538
+ [ ` ⬆ 返回目录 ` ] ( #toc )
539
+
502
540
## 数学
503
541
504
542
数学,不仅仅是算法
505
543
506
544
- [ 豪斯多夫维数] ( math/hausdorff-besicovitch-dimension.md )
507
545
- [ 空间填充曲线 (Space-Filling Curve)] ( math/space-filling-curve.md )
508
546
547
+ [ ` ⬆ 返回目录 ` ] ( #toc )
548
+
509
549
## 网络
510
550
511
551
记录网络相关知识
@@ -526,6 +566,8 @@ Read the [NOTICE][] file distributed with this work for additional information r
526
566
- [ TCP Buffer 大小] ( network/tcp-buffer-size.md )
527
567
- [ vxlan] ( network/vxlan.md )
528
568
569
+ [ ` ⬆ 返回目录 ` ] ( #toc )
570
+
529
571
## Nodejs
530
572
531
573
- [ MaxListenersExceededWarning] ( nodejs/MaxListenersExceededWarning.md )
@@ -551,6 +593,8 @@ Read the [NOTICE][] file distributed with this work for additional information r
551
593
- [ winston 日志库] ( nodejs/winston.md )
552
594
- [ Yarn 用法] ( nodejs/yarn-usage.md )
553
595
596
+ [ ` ⬆ 返回目录 ` ] ( #toc )
597
+
554
598
## 运维
555
599
556
600
- [ Ansible Role] ( ops/ansible-role.md )
@@ -567,6 +611,8 @@ Read the [NOTICE][] file distributed with this work for additional information r
567
611
- [ RPM 制作和安装离线包] ( ops/rpm-offline-package-and-install.md )
568
612
- [ YUM] ( ops/yum.md )
569
613
614
+ [ ` ⬆ 返回目录 ` ] ( #toc )
615
+
570
616
## 其他
571
617
572
618
记录各种奇奇怪怪的小知识
@@ -628,44 +674,60 @@ Read the [NOTICE][] file distributed with this work for additional information r
628
674
- [ 为什么 Unicode U+F8FF 是苹果 Logo?] ( others/why-unicode-f8ff-is-apple-logo.md )
629
675
- [ zookeeper 健康检查] ( others/zookeeper-health-check.md )
630
676
677
+ [ ` ⬆ 返回目录 ` ] ( #toc )
678
+
631
679
## 哲学
632
680
633
681
- [ Toulmin Model] ( philosophy/toulmin-model.md )
634
682
683
+ [ ` ⬆ 返回目录 ` ] ( #toc )
684
+
635
685
## 箴言录
636
686
637
687
- [ 箴言录 - 人生] ( proverbs/life.md )
638
688
- [ 箴言录 - 哲学] ( proverbs/philosophy.md )
639
689
- [ 箴言录 - 编程] ( proverbs/programming.md )
640
690
- [ 箴言录 - 学习] ( proverbs/study.md )
641
691
692
+ [ ` ⬆ 返回目录 ` ] ( #toc )
693
+
642
694
## Python
643
695
644
696
- [ python 环境配置] ( python/environment.md )
645
697
- [ pycache] ( python/pycache.md )
646
698
- [ Python Dockerfile] ( python/python-dockerfile.md )
647
699
- [ Python Virtualenv] ( python/virtualenv.md )
648
700
701
+ [ ` ⬆ 返回目录 ` ] ( #toc )
702
+
649
703
## Racket
650
704
651
705
- [ 学习 Racket] ( racket/racket-learning.md )
652
706
707
+ [ ` ⬆ 返回目录 ` ] ( #toc )
708
+
653
709
## Redis
654
710
655
711
- [ Redis Cluster] ( redis/cluster.md )
656
712
- [ 拷贝一个 Sorted Set 到新的 key] ( redis/copy-a-sorted-set.md )
657
713
714
+ [ ` ⬆ 返回目录 ` ] ( #toc )
715
+
658
716
## Ruby
659
717
660
718
- [ Ruby 代理镜像] ( ruby/proxy.md )
661
719
- [ 使用 scientist 科学重构代码] ( ruby/using-scientist-for-refactoring.md )
662
720
721
+ [ ` ⬆ 返回目录 ` ] ( #toc )
722
+
663
723
## 安全攻防
664
724
665
725
- [ 不要在生产环境绑定 0.0.0.0] ( security/do-not-bind-0.0.0.0.md )
666
726
- [ Kali Linux] ( security/kali.md )
667
727
- [ Reverse Shell] ( security/reverse-shell.md )
668
728
729
+ [ ` ⬆ 返回目录 ` ] ( #toc )
730
+
669
731
## Shell
670
732
671
733
- [ 多行字符串赋值给变量] ( shell/assign-multi-lines-string-to-variable.md )
@@ -683,33 +745,45 @@ Read the [NOTICE][] file distributed with this work for additional information r
683
745
- [ Bash 的 subshell 与子进程] ( shell/subshell-and-child-process.md )
684
746
- [ Bash xtrace] ( shell/xtrace.md )
685
747
748
+ [ ` ⬆ 返回目录 ` ] ( #toc )
749
+
686
750
## Startup
687
751
688
752
- [ 商标注册] ( startup/trademark-registration.md )
689
753
754
+ [ ` ⬆ 返回目录 ` ] ( #toc )
755
+
690
756
## 存储
691
757
692
758
- [ flyway 用法] ( storage/flyway-usage.md )
693
759
- [ RAID] ( storage/raid.md )
694
760
- [ 物理删除与逻辑删除] ( storage/soft-delete.md )
695
761
- [ 存储] ( storage/storage.md )
696
762
763
+ [ ` ⬆ 返回目录 ` ] ( #toc )
764
+
697
765
### Etcd
698
766
699
767
- [ etcdctl] ( storage/etcd/etcdctl.md )
700
768
- [ ETCD 报错 request ignored (cluster ID mismatch)] ( storage/etcd/request-ignored-cluster-id-mismatch.md )
701
769
770
+ [ ` ⬆ 返回目录 ` ] ( #toc )
771
+
702
772
### Mongo
703
773
704
774
- [ MongoDB 的丢数据问题] ( storage/mongo/data-lost.md )
705
775
776
+ [ ` ⬆ 返回目录 ` ] ( #toc )
777
+
706
778
### Mysql
707
779
708
780
- [ 连接 MYSQL 显示中文] ( storage/mysql/encoding-in-connection.md )
709
781
- [ mysqldump] ( storage/mysql/mysqldump.md )
710
782
- [ Date/Datetime/Timestamp 比较] ( storage/mysql/timestamp-vs-datetime.md )
711
783
- [ Transaction 与 autocommit] ( storage/mysql/transaction-and-autocommit.md )
712
784
785
+ [ ` ⬆ 返回目录 ` ] ( #toc )
786
+
713
787
## 思考
714
788
715
789
记录我的碎片式思考
@@ -722,12 +796,16 @@ Read the [NOTICE][] file distributed with this work for additional information r
722
796
- [ 提问的智慧] ( thinking/smartquestion.md )
723
797
- [ 讲故事] ( thinking/story-telling.md )
724
798
799
+ [ ` ⬆ 返回目录 ` ] ( #toc )
800
+
725
801
## Typescript
726
802
727
803
- [ export default 的类型注明] ( typescript/type-annotations-for-export-default.md )
728
804
- [ Typescript 与 Rollup] ( typescript/typescript-and-rollup.md )
729
805
- [ typescript 的缺点] ( typescript/typescript-cons.md )
730
806
807
+ [ ` ⬆ 返回目录 ` ] ( #toc )
808
+
731
809
## Vim
732
810
733
811
- [ <C-I > 在 nvim 里等同于 <Tab >] ( vim/ctrl-i-in-neovim.md )
@@ -741,6 +819,8 @@ Read the [NOTICE][] file distributed with this work for additional information r
741
819
- [ 学习 Vim] ( vim/vim-learning.md )
742
820
- [ VIM 搜索和替换技巧] ( vim/vim-search-and-replace-tips.md )
743
821
822
+ [ ` ⬆ 返回目录 ` ] ( #toc )
823
+
744
824
## 虚拟机
745
825
746
826
- [ KVM (Kernel-based Virtual Machine)] ( vm/kvm.md )
@@ -750,6 +830,8 @@ Read the [NOTICE][] file distributed with this work for additional information r
750
830
- [ virt-install Couldn't find kernel for install tree] ( vm/virt-install-cannot-find-kernel.md )
751
831
- [ Virtualbox] ( vm/virtualbox.md )
752
832
833
+ [ ` ⬆ 返回目录 ` ] ( #toc )
834
+
753
835
## Web
754
836
755
837
记录 Web 服务开发涉及的相关知识。
@@ -762,5 +844,4 @@ Read the [NOTICE][] file distributed with this work for additional information r
762
844
- [ 下划线在 HTTP Header 里是非法字符串] ( web/underscore-is-invalid-in-header.md )
763
845
- [ URI 转义] ( web/uri-encode.md )
764
846
765
-
766
- ** [ ⬆ 返回目录] ( #toc ) **
847
+ [ ` ⬆ 返回目录 ` ] ( #toc )
0 commit comments