-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
478 lines (349 loc) · 15.2 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
<!DOCTYPE html>
<html lang=en>
<head>
<!-- so meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="HandheldFriendly" content="True">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta name="description" content="blog by bakazhou">
<meta property="og:type" content="website">
<meta property="og:title" content="Bakazhou Blog">
<meta property="og:url" content="http://example.com/index.html">
<meta property="og:site_name" content="Bakazhou Blog">
<meta property="og:description" content="blog by bakazhou">
<meta property="og:locale" content="en_US">
<meta property="article:author" content="Bakazhou">
<meta name="twitter:card" content="summary">
<link rel="shortcut icon" href="/images/favicon.ico">
<link rel="icon" type="image/png" href="/images/favicon-192x192.png" sizes="192x192">
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
<!-- title -->
<title>Bakazhou Blog</title>
<!-- styles -->
<link rel="stylesheet" href="/lib/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="/lib/meslo-LG/styles.css">
<link rel="stylesheet" href="/lib/justified-gallery/justifiedGallery.min.css">
<link rel="stylesheet" href="/css/style.css">
<!-- rss -->
<!-- jquery -->
<script src="/lib/jquery/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/themes/prism.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/prism.min.js"></script>
<!-- 添加行号支持 -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-numbers/prism-line-numbers.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-numbers/prism-line-numbers.min.js"></script>
<!-- 添加复制按钮 -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/plugins/copy-to-clipboard/prism-copy-to-clipboard.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/copy-to-clipboard/prism-copy-to-clipboard.min.js"></script>
<!-- 添加行号显示 -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-numbers/prism-line-numbers.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-numbers/prism-line-numbers.min.js"></script>
<!-- 添加命令行提示符 -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/plugins/command-line/prism-command-line.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/command-line/prism-command-line.min.js"></script>
<!-- 添加行高亮 -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-highlight/prism-line-highlight.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-highlight/prism-line-highlight.min.js"></script>
<!-- One Dark Pro 主题样式 -->
<style>
/* 基础代码块样式 */
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
color: #abb2bf !important;
background: #282c34 !important;
text-shadow: none !important;
-webkit-font-smoothing: subpixel-antialiased !important;
-moz-osx-font-smoothing: auto !important;
font-family: "SF Mono", Consolas, Monaco, "Andale Mono", monospace !important;
font-size: 14px !important;
font-weight: 400 !important;
font-feature-settings: normal !important;
line-height: 1.6 !important;
letter-spacing: normal !important;
padding: 1em !important;
margin: .5em 0 !important;
border-radius: 6px !important;
overflow: auto !important;
white-space: pre !important;
word-spacing: normal !important;
}
/* 确保代码中的所有文本都使用相同的渲染设置 */
pre[class*="language-"] * {
text-shadow: none !important;
-webkit-font-smoothing: subpixel-antialiased !important;
-moz-osx-font-smoothing: auto !important;
}
/* 通用语法高亮 - 适用于所有语言 */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #5c6370 !important; /* 注释颜色 */
font-style: italic !important;
}
.token.string,
.token.attr-value {
color: #98c379 !important; /* 字符串颜色 */
}
.token.punctuation {
color: #abb2bf !important; /* 标点符号颜色 */
}
.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted,
.token.unit {
color: #d19a66 !important; /* 数字等颜色 */
}
.token.selector,
.token.attr-name,
.token.char,
.token.builtin,
.token.inserted,
.token.class-name {
color: #e5c07b !important; /* 类名等颜色 */
}
.token.operator,
.token.entity,
.token.url,
.token.variable,
.token.parameter {
color: #56b6c2 !important; /* 操作符等颜色 */
background: transparent !important;
}
.token.atrule,
.token.keyword,
.token.function-name {
color: #c678dd !important; /* 关键字颜色 */
}
.token.function {
color: #61afef !important; /* 函数名颜色 */
}
.token.regex,
.token.important {
color: #c678dd !important;
}
.token.important,
.token.bold {
font-weight: bold !important;
}
.token.italic {
font-style: italic !important;
}
/* 确保所有 token 都没有背景色和特殊边框 */
.token {
background: transparent !important;
border: none !important;
box-shadow: none !important;
text-shadow: none !important;
}
/* text 类型的特殊处理 */
code[class*="language-text"],
pre[class*="language-text"],
.language-text .token {
color: #5bac4a !important;
background: transparent !important;
}
/* 复制按钮样式 */
.copy-to-clipboard-button {
position: absolute;
right: 0;
top: 0;
padding: 6px 12px;
background: #4a5568;
border: none;
color: #fff;
border-radius: 0 6px 0 6px;
cursor: pointer;
font-size: 12px;
opacity: 0;
transition: opacity 0.2s;
}
pre:hover .copy-to-clipboard-button {
opacity: 1;
}
.copy-to-clipboard-button:hover {
background: #2d3748;
}
</style>
<!-- 在已有的 prismjs 相关代码后添加以下内容 -->
<script>
// 等待文档加载完成后执行
document.addEventListener('DOMContentLoaded', (event) => {
// 手动触发 Prism 的高亮
if (typeof Prism !== 'undefined') {
Prism.highlightAll();
// 添加复制按钮的回调
if (typeof ClipboardJS !== 'undefined') {
new ClipboardJS('.copy-to-clipboard-button').on('success', function(e) {
e.clearSelection();
// 可以添加复制成功的提示
});
}
}
});
</script>
<!-- 添加更多语言支持 -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-python.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-sql.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-typescript.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-docker.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-nginx.min.js"></script>
<!-- 在已有的语言支持后添加更多语言 -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-bash.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-javascript.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-json.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-yaml.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-xml.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-markdown.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-java.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-python.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-sql.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-typescript.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-docker.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-nginx.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-shell-session.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-properties.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-ini.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-diff.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-git.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-http.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-css.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-scss.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-jsx.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-tsx.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-regex.min.js"></script>
<meta name="generator" content="Hexo 6.3.0"></head>
<body>
<div class="banner">
<div id="blogtitel" class="blogtitel">Bakazhou Blog</div>
<ul id="wrapper" class="wrapper">
<div class="sun">
<div class="star"></div>
</div>
<div class="mercury">
<div class="planet">
<div class="shadow"></div>
</div>
</div>
<div class="venus">
<div class="planet">
<div class="shadow"></div>
</div>
</div>
<div class="earth">
<div class="planet"><div class="shadow"></div></div>
</div>
<div class="mars">
<div class="planet"><div class="shadow"></div></div>
</div>
<div class="jupiter">
<div class="planet"><div class="shadow"></div></div>
</div>
</ul>
</div>
<div class="background">
<div class="content index width mx-auto px2 my4">
<header id="header">
<a href="/">
<div id="logo" style="background-image: url(/images/logo.png);"></div>
<div id="title">
<h1>Bakazhou Blog</h1>
</div>
</a>
<div id="nav">
<ul>
<li class="icon">
<a href="#"><i class="fa fa-bars fa-2x"></i></a>
</li>
<li><a href="/home/">Home</a></li>
<li><a href="/about/">About</a></li>
<li><a href="/archives/">Writing</a></li>
<li><a target="_blank" rel="noopener" href="http://github.com/bakazhou">Projects</a></li>
</ul>
</div>
</header>
<section id="about">
<p>blog by bakazhou</p>
<p style="display: inline">
Find me on
<ul id="sociallinks">
<li><a class="icon" target="_blank" href="https://github.com/bakazhou" title="github"><i class="fa fa-github"></i></a></li>
<li><a class="icon" target="_blank" href="/" title="twitter"><i class="fa fa-twitter"></i></a></li>
<li><a class="icon" target="_blank" href="/" title="facebook"><i class="fa fa-facebook"></i></a></li>
<li><a class="icon" target="_blank" href="/" title="linkedin"><i class="fa fa-linkedin"></i></a></li>
</ul>.
</p>
</section>
<section id="writing">
<span class="h1"><a href="/archives">Writing</a></span>
<ul class="post-list">
<li class="post-item">
<div class="meta">
<time datetime="2024-11-06T00:46:32.000Z" itemprop="datePublished">2024-11-05</time>
</div>
<span>
<a class="" href="/2024/11/06/Workday-Integration-Guide/">Workday Integration Guide</a>
</span>
</li>
<li class="post-item">
<div class="meta">
<time datetime="2024-11-06T00:46:32.000Z" itemprop="datePublished">2024-11-05</time>
</div>
<span>
<a class="" href="/2024/11/06/Workday%E9%9B%86%E6%88%90%E6%8C%87%E5%8D%97/">Workday集成指南</a>
</span>
</li>
<li class="post-item">
<div class="meta">
<time datetime="2022-10-11T23:36:45.000Z" itemprop="datePublished">2022-10-11</time>
</div>
<span>
<a class="" href="/2022/10/12/%E7%94%9F%E4%BA%A7%E8%80%85%E6%B6%88%E8%B4%B9%E8%80%85%E6%A8%A1%E5%9E%8B-%E7%BA%BF%E7%A8%8B%E6%B1%A0/">生产者消费者模型-线程池</a>
</span>
</li>
<li class="post-item">
<div class="meta">
<time datetime="2022-10-11T18:21:57.000Z" itemprop="datePublished">2022-10-11</time>
</div>
<span>
<a class="" href="/2022/10/12/Reactor-%E5%8F%8D%E5%BA%94%E5%A0%86-Dispatcher-%E5%88%86%E5%8F%91%E8%80%85-%E6%A8%A1%E5%BC%8F/">Reactor(反应堆)/Dispatcher(适配器)模式</a>
</span>
</li>
<li class="post-item">
<div class="meta">
<time datetime="2022-10-09T19:26:08.000Z" itemprop="datePublished">2022-10-09</time>
</div>
<span>
<a class="" href="/2022/10/10/%E7%BA%BF%E7%A8%8B%E6%B1%A0%E5%8F%82%E6%95%B0%E5%8A%A8%E6%80%81%E9%85%8D%E7%BD%AE%E5%8F%8A%E5%91%8A%E8%AD%A6%E7%BB%84%E4%BB%B6/">线程池参数动态配置及告警组件</a>
</span>
</li>
</ul>
</section>
</div>
<footer id="footer">
<div class="footer-left">
Copyright © 2024 Bakazhou
</div>
<div class="footer-right">
<nav>
<ul>
<li><a href="/home/">Home</a></li>
<li><a href="/about/">About</a></li>
<li><a href="/archives/">Writing</a></li>
<li><a target="_blank" rel="noopener" href="http://github.com/bakazhou">Projects</a></li>
</ul>
</nav>
</div>
</footer>
<script src="/lib/justified-gallery/jquery.justifiedGallery.min.js"></script>
<script src="/js/main.js"></script>
<!-- Google Analytics -->
<!-- Disqus Comments -->
</div>
</body>
</html>