-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1022 lines (581 loc) · 29.6 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="zh-CN" data-default-color-scheme=auto>
<head>
<meta charset="UTF-8">
<link rel="apple-touch-icon" sizes="76x76" href="/img/fluid.png">
<link rel="icon" href="/assets/images/favicon/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="theme-color" content="#2f4154">
<meta name="author" content="[object Object]">
<meta name="keywords" content="python, devops">
<meta name="description" content="介绍:日常学习与技术交流的个人博客">
<meta property="og:type" content="website">
<meta property="og:title" content="ZHILI">
<meta property="og:url" content="https://github.com/zhililab/index.html">
<meta property="og:site_name" content="ZHILI">
<meta property="og:description" content="介绍:日常学习与技术交流的个人博客">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="[object Object]">
<meta property="article:tag" content="python, devops">
<meta name="twitter:card" content="summary_large_image">
<meta name="referrer" content="no-referrer-when-downgrade">
<title>ZHILI</title>
<link rel="stylesheet" href="https://lib.baomitu.com/twitter-bootstrap/4.6.1/css/bootstrap.min.css" />
<!-- 主题依赖的图标库,不要自行修改 -->
<!-- Do not modify the link that theme dependent icons -->
<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_hj8rtnfg7um.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_lbnruvf0jn.css">
<link rel="stylesheet" href="/css/main.css" />
<link id="highlight-css" rel="stylesheet" href="/css/highlight.css" />
<link id="highlight-css-dark" rel="stylesheet" href="/css/highlight-dark.css" />
<script id="fluid-configs">
var Fluid = window.Fluid || {};
Fluid.ctx = Object.assign({}, Fluid.ctx)
var CONFIG = {"hostname":"github.com","root":"/","version":"1.9.4","typing":{"enable":true,"typeSpeed":70,"cursorChar":"_","loop":false,"scope":[]},"anchorjs":{"enable":true,"element":"h1,h2,h3,h4,h5,h6","placement":"left","visible":"hover","icon":""},"progressbar":{"enable":true,"height_px":3,"color":"#29d","options":{"showSpinner":false,"trickleSpeed":100}},"code_language":{"enable":true,"default":"TEXT"},"copy_btn":true,"image_caption":{"enable":true},"image_zoom":{"enable":true,"img_url_replace":["",""]},"toc":{"enable":true,"placement":"right","headingSelector":"h1,h2,h3,h4,h5,h6","collapseDepth":0},"lazyload":{"enable":true,"loading_img":"/img/loading.gif","onlypost":false,"offset_factor":2},"web_analytics":{"enable":true,"follow_dnt":true,"baidu":null,"google":null,"gtag":null,"tencent":{"sid":null,"cid":null},"woyaola":null,"cnzz":null,"leancloud":{"app_id":null,"app_key":null,"server_url":null,"path":"window.location.pathname","ignore_local":false}},"search_path":"/local-search.xml"};
if (CONFIG.web_analytics.follow_dnt) {
var dntVal = navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack;
Fluid.ctx.dnt = dntVal && (dntVal.startsWith('1') || dntVal.startsWith('yes') || dntVal.startsWith('on'));
}
</script>
<script src="/js/utils.js" ></script>
<script src="/js/color-schema.js" ></script>
<meta name="generator" content="Hexo 6.3.0"></head>
<body>
<header>
<div class="header-inner" style="height: 100vh;">
<nav id="navbar" class="navbar fixed-top navbar-expand-lg navbar-dark scrolling-navbar">
<div class="container">
<a class="navbar-brand" href="/">
<strong>博客</strong>
</a>
<button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<div class="animated-icon"><span></span><span></span><span></span></div>
</button>
<!-- Collapsible content -->
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto text-center">
<li class="nav-item">
<a class="nav-link" href="/">
<i class="iconfont icon-home-fill"></i>
<span>首页</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/archives/">
<i class="iconfont icon-archive-fill"></i>
<span>归档</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/categories/">
<i class="iconfont icon-category-fill"></i>
<span>分类</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/tags/">
<i class="iconfont icon-tags-fill"></i>
<span>标签</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/about/">
<i class="iconfont icon-user-fill"></i>
<span>关于</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/links/">
<i class="iconfont icon-link-fill"></i>
<span>友链</span>
</a>
</li>
<li class="nav-item" id="search-btn">
<a class="nav-link" target="_self" href="javascript:;" data-toggle="modal" data-target="#modalSearch" aria-label="Search">
<i class="iconfont icon-search"></i>
</a>
</li>
<li class="nav-item" id="color-toggle-btn">
<a class="nav-link" target="_self" href="javascript:;" aria-label="Color Toggle">
<i class="iconfont icon-dark" id="color-toggle-icon"></i>
</a>
</li>
</ul>
</div>
</div>
</nav>
<div id="banner" class="banner" parallax=true
style="background: url('/img/default.png') no-repeat center center; background-size: cover;">
<div class="full-bg-img">
<div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
<div class="banner-text text-center fade-in-up">
<div class="h2">
<span id="subtitle" data-typed-text="A Cool Space for New Mind. </br> 将来淘汰你的不是AI,而是不会用AI的人"></span>
</div>
</div>
<div class="scroll-down-bar">
<i class="iconfont icon-arrowdown"></i>
</div>
</div>
</div>
</div>
</div>
</header>
<main>
<div class="container nopadding-x-md">
<div id="board"
style="margin-top: 0">
<div class="container">
<div class="row">
<div class="col-12 col-md-10 m-auto">
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/08/29/Learning-Golang-004/" target="_self">
<img src="/assets/images/cover/golang_cover.png" srcset="/img/loading.gif" lazyload alt="若干编程语言中的闭包对比">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2024/08/29/Learning-Golang-004/" target="_self">
若干编程语言中的闭包对比
</a>
</h1>
<a class="index-excerpt " href="/2024/08/29/Learning-Golang-004/" target="_self">
<div>
最近面试有问到 Groovy 闭包的概念和作用,这里将通过对比与关联法,将 Groovy 闭包与 Python 的 lambda、JavaScript 的匿名函数(或闭包)、以及 Go 语言中的闭包进行对比,实现举一反三,融会贯通的效果。 1. Groovy 闭包 定义:闭包(Closure)是一个代码块,可以捕获并记住其定义时的上下文,可以作为参数传递、赋值给变量、甚至延迟执行。 语法:使用 &
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-08-29 15:10" pubdate>
2024-08-29
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/%E6%8A%80%E6%9C%AF/" class="category-chain-item">技术</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Go/">#Go</a>
<a href="/tags/Programming/">#Programming</a>
<a href="/tags/Python/">#Python</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/08/27/Learning-Golang-003/" target="_self">
<img src="/assets/images/cover/golang_cover.png" srcset="/img/loading.gif" lazyload alt="使用 Go `runtime` 包监控和优化容器内存使用">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2024/08/27/Learning-Golang-003/" target="_self">
使用 Go `runtime` 包监控和优化容器内存使用
</a>
</h1>
<a class="index-excerpt " href="/2024/08/27/Learning-Golang-003/" target="_self">
<div>
Talk is cheap, show me the code. 本篇目标是通过 mini-task ,掌握如何使用 Go 语言的 runtime 包来监控和优化容器内存使用。Let’s go! 一、背景介绍runtime 包在 Go 语言中提供了与运行时系统交互的功能,允许开发者访问和控制 Go 程序的运行时环境。它主要的作用包括: 并发控制:管理和控制 goroutine 的并发执行,例如通
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-08-27 12:10" pubdate>
2024-08-27
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/%E6%8A%80%E6%9C%AF/" class="category-chain-item">技术</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Go/">#Go</a>
<a href="/tags/Programming/">#Programming</a>
<a href="/tags/Mini-task/">#Mini-task</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/08/24/Learning-Docker-002/" target="_self">
<img src="/assets/images/cover/Docker_Cover.png" srcset="/img/loading.gif" lazyload alt="Docker 学习 —— 常用 docker 镜像总结(优化)">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2024/08/24/Learning-Docker-002/" target="_self">
Docker 学习 —— 常用 docker 镜像总结(优化)
</a>
</h1>
<a class="index-excerpt " href="/2024/08/24/Learning-Docker-002/" target="_self">
<div>
在 DevOps 和软件开发领域,Docker 镜像是构建、测试、部署应用的基础。在日常开发中,掌握常用的 Docker 镜像以及相应的最佳实践能够显著提升工作效率。本文将简要介绍一些常用的 Docker 镜像,并提供相应的拉取命令及高级优化使用技巧。我们开始吧! 常用镜像介绍1. 操作系统基础镜像 Ubuntu: 介绍: Ubuntu 是一个稳定且广泛使用的 Linux 发行版,适合大多数
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-08-24 10:54" pubdate>
2024-08-24
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/%E6%8A%80%E6%9C%AF/" class="category-chain-item">技术</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Docker/">#Docker</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/08/22/Learning-Kubernetes-002/" target="_self">
<img src="/assets/images/cover/Kubernetes-logo.webp" srcset="/img/loading.gif" lazyload alt="Kubernetes 学习 —— node 🆚 pod">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2024/08/22/Learning-Kubernetes-002/" target="_self">
Kubernetes 学习 —— node 🆚 pod
</a>
</h1>
<a class="index-excerpt " href="/2024/08/22/Learning-Kubernetes-002/" target="_self">
<div>
上一篇,我们介绍了 kubernetes 的控制面板组件、节点组件和其他附加组件,这一篇我们将针对资源对象 Pod 和 Node 进行辨析,理清二者关系。 1. Pod定义 Pod 是 Kubernetes 中最小的可部署单元,它封装了一个或多个容器(通常是 Docker 容器),以及这些容器共享的存储、网络和配置信息。 一个 Pod 内的所有容器共享相同的网络命名空间,可以通过 localhos
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-08-22 10:30" pubdate>
2024-08-22
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/%E6%8A%80%E6%9C%AF/" class="category-chain-item">技术</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Kubernetes/">#Kubernetes</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/08/19/Learning-Kubernetes-001/" target="_self">
<img src="/assets/images/cover/Kubernetes-logo.webp" srcset="/img/loading.gif" lazyload alt="Kubernetes 学习 —— 基础组件和概念梳理">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2024/08/19/Learning-Kubernetes-001/" target="_self">
Kubernetes 学习 —— 基础组件和概念梳理
</a>
</h1>
<a class="index-excerpt " href="/2024/08/19/Learning-Kubernetes-001/" target="_self">
<div>
Kubernetes 的架构由多个关键组件组成,这些组件共同协作,确保容器化应用的部署、管理和扩展能够顺利进行。以下是官方文档中对 Kubernetes 核心组件的总结和梳理: 1. 控制平面组件(Control Plane Components)存在的意义(WHY): Kubernetes 的控制平面持续且主动地管理每个对象的实际状态,匹配用户提供的期望状态。 kube-apiserver
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-08-19 00:06" pubdate>
2024-08-19
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/%E6%8A%80%E6%9C%AF/" class="category-chain-item">技术</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Kubernetes/">#Kubernetes</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/08/13/Learning-Docker-001/" target="_self">
<img src="/assets/images/cover/Docker_Cover.png" srcset="/img/loading.gif" lazyload alt="Docker 学习 —— 基础指令对比学习">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2024/08/13/Learning-Docker-001/" target="_self">
Docker 学习 —— 基础指令对比学习
</a>
</h1>
<a class="index-excerpt " href="/2024/08/13/Learning-Docker-001/" target="_self">
<div>
Docker 基础指令对比与关键概念在 Docker 中,理解和区分不同的指令和概念对于构建高效的容器化应用至关重要,最近面试就有被问到 entrypoint 和 cmd 二者区别。Docker 种还有很多类似概念和指令,特借此机会梳理对比一些常见的 Docker 指令,如 ENTRYPOINT vs CMD,以及其他类似的操作,帮助自己更好地掌握 Docker 的使用和深入学习。 ENTRYPO
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-08-13 23:17" pubdate>
2024-08-13
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/%E6%8A%80%E6%9C%AF/" class="category-chain-item">技术</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Docker/">#Docker</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/08/08/Terraform-Core-Concepts/" target="_self">
<img src="/assets/images/cover/Terraform_Cover.png" srcset="/img/loading.gif" lazyload alt="Terraform —— 核心概念">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2024/08/08/Terraform-Core-Concepts/" target="_self">
Terraform —— 核心概念
</a>
</h1>
<a class="index-excerpt " href="/2024/08/08/Terraform-Core-Concepts/" target="_self">
<div>
在现代 DevOps 和云计算的背景下,基础设施即代码(Infrastructure as Code, IaC)已经成为管理和部署基础设施的标准方式。Terraform 作为一种广受欢迎的 IaC 工具,因其多云支持和灵活性受到了广泛的青睐,更有很多 DevOps 岗位招聘的 JD 更是明确要求了解/熟悉 Terraform。本文将会梳理 Terraform 的基本概念,通过学习、实践掌
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-08-08 20:30" pubdate>
2024-08-08
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/%E6%8A%80%E6%9C%AF/" class="category-chain-item">技术</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Terraform/">#Terraform</a>
<a href="/tags/IaC/">#IaC</a>
<a href="/tags/DevOps/">#DevOps</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/08/07/Learning-Golang-001/" target="_self">
<img src="/assets/images/cover/golang_cover.png" srcset="/img/loading.gif" lazyload alt="Go 语言学习 —— strings 细说">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2024/08/07/Learning-Golang-001/" target="_self">
Go 语言学习 —— strings 细说
</a>
</h1>
<a class="index-excerpt " href="/2024/08/07/Learning-Golang-001/" target="_self">
<div>
Go 语言 strings 包与 C++、Python 字符串处理对比在现代编程中,字符串处理是一个基础而重要的任务。不同编程语言提供了各自的字符串处理函数和方法,今天我们将详细介绍 Go 语言的 strings 包,并对比 C++ 和 Python 中的字符串处理方法。通过这篇文章,你将能够更好地理解这些语言在字符串处理上的异同,从而选择最适合你项目需求的工具。 Go 语言的 strings 包
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-08-07 14:30" pubdate>
2024-08-07
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/%E6%8A%80%E6%9C%AF/" class="category-chain-item">技术</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Go/">#Go</a>
<a href="/tags/Programming/">#Programming</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/08/07/AutoWare-Intro/" target="_self">
<img src="/assets/images/cover/Autoware_Cover.jpg" srcset="/img/loading.gif" lazyload alt="AutoWare 初探">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2024/08/07/AutoWare-Intro/" target="_self">
AutoWare 初探
</a>
</h1>
<a class="index-excerpt " href="/2024/08/07/AutoWare-Intro/" target="_self">
<div>
探索 Autoware:开源自动驾驶软件平台前言随着自动驾驶技术的快速发展,开源软件在推动这一领域的创新和进步中扮演着重要角色。Autoware 是一个由 Autoware Foundation 开发和维护的开源自动驾驶软件平台,它集成了各种先进的技术和工具,为研究人员和开发者提供了一个强大的开发框架。本文将详细介绍 Autoware 的功能、架构、技术栈以及如何参与该项目。 Autoware 的
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-08-07 09:23" pubdate>
2024-08-07
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/%E6%8A%80%E6%9C%AF/" class="category-chain-item">技术</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/OS/">#OS</a>
</div>
</div>
</article>
</div>
<nav aria-label="navigation">
<span class="pagination" id="pagination">
<span class="page-number current">1</span><a class="page-number" href="/page/2/#board">2</a><a class="page-number" href="/page/3/#board">3</a><a class="page-number" href="/page/4/#board">4</a><a class="extend next" rel="next" href="/page/2/#board"><i class="iconfont icon-arrowright"></i></a>
</span>
</nav>
</div>
</div>
</div>
</div>
</div>
<a id="scroll-top-button" aria-label="TOP" href="#" role="button">
<i class="iconfont icon-arrowup" aria-hidden="true"></i>
</a>
<div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
<div class="modal-content">
<div class="modal-header text-center">
<h4 class="modal-title w-100 font-weight-bold">搜索</h4>
<button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body mx-3">
<div class="md-form mb-5">
<input type="text" id="local-search-input" class="form-control validate">
<label data-error="x" data-success="v" for="local-search-input">关键词</label>
</div>
<div class="list-group" id="local-search-result"></div>
</div>
</div>
</div>
</div>
</main>
<footer>
<div class="footer-inner">
<div class="footer-content">
<a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a> <i class="iconfont icon-love"></i> <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>Fluid</span></a>
</div>
<div class="statistics">
<span id="busuanzi_container_site_pv" style="display: none">
总访问量
<span id="busuanzi_value_site_pv"></span>
次
</span>
<span id="busuanzi_container_site_uv" style="display: none">
总访客数
<span id="busuanzi_value_site_uv"></span>
人
</span>
</div>
</div>
</footer>
<!-- Scripts -->
<script src="https://lib.baomitu.com/nprogress/0.2.0/nprogress.min.js" ></script>
<link rel="stylesheet" href="https://lib.baomitu.com/nprogress/0.2.0/nprogress.min.css" />
<script>
NProgress.configure({"showSpinner":false,"trickleSpeed":100})
NProgress.start()
window.addEventListener('load', function() {
NProgress.done();
})
</script>
<script src="https://lib.baomitu.com/jquery/3.6.0/jquery.min.js" ></script>
<script src="https://lib.baomitu.com/twitter-bootstrap/4.6.1/js/bootstrap.min.js" ></script>
<script src="/js/events.js" ></script>
<script src="/js/plugins.js" ></script>
<script src="https://lib.baomitu.com/typed.js/2.0.12/typed.min.js" ></script>
<script>
(function (window, document) {
var typing = Fluid.plugins.typing;
var subtitle = document.getElementById('subtitle');
if (!subtitle || !typing) {
return;
}
var text = subtitle.getAttribute('data-typed-text');
typing(text);
})(window, document);
</script>
<script src="/js/img-lazyload.js" ></script>