-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
499 lines (285 loc) · 13.7 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
<!DOCTYPE html>
<html><head>
<meta name="generator" content="Hugo 0.118.2">
<title>套路猿</title>
<meta charset="utf-8">
<meta name="X-UA-Compatible" content="IE=edge">
<meta name="google-site-verification" content="">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
<meta content="telephone=no" name="format-detection">
<meta name="description" content="自古深情留不住,唯有套路得人心">
<meta name="renderer" content="webkit">
<meta name="theme-color" content="#ffffff">
<link rel="icon" href="/posts/images/favicon.jpg">
<link type="text/css" rel="stylesheet" href="/vendor/css/bootstrap.min.css">
<link rel="stylesheet" href="/scss/dark-mode.min.101ef407a1e27ccf92936b24b892c7ca0a5f57d754d0689042310afca8e795d9.css" integrity="sha256-EB70B6HifM+Sk2skuJLHygpfV9dU0GiQQjEK/Kjnldk=" media="screen">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Material+Icons">
</head>
<body>
<div id="app"><div class="single-column-drawer-container" id="drawer"
v-bind:class="{ 'single-column-drawer-container-active': isDrawerOpen }">
<div class="drawer-content">
<div class="drawer-menu">
<a class="a-block drawer-menu-item false" href="/posts">
归档
</a>
<a class="a-block drawer-menu-item false" href="/categories">
分类
</a>
</div>
</div>
</div>
<transition name="fade">
<div id="drawer-mask" v-bind:class="{ 'single-column-drawer-mask': mounted }" v-if="isDrawerOpen" v-on:click="toggleDrawer"></div>
</transition>
<nav id="navBar" class="navbar sticky-top navbar-light single-column-nav-container">
<div id="navBackground" class="nav-background"></div>
<div class="container container-narrow nav-content">
<button id="nav_dropdown_btn" class="nav-dropdown-toggle" type="button" v-on:click="toggleDrawer">
<i class="material-icons">
menu
</i>
</button>
<a id="navTitle" class="navbar-brand" href="">
套路猿
</a>
<button type="button" class="nav-darkmode-toggle" id="darkModeToggleButton2">
<i class="material-icons" id="darkModeToggleIcon2">
dark_mode
</i>
</button>
</div>
</nav>
<div class="single-column-header-container" id="pageHead"
v-bind:style="{ transform: 'translateZ(0px) translateY('+.3*scrollY+'px)', opacity: 1-navOpacity }">
<a href="">
<div class="single-column-header-title">套路猿</div>
<div class="single-column-header-subtitle">自古深情留不住,唯有套路得人心</div>
</a>
</div>
<div id="content">
<div id="streamContainer" class="stream-container">
<div class="post-list-container post-list-container-no-background">
<a href="/posts/kbai/" class="a-block">
<div class="post-item-wrapper">
<div class="post-item post-item-no-divider">
<div class="post-item-info-wrapper">
<div class="post-item-title">
golang 结合 cobra 使用 chatgpt qdrant 实现 ai知识库 cli
</div>
<div class="post-item-summary">
Kbai
</div>
<div class="post-item-meta">
2023-09-22
 
 
</div>
</div>
</div>
</div>
<a href="/posts/golang-viper-load/" class="a-block">
<div class="post-item-wrapper">
<div class="post-item post-item-no-divider">
<div class="post-item-info-wrapper">
<div class="post-item-title">
golang 使用 viper 加载配置文件 自动反序列化到结构
</div>
<div class="post-item-summary">
golang使用 viper 无需设置 mapstructure tag 根据配置文件后缀 自动返序列化到结构,解决结构有下划线的字段解析不成功问题
</div>
<div class="post-item-meta">
2023-08-27
 
 
</div>
</div>
</div>
</div>
<a href="/posts/install-k8s/" class="a-block">
<div class="post-item-wrapper">
<div class="post-item post-item-no-divider">
<div class="post-item-info-wrapper">
<div class="post-item-title">
k8s + docker 基于 kubeadm 多节点集群部署
</div>
<div class="post-item-summary">
k8s + docker + flannel + kubeadmin 在 ubuntu-server 22.10 进行 多节点集群部署
</div>
<div class="post-item-meta">
2023-06-08
 
 
</div>
</div>
</div>
</div>
<a href="/posts/istio-getting-started/" class="a-block">
<div class="post-item-wrapper">
<div class="post-item post-item-no-divider">
<div class="post-item-info-wrapper">
<div class="post-item-title">
k8s istio 集成 多版本应用服务 和 网格监测
</div>
<div class="post-item-summary">
k8s istio 入门, istioctl 安装,istio 多个服务应用程序部署,Gateway 和 VirtualService 实现应用程序对外开发,kiali grafana prometheus jaeger 实现网格监测
</div>
<div class="post-item-meta">
2023-06-04
 
 
</div>
</div>
</div>
</div>
<a href="/posts/github-workflows/" class="a-block">
<div class="post-item-wrapper">
<div class="post-item post-item-no-divider">
<div class="post-item-info-wrapper">
<div class="post-item-title">
通过 Github workflows CI/CD 自动化部署 Github Pages hugo 免费博客
</div>
<div class="post-item-summary">
通过 github actions,将hugo 博客自动部署到github pages,并且配置自定义域名
</div>
<div class="post-item-meta">
2023-05-30
 
 
</div>
</div>
</div>
</div>
<a href="/posts/embedding-openai/" class="a-block">
<div class="post-item-wrapper">
<div class="post-item post-item-no-divider">
<div class="post-item-info-wrapper">
<div class="post-item-title">
使用golang 基于 OpenAI Embedding + qdrant 实现k8s本地知识库
</div>
<div class="post-item-summary">
利用 OpenAI Embedding 得到 数据集 问题 向量,存入 向量数据库 qdrant ,用户 通过问题向qdrant 得到相似最高的数据,再次组装对 openai chatgpt进行提问,得到答案
</div>
<div class="post-item-meta">
2023-05-26
 
 
</div>
</div>
</div>
</div>
<a href="/posts/frp-server/" class="a-block">
<div class="post-item-wrapper">
<div class="post-item post-item-no-divider">
<div class="post-item-info-wrapper">
<div class="post-item-title">
frp 和 nginx 搭建一个内网穿透服务器
</div>
<div class="post-item-summary">
最终实现效果:通过域名打开家里主机建设的网站
</div>
<div class="post-item-meta">
2023-05-17
 
 
</div>
</div>
</div>
</div>
<a href="/posts/docker-makefile/" class="a-block">
<div class="post-item-wrapper">
<div class="post-item post-item-no-divider">
<div class="post-item-info-wrapper">
<div class="post-item-title">
Makefile 与 docker 进行多服务 一次性构建
</div>
<div class="post-item-summary">
不使用gitlab ci/cd, 在本机快速通过 makefile+docker-compose 编排多个服务
</div>
<div class="post-item-meta">
2023-05-16
 
 
</div>
</div>
</div>
</div>
<a href="/posts/opentelmetry/" class="a-block">
<div class="post-item-wrapper">
<div class="post-item post-item-no-divider">
<div class="post-item-info-wrapper">
<div class="post-item-title">
golang 使用 OpenTelemetry 实现跨服务 全链路追踪
</div>
<div class="post-item-summary">
用户请求了一个接口,接口会调用其他grpc,http接口,或者内部的方法,这样的调用链路,如果出现了问题,我们需要快速的利用工具定位问题,OpenTelemetry就是这样一个工具
</div>
<div class="post-item-meta">
2023-05-16
 
 
</div>
</div>
</div>
</div>
</a>
</div>
</div>
</div><div id="sideContainer" class="side-container">
<a class="a-block nav-head active" href="/">
<div class="nav-title">
套路猿
</div>
<div class="nav-subtitle">
自古深情留不住,唯有套路得人心
</div>
</a>
<div class="nav-link-list">
<a class="a-block nav-link-item false" href="/posts">
归档
</a>
<a class="a-block nav-link-item false" href="/categories">
分类
</a>
</div>
<div class="nav-footer">
<script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
本文总阅读量 <span id="busuanzi_value_page_pv"></span> 次
pv <span id="busuanzi_value_site_pv"></span> 次
uv <span id="busuanzi_value_site_uv"></span> 人
<p> </p>
<p> </p>
©
2023 套路猿
</div>
</div><div id="extraContainer" class="extra-container">
<div class="toc-wrapper">
</div>
<div class="pagination">
<a id="globalBackToTop" class="pagination-action animated-visibility" href="#top"
:class="{ invisible: scrollY == 0 }">
<i class="material-icons pagination-action-icon">
keyboard_arrow_up
</i>
</a>
<a type="button" class="pagination-action" id="darkModeToggleButton">
<span class="material-icons pagination-action-icon" id="darkModeToggleIcon">
dark_mode
</span>
</a>
</div>
</div>
<div id="single-column-footer">
<script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
本文总阅读量 <span id="busuanzi_value_page_pv"></span> 次
pv <span id="busuanzi_value_site_pv"></span> 次
uv <span id="busuanzi_value_site_uv"></span> 人
<p> </p>
<p> </p>
©
2023 套路猿
</div>
</div>
<script src="/js/journal.js"></script></body>
</html>