-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
383 lines (286 loc) · 15.3 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
<html>
<head>
<meta charset="utf-8" />
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>幻影笔记</title>
<link rel="shortcut icon" href="https://phantomma.xyz/favicon.ico?v=1707316916776">
<link href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://phantomma.xyz/styles/main.css">
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"> -->
<script src="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets/highlight.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/highlight.js/9.12.0/languages/dockerfile.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/highlight.js/9.12.0/languages//dart.min.js"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/moment.min.js"></script> -->
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.slim.min.js"></script> -->
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script> -->
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"></script> -->
<!-- DEMO JS -->
<!--<script src="media/scripts/index.js"></script>-->
</head>
<body>
<div class="main gt-bg-theme-color-first">
<div class="main-content">
<nav class="navbar navbar-expand-lg">
<a class="navbar-brand" href="/">
<img class="user-avatar" src="/images/avatar.png" alt="头像">
<div class="site-name gt-c-content-color-first">
幻影笔记
</div>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation" id="changeNavbar">
<i class="fas fa-bars gt-c-content-color-first" style="font-size: 18px"></i>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<div class="navbar-nav mr-auto" style="text-align: center">
<div class="nav-item">
<a href="/" class="menu gt-a-link">
首页
</a>
</div>
<div class="nav-item">
<a href="/archives" class="menu gt-a-link">
归档
</a>
</div>
<div class="nav-item">
<a href="/tags" class="menu gt-a-link">
标签
</a>
</div>
<div class="nav-item">
<a href="https://phantomma.xyz/post/guan-yu" class="menu gt-a-link">
关于
</a>
</div>
</div>
<div style="text-align: center">
<form id="gridea-search-form" style="position: relative" data-update="1707316916776"
action="/search/">
<input class="search-input" autocomplete="off" spellcheck="false" name="q" placeholder="搜索文章" />
<i class="fas fa-search gt-c-content-color-first" style="position: absolute; top: 9px; left: 10px;"></i>
</form>
</div>
</div>
</nav>
<script>
/* 移动端导航栏展开/收起切换 */
document.getElementById('changeNavbar').onclick = () => {
var element = document.getElementById('navbarSupportedContent');
if (element.style.display === 'none' || element.style.display === '') {
element.style.display = 'block';
} else {
element.style.display = 'none';
}
}
</script>
<div class="post-list-container">
<div class="post-inner">
<div class="post gt-bg-theme-color-second">
<div class="post-left">
<div>
<a href="https://phantomma.xyz/post/wsl2-shang-an-zhuang-k3s/">
<span class="post-title gt-c-content-color-first">WSL2 上安装 K3S</span>
</a>
</div>
<div class="gt-post-content post-abstract gt-c-content-color-second">
在wsl2 ubuntu-22.04,使用k3s官网的一键安装命令,是安装不成功的。
curl -sfL https://get.k3s.io | sh -
# Check for Ready node, takes ~30 seconds
sudo k3s kubectl get node
原因,k3s的运行还依赖systemd。在执行上面命令之前,
</div>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · 2023-08-24 ·
</time>
</div>
</div>
</div>
<div class="post gt-bg-theme-color-second">
<div class="post-left">
<div>
<a href="https://phantomma.xyz/post/windows11-kai-qi-wsl2/">
<span class="post-title gt-c-content-color-first">Windows11 开启WSL2 和局域网访问</span>
</a>
</div>
<div class="gt-post-content post-abstract gt-c-content-color-second">
安装WSL2
参考这篇文章:
https://zhuanlan.zhihu.com/p/475462241
https://www.sysgeek.cn/windows-11-install-wsl2/
</div>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · 2023-08-23 ·
</time>
</div>
</div>
</div>
<div class="post gt-bg-theme-color-second">
<div class="post-left">
<div>
<a href="https://phantomma.xyz/post/vagrant-yi-jian-la-qi-github-action-runner/">
<span class="post-title gt-c-content-color-first">vagrant 一键拉起 github action runner</span>
</a>
</div>
<div class="gt-post-content post-abstract gt-c-content-color-second">
一个通用的 github runner 定义。可按需定制为自己想要的
</div>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · 2023-03-06 ·
</time>
</div>
</div>
</div>
<div class="post gt-bg-theme-color-second">
<div class="post-left">
<div>
<a href="https://phantomma.xyz/post/debezium-outbox-pattern/">
<span class="post-title gt-c-content-color-first">Debezium outbox pattern</span>
</a>
</div>
<div class="gt-post-content post-abstract gt-c-content-color-second">
自部署的mysql上开启binlog
</div>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · 2023-02-16 ·
</time>
</div>
</div>
</div>
<div class="post gt-bg-theme-color-second">
<div class="post-left">
<div>
<a href="https://phantomma.xyz/post/shi-yong-orbstack-an-zhuang-chang-yong-yi-lai/">
<span class="post-title gt-c-content-color-first">使用OrbStack 容器里安装常用软件</span>
</a>
</div>
<div class="gt-post-content post-abstract gt-c-content-color-second">
安装 OrbStack
OrbStack is a fast, light, and simple way to run Docker containers and Linux machines on macOS. You can think of it as a supercharged WSL and Docker Desktop replacement, all in one easy-to-use app.
</div>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · 2022-12-22 ·
</time>
</div>
</div>
</div>
<div class="post gt-bg-theme-color-second">
<div class="post-left">
<div>
<a href="https://phantomma.xyz/post/yi-jian-qie-huan-mac-wang-luo-she-zhi-2/">
<span class="post-title gt-c-content-color-first">一键切换 mac 网络设置</span>
</a>
</div>
<div class="gt-post-content post-abstract gt-c-content-color-second">
背景
公司无线网络需要设置固定 IP,有固定的代理 pac 设置。
家里无线网络,开启 DHCP 自动获取 IP,且不需要单独设置代理。
</div>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · 2021-02-09 ·
</time>
</div>
</div>
</div>
<div class="post gt-bg-theme-color-second">
<div class="post-left">
<div>
<a href="https://phantomma.xyz/post/zai-kubernetes-shang-yun-xing-gao-ke-yong-de-kafka-ji-qun/">
<span class="post-title gt-c-content-color-first">在 Kubernetes 上运行高可用的 Kafka 集群</span>
</a>
</div>
<div class="gt-post-content post-abstract gt-c-content-color-second">
Apache Kafka 是目前最流行的分布式消息发布订阅系统,虽然 Kafka 非常强大,但它同样复杂,需要一个高可用的强大平台来运行。在微服务盛行,大多数公司都采用分布式计算的今天,将 Kafka 作为核心的消息系统使用还是非常有优势的。
</div>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · 2020-12-21 ·
</time>
</div>
</div>
</div>
<div class="post gt-bg-theme-color-second">
<div class="post-left">
<div>
<a href="https://phantomma.xyz/post/helm-chart-mo-ban-kai-fa-ji-qiao/">
<span class="post-title gt-c-content-color-first">Helm Chart 模板技巧</span>
</a>
</div>
<div class="gt-post-content post-abstract gt-c-content-color-second">
Helm Chart 在我们使用的时候非常方便的,但是对于开发人员来说 Helm Chart 模板就并不一定显得那么友好了,本文主要介绍了 Helm Chart 模板开发人员在构建生产级的 Chart 包时的一些技巧和窍门。
</div>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · 2020-10-11 ·
</time>
</div>
</div>
</div>
<div class="post gt-bg-theme-color-second">
<div class="post-left">
<div>
<a href="https://phantomma.xyz/post/shi-yong-kotlin-jdbctemplate-xie-dao-ceng/">
<span class="post-title gt-c-content-color-first">使用 kotlin + jdbcTemplate 写 dao 层</span>
</a>
</div>
<div class="gt-post-content post-abstract gt-c-content-color-second">
类orm的方案
编写dal层代码,java领域比较火的两个阵营:JPA(Hibernate)和MyBatis。JPA是java制定的一种ORM规范;MyBatis较轻量,还需要开发人员理解sql。
</div>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · 2019-01-10 ·
</time>
</div>
</div>
</div>
<div class="post gt-bg-theme-color-second">
<div class="post-left">
<div>
<a href="https://phantomma.xyz/post/springcloud-on-k8s-demo/">
<span class="post-title gt-c-content-color-first">SpringCloud On K8s Demo</span>
</a>
</div>
<div class="gt-post-content post-abstract gt-c-content-color-second">
</div>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · 2018-12-12 ·
</time>
</div>
</div>
</div>
</div>
</div>
<div class="pagination-container">
<a href="https://phantomma.xyz/page/2" class="prev-page gt-a-link">下一页</a>
</div>
<div class="site-footer gt-c-content-color-first">
<div class="slogan gt-c-content-color-first">温故而知新</div>
<div class="social-container">
<a href="https://github.com/PhantomMaa" target="_blank">
<i class="fab fa-github gt-c-content-color-first"></i>
</a>
</div>
<div class="footer-info">
Powered by <a href="https://github.com/getgridea/gridea" target="_blank">Gridea</a>
</div>
<div>
Theme <a href="https://github.com/imhanjie/gridea-theme-pure" target="_blank">Pure</a>, Powered by <a
href="https://gridea.dev" target="_blank">Gridea</a> | <a href="https://phantomma.xyz/atom.xml" target="_blank">RSS</a>
</div>
</div>
<script>
hljs.highlightAll()
</script>
</div>
</div>
</body>
</html>