-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
694 lines (538 loc) · 99.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
<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"><title>Aciano - Aciano.top</title><meta name="author" content="Aciano"><meta name="copyright" content="Aciano"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#f7f9fe"><meta name="mobile-web-app-capable" content="yes"><meta name="apple-touch-fullscreen" content="yes"><meta name="apple-mobile-web-app-title" content="Aciano"><meta name="application-name" content="Aciano"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="#f7f9fe"><meta property="og:type" content="website"><meta property="og:title" content="Aciano"><meta property="og:url" content="https://aciano.top/index.html"><meta property="og:site_name" content="Aciano"><meta property="og:description" content="来自Aciano的个人博客"><meta property="og:locale" content="zh-CN"><meta property="og:image" content="https://bu.dusays.com/2024/07/15/6694b499da8df.jpg"><meta property="article:author" content="Aciano"><meta property="article:tag"><meta name="twitter:card" content="summary"><meta name="twitter:image" content="https://bu.dusays.com/2024/07/15/6694b499da8df.jpg"><meta name="description" content="来自Aciano的个人博客"><link rel="shortcut icon" href="/favicon.ico"><link rel="canonical" href="https://aciano.top/"><link rel="preconnect" href="//npm.elemecdn.com"/><link rel="preconnect" href="//npm.onmicrosoft.cn"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><meta name="google-site-verification" content="LkcGRYU00JQD-xcW5-DDwNKOwrdx6z6MlJjtMTMYYZc"/><meta name="baidu-site-verification" content="code-xxx"/><meta name="msvalidate.01" content="xxx"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.cbd.int/@fortawesome/fontawesome-free@6.4.0/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.cbd.int/node-snackbar@0.1.16/dist/snackbar.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.cbd.int/@fancyapps/ui@5.0.20/dist/fancybox/fancybox.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.bili33.top/npm/anzhiyu-theme-static@1.0.0/swiper/swiper.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = {
linkPageTop: {"enable":true,"title":"与数百名博主无限进步","addFriendPlaceholder":"name:\nlink(要求博客地址,请勿提交个人主页):\navatar(头像url,请提供尽可能清晰的图片):\ndescr(描述):\nsiteshot(站点截图):"},
postHeadAiDescription: undefined,
diytitle: undefined,
LA51: {"enable":true,"ck":"JkBRJKVhvzOtUvfR","LingQueMonitorID":"JkBRjKUcH5mD7KzS"},
greetingBox: {"enable":true,"default":"晚上好👋","list":[{"greeting":"晚安😴","startTime":0,"endTime":5},{"greeting":"早上好鸭👋, 祝你一天好心情!","startTime":6,"endTime":9},{"greeting":"上午好👋, 状态很好,鼓励一下~","startTime":10,"endTime":10},{"greeting":"11点多啦, 在坚持一下就吃饭啦~","startTime":11,"endTime":11},{"greeting":"午安👋, 宝贝","startTime":12,"endTime":14},{"greeting":"🌈充实的一天辛苦啦!","startTime":14,"endTime":18},{"greeting":"19点喽, 奖励一顿丰盛的大餐吧🍔。","startTime":19,"endTime":19},{"greeting":"晚上好👋, 在属于自己的时间好好放松😌~","startTime":20,"endTime":24}]},
twikooEnvId: 'https://twikoo.aciano.top/',
commentBarrageConfig:undefined,
root: '/',
preloader: {"source":3},
friends_vue_info: {"apiurl":"https://flink.aciano.top/"},
navMusic: true,
mainTone: {"mode":"api","api":"https://color.aciano.top/api?img=","cover_change":true},
authorStatus: {"skills":["🤖️ 数码科技爱好者","🔍 分享与热心帮助","🏠 智能家居小能手","🏃 脚踏实地行动派","🧱 团队小组发动机"]},
algolia: undefined,
localSearch: {"path":"/search.xml","preload":true,"languages":{"hits_empty":"找不到您查询的内容:${query}"}},
translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"简","rightMenuMsgToTraditionalChinese":"转为繁体","rightMenuMsgToSimplifiedChinese":"转为简体"},
noticeOutdate: {"limitDay":120,"position":"top","messagePrev":"It has been","messageNext":"days since the last update, the content of the article may be outdated."},
highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":330},
copy: {
success: '复制成功',
error: '复制错误',
noSupport: '浏览器不支持'
},
relativeDate: {
homepage: false,
simplehomepage: false,
post: false
},
runtime: '天',
date_suffix: {
just: '刚刚',
min: '分钟前',
hour: '小时前',
day: '天前',
month: '个月前'
},
copyright: {"copy":true,"copyrightEbable":false,"limitCount":50,"languages":{"author":"作者: Aciano","link":"链接: ","source":"来源: Aciano","info":"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。","copySuccess":"复制成功,复制和转载请标注本文地址"}},
lightbox: 'fancybox',
Snackbar: {"chs_to_cht":"你已切换为繁体","cht_to_chs":"你已切换为简体","day_to_night":"你已切换为深色模式","night_to_day":"你已切换为浅色模式","bgLight":"#425AEF","bgDark":"#1f1f1f","position":"top-center"},
source: {
justifiedGallery: {
js: 'https://cdn.cbd.int/flickr-justified-gallery@2.1.2/dist/fjGallery.min.js',
css: 'https://cdn.cbd.int/flickr-justified-gallery@2.1.2/dist/fjGallery.css'
}
},
isPhotoFigcaption: false,
islazyload: true,
isAnchor: false,
shortcutKey: undefined,
autoDarkmode: true
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
configTitle: 'Aciano',
title: 'Aciano',
postAI: '',
pageFillDescription: '来自的个人博客',
isPost: false,
isHome: true,
isHighlightShrink: false,
isToc: false,
postUpdate: '2024-11-16 21:57:14',
postMainColor: '',
}</script><noscript><style type="text/css">
#nav {
opacity: 1
}
.justified-gallery img {
opacity: 1
}
#recent-posts time,
#post-meta time {
display: inline !important
}
</style></noscript><script>(win=>{
win.saveToLocal = {
set: (key, value, ttl) => {
if (ttl === 0) return
const now = Date.now()
const expiry = now + ttl * 86400000
const item = {
value,
expiry
}
localStorage.setItem(key, JSON.stringify(item))
},
get: key => {
const itemStr = localStorage.getItem(key)
if (!itemStr) {
return undefined
}
const item = JSON.parse(itemStr)
const now = Date.now()
if (now > item.expiry) {
localStorage.removeItem(key)
return undefined
}
return item.value
}
}
win.getScript = (url, attr = {}) => new Promise((resolve, reject) => {
const script = document.createElement('script')
script.src = url
script.async = true
script.onerror = reject
script.onload = script.onreadystatechange = function() {
const loadState = this.readyState
if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
script.onload = script.onreadystatechange = null
resolve()
}
Object.keys(attr).forEach(key => {
script.setAttribute(key, attr[key])
})
document.head.appendChild(script)
})
win.getCSS = (url, id = false) => new Promise((resolve, reject) => {
const link = document.createElement('link')
link.rel = 'stylesheet'
link.href = url
if (id) link.id = id
link.onerror = reject
link.onload = link.onreadystatechange = function() {
const loadState = this.readyState
if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
link.onload = link.onreadystatechange = null
resolve()
}
document.head.appendChild(link)
})
win.activateDarkMode = () => {
document.documentElement.setAttribute('data-theme', 'dark')
if (document.querySelector('meta[name="theme-color"]') !== null) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#18171d')
}
}
win.activateLightMode = () => {
document.documentElement.setAttribute('data-theme', 'light')
if (document.querySelector('meta[name="theme-color"]') !== null) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#f7f9fe')
}
}
const t = saveToLocal.get('theme')
const isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches
const isLightMode = window.matchMedia('(prefers-color-scheme: light)').matches
const isNotSpecified = window.matchMedia('(prefers-color-scheme: no-preference)').matches
const hasNoSupport = !isDarkMode && !isLightMode && !isNotSpecified
if (t === undefined) {
if (isLightMode) activateLightMode()
else if (isDarkMode) activateDarkMode()
else if (isNotSpecified || hasNoSupport) {
const now = new Date()
const hour = now.getHours()
const isNight = hour <= 6 || hour >= 18
isNight ? activateDarkMode() : activateLightMode()
}
window.matchMedia('(prefers-color-scheme: dark)').addListener(e => {
if (saveToLocal.get('theme') === undefined) {
e.matches ? activateDarkMode() : activateLightMode()
}
})
} else if (t === 'light') activateLightMode()
else activateDarkMode()
const asideStatus = saveToLocal.get('aside-status')
if (asideStatus !== undefined) {
if (asideStatus === 'hide') {
document.documentElement.classList.add('hide-aside')
} else {
document.documentElement.classList.remove('hide-aside')
}
}
const detectApple = () => {
if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
document.documentElement.classList.add('apple')
}
}
detectApple()
})(window)</script><link rel="stylesheet" href="/css/banner.css" media="defer" onload="this.media='all'"><meta name="generator" content="Hexo 6.2.0"><link rel="alternate" href="/atom.xml" title="Aciano" type="application/atom+xml">
<link rel="alternate" href="/rss2.xml" title="Aciano" type="application/rss+xml">
</head><body data-type="anzhiyu"><div id="web_bg"></div><div id="an_music_bg"></div><div id="loading-box" onclick="document.getElementById("loading-box").classList.add("loaded")"><div class="loading-bg"><img class="loading-img nolazyload" alt="加载头像" src="https://bu.dusays.com/2024/07/15/6694b499da8df.jpg"/><div class="loading-image-dot"></div></div></div><script>const preloader = {
endLoading: () => {
document.getElementById('loading-box').classList.add("loaded");
},
initLoading: () => {
document.getElementById('loading-box').classList.remove("loaded")
}
}
window.addEventListener('load',()=> { preloader.endLoading() })
setTimeout(function(){preloader.endLoading();},10000)
if (true) {
document.addEventListener('pjax:send', () => { preloader.initLoading() })
document.addEventListener('pjax:complete', () => { preloader.endLoading() })
}</script><link rel="stylesheet" href="https://cdn.cbd.int/anzhiyu-theme-static@1.0.0/progress_bar/progress_bar.css"/><script async="async" src="https://cdn.cbd.int/pace-js@1.2.4/pace.min.js" data-pace-options="{ "restartOnRequestAfter":false,"eventLag":false}"></script><script>function initMourn() {
const date = new Date();
const today = (date.getMonth() + 1) + "-" + date.getDate()
const mourn_days = ["4-5","5-12","7-7","9-18","12-13"]
if (mourn_days.includes(today)) {
document.documentElement.style.filter = "grayscale(1)";
}}
initMourn();</script><div class="page" id="body-wrap"><header class="not-top-img" id="page-header"><nav id="nav"><div id="nav-group"><span id="blog_name"><a id="site-name" href="/" accesskey="h"><div class="title">Aciano</div><i class="anzhiyufont anzhiyu-icon-house-chimney"></i></a></span><div class="mask-name-container"><div id="name-container"><a id="page-name" href="javascript:anzhiyu.scrollToDest(0, 500)" rel="external nofollow noreferrer">PAGE_NAME</a></div></div><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="javascript:void(0);" rel="external nofollow noreferrer"><span> 文章</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/archives/"><i class="anzhiyufont anzhiyu-icon-box-archive faa-tada" style="font-size: 0.9em;"></i><span> 隧道</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/categories/"><i class="anzhiyufont anzhiyu-icon-shapes faa-tada" style="font-size: 0.9em;"></i><span> 分类</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/tags/"><i class="anzhiyufont anzhiyu-icon-tags faa-tada" style="font-size: 0.9em;"></i><span> 标签</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="javascript:void(0);" rel="external nofollow noreferrer"><span> 友链</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/link/"><i class="anzhiyufont anzhiyu-icon-link faa-tada" style="font-size: 0.9em;"></i><span> 友人帐</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/comments/"><i class="anzhiyufont anzhiyu-icon-envelope faa-tada" style="font-size: 0.9em;"></i><span> 留言板</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/fcircle/"><i class="anzhiyufont anzhiyu-icon-artstation faa-tada" style="font-size: 0.9em;"></i><span> 朋友圈</span></a></li><li><a class="site-page child faa-parent animated-hover" target="_blank" rel="noopener external nofollow noreferrer" href="https://www.travellings.cn/go.html"><i class="fa-solid fa-train-subway faa-tada"></i><span> 开往</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="javascript:void(0);" rel="external nofollow noreferrer"><span> 我的</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/music/?id=6647175851&server=netease"><i class="anzhiyufont anzhiyu-icon-music faa-tada" style="font-size: 0.9em;"></i><span> 音乐馆</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/equipment/"><i class="anzhiyufont anzhiyu-icon-dice-d20 faa-tada" style="font-size: 0.9em;"></i><span> 我的装备</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/collect/"><i class="fa-solid fa-bookmark faa-tada"></i><span> 人生足迹</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="javascript:void(0);" rel="external nofollow noreferrer"><span> 关于</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/about/"><i class="anzhiyufont anzhiyu-icon-paper-plane faa-tada" style="font-size: 0.9em;"></i><span> 关于本人</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/history/"><i class="anzhiyufont anzhiyu-icon-artstation faa-tada" style="font-size: 0.9em;"></i><span> 建站史</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/essay/"><i class="anzhiyufont anzhiyu-icon-lightbulb faa-tada" style="font-size: 0.9em;"></i><span> 闲言碎语</span></a></li></ul></div></div></div><div id="nav-right"><div class="nav-button" id="randomPost_button"><a class="site-page" onclick="toRandomPost()" title="随机前往一个文章" href="javascript:void(0);" rel="external nofollow noreferrer"><i class="anzhiyufont anzhiyu-icon-dice"></i></a></div><div class="nav-button" id="search-button"><a class="site-page social-icon search" href="javascript:void(0);" rel="external nofollow noreferrer" title="搜索🔍" accesskey="s"><i class="anzhiyufont anzhiyu-icon-magnifying-glass"></i><span> 搜索</span></a></div><input id="center-console" type="checkbox"/><label class="widget" for="center-console" title="中控台" onclick="anzhiyu.switchConsole();"><i class="left"></i><i class="widget center"></i><i class="widget right"></i></label><div id="console"><div class="console-card-group-reward"><ul class="reward-all console-card"><li class="reward-item"><a href="https://npm.elemecdn.com/anzhiyu-blog@1.1.6/img/post/common/qrcode-weichat.png" rel="external nofollow noreferrer" target="_blank"><img class="post-qr-code-img" alt="微信" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://npm.elemecdn.com/anzhiyu-blog@1.1.6/img/post/common/qrcode-weichat.png"/></a><div class="post-qr-code-desc">微信</div></li><li class="reward-item"><a href="https://npm.elemecdn.com/anzhiyu-blog@1.1.6/img/post/common/qrcode-alipay.png" rel="external nofollow noreferrer" target="_blank"><img class="post-qr-code-img" alt="支付宝" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://npm.elemecdn.com/anzhiyu-blog@1.1.6/img/post/common/qrcode-alipay.png"/></a><div class="post-qr-code-desc">支付宝</div></li></ul></div><div class="console-card-group"><div class="console-card-group-left"><div class="console-card" id="card-newest-comments"><div class="card-content"><div class="author-content-item-tips">互动</div><span class="author-content-item-title"> 最新评论</span></div><div class="aside-list"><span>正在加载中...</span></div></div></div><div class="console-card-group-right"><div class="console-card tags"><div class="card-content"><div class="author-content-item-tips">音乐</div><span class="author-content-item-title">灵魂的碰撞💥</span></div></div><div class="console-card history"><div class="item-headline"><i class="anzhiyufont anzhiyu-icon-box-archiv"></i><span>文章</span></div><div class="card-archives"><div class="item-headline"><i class="anzhiyufont anzhiyu-icon-archive"></i><span>归档</span><a class="card-more-btn" href="/archives/" title="查看更多">
<i class="anzhiyufont anzhiyu-icon-angle-right"></i></a></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2024/09/"><span class="card-archive-list-date">九月 2024</span><div class="card-archive-list-count-group"><span class="card-archive-list-count">1</span><span>篇</span></div></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2024/07/"><span class="card-archive-list-date">七月 2024</span><div class="card-archive-list-count-group"><span class="card-archive-list-count">1</span><span>篇</span></div></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2024/05/"><span class="card-archive-list-date">五月 2024</span><div class="card-archive-list-count-group"><span class="card-archive-list-count">2</span><span>篇</span></div></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2024/03/"><span class="card-archive-list-date">三月 2024</span><div class="card-archive-list-count-group"><span class="card-archive-list-count">1</span><span>篇</span></div></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2024/02/"><span class="card-archive-list-date">二月 2024</span><div class="card-archive-list-count-group"><span class="card-archive-list-count">3</span><span>篇</span></div></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/12/"><span class="card-archive-list-date">十二月 2023</span><div class="card-archive-list-count-group"><span class="card-archive-list-count">1</span><span>篇</span></div></a></li></ul></div><hr/></div></div></div><div class="button-group"><div class="console-btn-item"><a class="darkmode_switchbutton" title="显示模式切换" href="javascript:void(0);" rel="external nofollow noreferrer"><i class="anzhiyufont anzhiyu-icon-moon"></i></a></div><div class="console-btn-item" id="consoleHideAside" onclick="anzhiyu.hideAsideBtn()" title="边栏显示控制"><a class="asideSwitch"><i class="anzhiyufont anzhiyu-icon-arrows-left-right"></i></a></div><div class="console-btn-item on" id="consoleCommentBarrage" onclick="anzhiyu.switchCommentBarrage()" title="热评开关"><a class="commentBarrage"><i class="anzhiyufont anzhiyu-icon-message"></i></a></div><div class="console-btn-item" id="consoleMusic" onclick="anzhiyu.musicToggle()" title="音乐开关"><a class="music-switch"><i class="anzhiyufont anzhiyu-icon-music"></i></a></div></div><div class="console-mask" onclick="anzhiyu.hideConsole()" href="javascript:void(0);" rel="external nofollow noreferrer"></div></div><div class="nav-button" id="nav-totop"><a class="totopbtn" href="javascript:void(0);" rel="external nofollow noreferrer"><i class="anzhiyufont anzhiyu-icon-arrow-up"></i><span id="percent" onclick="anzhiyu.scrollToDest(0,500)">0</span></a></div><div id="toggle-menu"><a class="site-page" href="javascript:void(0);" rel="external nofollow noreferrer" title="切换"><i class="anzhiyufont anzhiyu-icon-bars"></i></a></div></div></div></nav></header><main id="blog-container"><div class="bbTimeList container" id="bbTimeList"><i class="anzhiyufont anzhiyu-icon-jike bber-logo fontbold" onclick="pjax.loadUrl("/essay/")" title="即刻短文" aria-hidden="true"></i><div class="swiper-container swiper-no-swiping essay_bar_swiper_container" id="bbtalk" tabindex="-1"><div class="swiper-wrapper" id="bber-talk" onclick="pjax.loadUrl("/essay/")"><div class="li-style swiper-slide">摩羯来了,感觉家里楼在晃...(引用一张来自徐闻同学拍的照片 [图片]</div><div class="li-style swiper-slide">突然翻到20年时刚开始建站,啥也不会用WordPress傻瓜式生成的博客,当时写的玩意还挺青涩呢🤣 [图片]</div><div class="li-style swiper-slide">好酷! [图片]</div><div class="li-style swiper-slide">湛江也能下冰雹?! [图片]</div><div class="li-style swiper-slide">学校的凤凰花特别好看! [图片]</div><div class="li-style swiper-slide">一不小心拿了个有奖金的专项奖。(广东省共十个,湛江地区唯一) [图片]</div><div class="li-style swiper-slide">按照鱼佬的教程进行了Github Action工作流的部署,再也不用小黑窗hexo三连等到天黑啦!快乐。</div><div class="li-style swiper-slide">加入十年之约啦,今年第四年,希望能继续保持更新和活力!</div><div class="li-style swiper-slide">突然发现office E5的订阅掉了,登回电报发现太久没上线把账号数据全删了😭累了不想折腾了。 [图片]</div><div class="li-style swiper-slide">经过三轮考核,终于成为学校国旗护卫队的正式队员啦!这几天的集训好累啊。 [图片]</div></div></div><i class="bber-gotobb anzhiyufont anzhiyu-icon-circle-arrow-right" onclick="pjax.loadUrl("/essay/")" title="查看全文"></i></div><script src="https://cdn.bili33.top/npm/anzhiyu-theme-static@1.0.0/swiper/swiper.min.js"></script><div id="home_top"><div class="swiper_container_card" style="height: auto;width: 100%"><div id="bannerGroup"><div id="random-banner"><div class="banners-title"><div class="banners-title-big">无限活力</div><div class="banners-title-big">与热爱生活。</div><div class="banners-title-small">aciano.top</div></div><div id="skills-tags-group-all"><div class="tags-group-wrapper"><div class="tags-group-icon-pair"><div class="tags-group-icon" style="background: #4082c3"><img class="no-lightbox" title="Photoshop" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://pic2.imgdb.cn/item/644dea370d2dde57779c9053.jpg" size="60px" alt="Photoshop"></div><div class="tags-group-icon" style="background: #333"><img class="no-lightbox" title="Node" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://cdn.bili33.top/npm/anzhiyu-blog@2.1.1/img/svg/node-logo.svg" size="60px" alt="Node"></div></div><div class="tags-group-icon-pair"><div class="tags-group-icon" style="background: #fff"><img class="no-lightbox" title="Python" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://pic2.imgdb.cn/item/644dea370d2dde57779c905f.jpg" size="60px" alt="Python"></div><div class="tags-group-icon" style="background: #e9572b"><img class="no-lightbox" title="HTML" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://pic2.imgdb.cn/item/644dea370d2dde57779c9059.jpg" size="60px" alt="HTML"></div></div><div class="tags-group-icon-pair"><div class="tags-group-icon" style="background: #4082c3"><img class="no-lightbox" title="Photoshop" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://pic2.imgdb.cn/item/644dea370d2dde57779c9053.jpg" size="60px" alt="Photoshop"></div><div class="tags-group-icon" style="background: #333"><img class="no-lightbox" title="Node" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://cdn.bili33.top/npm/anzhiyu-blog@2.1.1/img/svg/node-logo.svg" size="60px" alt="Node"></div></div><div class="tags-group-icon-pair"><div class="tags-group-icon" style="background: #fff"><img class="no-lightbox" title="Python" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://pic2.imgdb.cn/item/644dea370d2dde57779c905f.jpg" size="60px" alt="Python"></div><div class="tags-group-icon" style="background: #e9572b"><img class="no-lightbox" title="HTML" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://pic2.imgdb.cn/item/644dea370d2dde57779c9059.jpg" size="60px" alt="HTML"></div></div></div></div><a id="random-hover" href="javascript:toRandomPost()" rel="external nofollow noreferrer"><i class="anzhiyufont anzhiyu-icon-paper-plane"></i><div class="bannerText">随便逛逛<i class="anzhiyufont anzhiyu-icon-arrow-right"></i></div></a></div><div class="categoryGroup"><div class="categoryItem" style="box-shadow:var(--anzhiyu-shadow-blue)"><a class="categoryButton blue" onclick="pjax.loadUrl("/categories/Hexo博客/");" href="javascript:void(0);" rel="external nofollow noreferrer"><span class="categoryButtonText">博客</span><i class="anzhiyufont anzhiyu-icon-dove"></i></a></div><div class="categoryItem" style="box-shadow:var(--anzhiyu-shadow-red)"><a class="categoryButton red" onclick="pjax.loadUrl("/categories/技术教程/");" href="javascript:void(0);" rel="external nofollow noreferrer"><span class="categoryButtonText">教程</span><i class="anzhiyufont anzhiyu-icon-fire"></i></a></div><div class="categoryItem" style="box-shadow:var(--anzhiyu-shadow-green)"><a class="categoryButton green" onclick="pjax.loadUrl("/categories/IoT物联网/");" href="javascript:void(0);" rel="external nofollow noreferrer"><span class="categoryButtonText">IoT</span><i class="anzhiyufont anzhiyu-icon-book"></i></a></div></div></div><div class="topGroup"><div class="recent-post-item" onclick="pjax.loadUrl("/posts/c336038a/")"><div class="post_cover left_radius"><a href="posts/c336038a/" title="Adobe系列软件2017~2020合集"><span class="recent-post-top-text">荐</span><img class="post_bg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="cover" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://img.imgdb.cn/item/6027e3d7d2a061fec77a7714.png"></a></div><div class="recent-post-info"><a class="article-title" href="posts/c336038a/" title="Adobe系列软件2017~2020合集">Adobe系列软件2017~2020合集</a></div></div><div class="recent-post-item" onclick="pjax.loadUrl("/posts/886a/")"><div class="post_cover left_radius"><a href="posts/886a/" title="AppInventor之数据库、MQTT及导出Excel表格"><span class="recent-post-top-text">荐</span><img class="post_bg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="cover" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://cdn.bili33.top/npm/aciano-cdn@1.0.13/post/AppInventor之数据库、MQTT及导出Excel表格/封面.png"></a></div><div class="recent-post-info"><a class="article-title" href="posts/886a/" title="AppInventor之数据库、MQTT及导出Excel表格">AppInventor之数据库、MQTT及导出Excel表格</a></div></div><div class="recent-post-item" onclick="pjax.loadUrl("/posts/21396629/")"><div class="post_cover left_radius"><a href="posts/21396629/" title="Arduino驱动的安装"><span class="recent-post-top-text">荐</span><img class="post_bg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="cover" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://img.imgdb.cn/item/601181423ffa7d37b345a405.jpg"></a></div><div class="recent-post-info"><a class="article-title" href="posts/21396629/" title="Arduino驱动的安装">Arduino驱动的安装</a></div></div><div class="recent-post-item" onclick="pjax.loadUrl("/posts/bfed/")"><div class="post_cover left_radius"><a href="posts/bfed/" title="Arduino:安装驱动失败的解决方法"><span class="recent-post-top-text">荐</span><img class="post_bg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="cover" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://img.imgdb.cn/item/601181423ffa7d37b345a405.jpg"></a></div><div class="recent-post-info"><a class="article-title" href="posts/bfed/" title="Arduino:安装驱动失败的解决方法">Arduino:安装驱动失败的解决方法</a></div></div><div class="recent-post-item" onclick="pjax.loadUrl("/posts/efaec666/")"><div class="post_cover left_radius"><a href="posts/efaec666/" title="Cyber Manhunt 全网公敌v1.2.56 官方中文版"><span class="recent-post-top-text">荐</span><img class="post_bg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="cover" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://cdn.bili33.top/npm/aciano-cdn@1.0.13/post/Cyber Manhunt 全网公敌v1-2-56/封面.jpg"></a></div><div class="recent-post-info"><a class="article-title" href="posts/efaec666/" title="Cyber Manhunt 全网公敌v1.2.56 官方中文版">Cyber Manhunt 全网公敌v1.2.56 官方中文版</a></div></div><div class="recent-post-item" onclick="pjax.loadUrl("/posts/c291af82/")"><div class="post_cover left_radius"><a href="posts/c291af82/" title="Day1:智能问答对话程序与智能灯系列"><span class="recent-post-top-text">荐</span><img class="post_bg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="cover"></a></div><div class="recent-post-info"><a class="article-title" href="posts/c291af82/" title="Day1:智能问答对话程序与智能灯系列">Day1:智能问答对话程序与智能灯系列</a></div></div><a class="todayCard" id="todayCard" href="https://aciano.top" style="z-index: 1;"><div class="todayCard-info"><div class="todayCard-tips"></div><div class="todayCard-title"></div></div><img class="todayCard-cover" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://api.maho.cc/random-img/pc.php" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="封面"><div class="banner-button-group"><div class="banner-button" onclick="event.stopPropagation();event.preventDefault();anzhiyu.hideTodayCard();"><i class="anzhiyufont anzhiyu-icon-arrow-circle-right"></i><span class="banner-button-text">更多推荐</span></div></div></a></div><link rel="stylesheet"></div></div><div class="layout" id="content-inner"><div class="recent-posts" id="recent-posts"><div id="categoryBar"><div class="category-bar" id="category-bar"><div id="catalog-bar"><div id="catalog-list"><div class="catalog-list-item" id="首页"><a href="/">首页</a></div>
<div class="catalog-list-item" id="/categories/PC/">
<a href="/categories/PC/">
PC
</a>
</div>
<div class="catalog-list-item" id="/categories/AppInventor/">
<a href="/categories/AppInventor/">
AppInventor
</a>
</div>
<div class="catalog-list-item" id="/categories/Arduino/">
<a href="/categories/Arduino/">
Arduino
</a>
</div>
<div class="catalog-list-item" id="/categories/学习笔记/">
<a href="/categories/学习笔记/">
学习笔记
</a>
</div>
<div class="catalog-list-item" id="/categories/技术教程/">
<a href="/categories/技术教程/">
技术教程
</a>
</div>
<div class="catalog-list-item" id="/categories/Hexo博客/">
<a href="/categories/Hexo博客/">
Hexo博客
</a>
</div>
<div class="catalog-list-item" id="/categories/Hexo博客/技巧/">
<a href="/categories/Hexo博客/技巧/">
技巧
</a>
</div>
<div class="catalog-list-item" id="/categories/Hexo博客/搭建/">
<a href="/categories/Hexo博客/搭建/">
搭建
</a>
</div>
<div class="catalog-list-item" id="/categories/人工智能/">
<a href="/categories/人工智能/">
人工智能
</a>
</div>
<div class="catalog-list-item" id="/categories/Python/">
<a href="/categories/Python/">
Python
</a>
</div>
<div class="catalog-list-item" id="/categories/IoT物联网/">
<a href="/categories/IoT物联网/">
IoT物联网
</a>
</div>
<div class="catalog-list-item" id="/categories/技术教程/教程/">
<a href="/categories/技术教程/教程/">
教程
</a>
</div>
<div class="catalog-list-item" id="/categories/个人文章/">
<a href="/categories/个人文章/">
个人文章
</a>
</div>
<div class="catalog-list-item" id="/categories/Python/学习笔记/">
<a href="/categories/Python/学习笔记/">
学习笔记
</a>
</div>
</div><div class="category-bar-next" id="category-bar-next" onclick="anzhiyu.scrollCategoryBarToRight()"><i class="anzhiyufont anzhiyu-icon-angle-double-right"></i></div><a class="catalog-more" href="/categories/">更多</a></div></div></div><div class="recent-post-item lastestpost-item" onclick="pjax.loadUrl('/posts/guohu/')"><div class="article-meta__categories__box"><a class="article-meta__categories" href="/categories/%E4%B8%AA%E4%BA%BA%E6%96%87%E7%AB%A0/">个人文章</a><a class="unvisited-post" href="/posts/guohu/" title="传护旗薪火,承青春华章|湛江市第二中学国旗护卫队招新!" style="
left: 90px;">未读</a></div><div class="post_cover left"><a href="/posts/guohu/" title="传护旗薪火,承青春华章|湛江市第二中学国旗护卫队招新!" style="display: flex;height: 100%;"><img class="post_bg" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://bu.dusays.com/2024/09/08/66dd23d51a7c3.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="传护旗薪火,承青春华章|湛江市第二中学国旗护卫队招新!" style="pointer-events: none"></a></div><div class="recent-post-info"><span class="newPost">最新文章</span><a class="article-title" href="/posts/guohu/" title="传护旗薪火,承青春华章|湛江市第二中学国旗护卫队招新!">传护旗薪火,承青春华章|湛江市第二中学国旗护卫队招新!</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="anzhiyufont anzhiyu-icon-calendar-days" style="font-size: 15px; "></i><span class="article-meta-label">发表于</span><time datetime="2024-09-01T04:23:58.000Z" title="发表于 2024-09-01 12:23:58">2024-09-01</time></span><span class="article-meta tags"><a class="article-meta__tags" href="/tags/%E4%B8%AA%E4%BA%BA%E6%96%87%E7%AB%A0/" tabindex="-1"><span> <i class="anzhiyufont anzhiyu-icon-hashtag"></i>个人文章</span></a></span></div><div class="content">湛江市第二中学国旗护卫队招新啦!你是否渴望过,
成为升旗仪式中那份荣耀的传递者?
你是否梦想过,
让自己的青春与国家的荣耀紧密相连?
你是否憧憬过,
像三军仪仗队一样,身着旗服,护卫着五星红旗?
你是否向往过,
与一群志同道合的伙伴并肩作战?
昂首阔步,铿锵有力
奋发向前,青春无悔
朝霞映照,国旗轻抚晨曦
暮色渐沉,汗水书写华章
以坚守与担当,护五星红旗迎风飘扬
这里就是—— 湛江市第二中学国旗护卫队 !
国旗护卫队,正是你实现梦想的舞台,
我们在这里,
用行动诠释对祖国的热爱,
用青春书写对国旗的敬意,
用汗水浇灌每一次升旗仪式的庄严与神圣,
用每一次国旗的缓缓上升,
见证我们对梦想的执着追求与不懈努力。
一、队伍简介湛江市第二中学国旗护卫队,隶属于校团委风纪部,以护卫国旗为己任,以弘扬爱国主义精神为目标,力求展现当代中学生热爱祖国,积极向上的精神风貌。是一支团结友爱,纪律严明,崇尚进步,有组织有纪律,充满活力和热血的队伍。
国旗护卫队的日常工作包括每周一早上升旗任务;国家重大节日、学校体育节、艺术节等大型活动的升旗仪式;代表学校参加各种外校和省、市级的大型比赛。
...</div></div></div><div class="recent-post-item" onclick="pjax.loadUrl('/posts/xzwyys/')"><div class="article-meta__categories__box"><a class="article-meta__categories" href="/categories/PC/">PC</a><a class="unvisited-post" href="/posts/xzwyys/" title="批量下载网易云歌单歌曲和歌词" style="
">未读</a></div><div class="post_cover left"><a href="/posts/xzwyys/" title="批量下载网易云歌单歌曲和歌词" style="display: flex;height: 100%;"><img class="post_bg" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://cdn.bili33.top/npm/aciano-cdn@2.0.13/post/批量下载网易云歌单歌曲和歌词/cover.webp" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="批量下载网易云歌单歌曲和歌词" style="pointer-events: none"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/xzwyys/" title="批量下载网易云歌单歌曲和歌词">批量下载网易云歌单歌曲和歌词</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="anzhiyufont anzhiyu-icon-calendar-days" style="font-size: 15px; "></i><span class="article-meta-label">发表于</span><time datetime="2024-07-14T04:23:58.000Z" title="发表于 2024-07-14 12:23:58">2024-07-14</time></span><span class="article-meta tags"><a class="article-meta__tags" href="/tags/PC/" tabindex="-1"><span> <i class="anzhiyufont anzhiyu-icon-hashtag"></i>PC</span></a></span></div><div class="content">歌词下载工具 ZonyLrcToolsX
引用站外地址
GitHub - real-zony/ZonyLrcToolsX
一个能够方便地下载歌词的小软件✨
把想要下载歌词的歌曲放在同一个文件夹。
打开软件所在文件夹,在文件夹右键打开菜单,选择在终端中打开。
输入以下命令,歌词目录替换成歌曲所在文件夹路径,数字替换成下载线程数:
1./ZonyLrcTools.Cli.exe download -d "歌曲目录" -l -n 数字
回车,开始下载,正常情况歌词会下载到歌曲所在文件夹。
Music_Download
引用站外地址
GitHub - Music_Download✨
Music_Download
Music Tag
引 ...</div></div></div><div class="recent-post-item" onclick="pjax.loadUrl('/posts/rgbandhsv/')"><div class="article-meta__categories__box"><a class="article-meta__categories" href="/categories/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD/">人工智能</a><a class="unvisited-post" href="/posts/rgbandhsv/" title="Python获取RGB和HSV值并框出对应颜色" style="
">未读</a></div><div class="post_cover left"><a href="/posts/rgbandhsv/" title="Python获取RGB和HSV值并框出对应颜色" style="display: flex;height: 100%;"><img class="post_bg" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://cdn.bili33.top/npm/aciano-cdn@2.0.12/post/Python获取RGB和HSV值并框出对应颜色/cover.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Python获取RGB和HSV值并框出对应颜色" style="pointer-events: none"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/rgbandhsv/" title="Python获取RGB和HSV值并框出对应颜色">Python获取RGB和HSV值并框出对应颜色</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="anzhiyufont anzhiyu-icon-calendar-days" style="font-size: 15px; "></i><span class="article-meta-label">发表于</span><time datetime="2024-05-26T04:23:58.000Z" title="发表于 2024-05-26 12:23:58">2024-05-26</time></span><span class="article-meta tags"><a class="article-meta__tags" href="/tags/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD/" tabindex="-1"><span> <i class="anzhiyufont anzhiyu-icon-hashtag"></i>人工智能</span></a></span></div><div class="content">获取RGB值使用PIL工具123456789from PIL import Image# 打开图像文件image = Image.open('../image/031301.png')# 获取指定位置的像素颜色rgb = image.getpixel((100, 100))print("RGB值为:", rgb)
使用OpenCV123456789import cv2# 读取图像image = cv2.imread('../image/031301.png')# 获取指定位置的像素颜色(b, g, r) = image[100, 100]print("RGB值为: ({}, {}, {})".format(r, g, b))
转换为hsv值并计算上下限12345678910111213141516# 导入所需的库import numpy as npimport cv2# 为颜色定义一个numpy.ndarraygreen = np.uint8( ...</div></div></div><div class="recent-post-item" onclick="pjax.loadUrl('/posts/tflite/')"><div class="article-meta__categories__box"><a class="article-meta__categories" href="/categories/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD/">人工智能</a><a class="unvisited-post" href="/posts/tflite/" title="tflite模型转换为kmodel文件" style="
">未读</a></div><div class="post_cover left"><a href="/posts/tflite/" title="tflite模型转换为kmodel文件" style="display: flex;height: 100%;"><img class="post_bg" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://cdn.bili33.top/npm/aciano-cdn@2.0.12/post/tflite模型转换为kmodel文件/cover.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="tflite模型转换为kmodel文件" style="pointer-events: none"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/tflite/" title="tflite模型转换为kmodel文件">tflite模型转换为kmodel文件</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="anzhiyufont anzhiyu-icon-calendar-days" style="font-size: 15px; "></i><span class="article-meta-label">发表于</span><time datetime="2024-05-26T04:23:58.000Z" title="发表于 2024-05-26 12:23:58">2024-05-26</time></span><span class="article-meta tags"><a class="article-meta__tags" href="/tags/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD/" tabindex="-1"><span> <i class="anzhiyufont anzhiyu-icon-hashtag"></i>人工智能</span></a></span></div><div class="content">下载文件下载以下ncc工具压缩包:
引用站外地址
下载链接
ncc工具压缩包
方式1解压后将tflite放入文件夹,并且新建一个名为images的文件夹,在里面放入几张训练集的图片。
接着打开cmd,cd到这个文件夹,运行以下命令:
1ncc -i tflite -o k210model --dataset ./images ./[文件名].tflite ./[文件名].kmodel
跑完后便得到了kmodel文件。
方式2若以上方式运行失败,可以尝试打开文件夹中的NNCase_v0.1.0.exe
傻瓜式运行即可。
参考
引用站外地址
GitHub - kendryte/nncase
Open deep learning compiler stack for Kendryte AI accelerators ✨
...</div></div></div><div class="recent-post-item" onclick="pjax.loadUrl('/posts/Noctuary/')"><div class="article-meta__categories__box"><a class="article-meta__categories" href="/categories/%E4%B8%AA%E4%BA%BA%E6%96%87%E7%AB%A0/">个人文章</a><a class="unvisited-post" href="/posts/Noctuary/" title="花开花满原,愿此梦不尽——《梦灯花 Noctuary》游戏体验" style="
">未读</a></div><div class="post_cover left"><a href="/posts/Noctuary/" title="花开花满原,愿此梦不尽——《梦灯花 Noctuary》游戏体验" style="display: flex;height: 100%;"><img class="post_bg" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://cdn.bili33.top/npm/aciano-cdn@2.0.9/post/花开花满原,愿此梦不尽/cover.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="花开花满原,愿此梦不尽——《梦灯花 Noctuary》游戏体验" style="pointer-events: none"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/Noctuary/" title="花开花满原,愿此梦不尽——《梦灯花 Noctuary》游戏体验">花开花满原,愿此梦不尽——《梦灯花 Noctuary》游戏体验</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="anzhiyufont anzhiyu-icon-calendar-days" style="font-size: 15px; "></i><span class="article-meta-label">发表于</span><time datetime="2024-03-01T01:26:50.000Z" title="发表于 2024-03-01 09:26:50">2024-03-01</time></span><span class="article-meta tags"><a class="article-meta__tags" href="/tags/%E6%B8%B8%E6%88%8F/" tabindex="-1"><span> <i class="anzhiyufont anzhiyu-icon-hashtag"></i>游戏</span></a></span></div><div class="content">
音乐惯例,文章开头,先放上一首游戏里的插曲:《Phosphene -Cantonese》:
var ap = new APlayer({
element: document.getElementById("aplayer-eYSOeJVf"),
narrow: false,
autoplay: false,
showlrc: false,
music: {
title: "Phosphene",
author: "S9ryne",
url: "https://aciano.top/img/Phosphene.mp3",
pic: "https://cdn.bili33.top/npm/aciano-cdn@2.0.10/speak/head ...</div></div></div><div class="recent-post-item" onclick="pjax.loadUrl('/posts/github-action/')"><div class="article-meta__categories__box"><a class="article-meta__categories" href="/categories/Hexo%E5%8D%9A%E5%AE%A2/">Hexo博客</a><a class="article-meta__categories" href="/categories/Hexo%E5%8D%9A%E5%AE%A2/%E6%8A%80%E5%B7%A7/">技巧</a><a class="unvisited-post" href="/posts/github-action/" title="使用GitHub Action自动部署Hexo博客" style="
">未读</a></div><div class="post_cover left"><a href="/posts/github-action/" title="使用GitHub Action自动部署Hexo博客" style="display: flex;height: 100%;"><img class="post_bg" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://cdn.bili33.top/npm/aciano-cdn@2.0.7/post/使用GitHub_Action自动部署Hexo博客/cover.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="使用GitHub Action自动部署Hexo博客" style="pointer-events: none"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/github-action/" title="使用GitHub Action自动部署Hexo博客">使用GitHub Action自动部署Hexo博客</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="anzhiyufont anzhiyu-icon-calendar-days" style="font-size: 15px; "></i><span class="article-meta-label">发表于</span><time datetime="2024-02-13T09:23:58.000Z" title="发表于 2024-02-13 17:23:58">2024-02-13</time></span><span class="article-meta tags"><a class="article-meta__tags" href="/tags/%E9%83%A8%E7%BD%B2/" tabindex="-1"><span> <i class="anzhiyufont anzhiyu-icon-hashtag"></i>部署</span></a></span></div><div class="content">
本教程参照安知鱼和Akilar的文章,稍作改动完成。
获取 Token打开New personal access token,创建一个Token。
创建的 Token 名称随意,但必须勾选repo项 和workflows项,同时Expiration选择no expiration
创建完成后会显示Token,只会显示一次,请务必复制保存记录。否则遗忘则只能重新生成重新配置了。
新建私有仓库打开Create a new repository,创建一个名为Hexo-Source-Repo的仓库并设置为私有仓库。
创建成功后复制仓库的ssh地址下面会用到。
配置 Github Action在[Blogroot]下新建.github文件夹。然后在里面新建workflows文件夹,再在workflows文件夹内新建 autodeploy.yml,内容如下:
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 ...</div></div></div><div class="recent-post-item" onclick="pjax.loadUrl('/posts/3idlots/')"><div class="article-meta__categories__box"><a class="article-meta__categories" href="/categories/%E4%B8%AA%E4%BA%BA%E6%96%87%E7%AB%A0/">个人文章</a><a class="unvisited-post" href="/posts/3idlots/" title="《三傻大闹宝莱坞》——被片名耽误的好片" style="
">未读</a></div><div class="post_cover left"><a href="/posts/3idlots/" title="《三傻大闹宝莱坞》——被片名耽误的好片" style="display: flex;height: 100%;"><img class="post_bg" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://cdn.bili33.top/npm/aciano-cdn@2.0.6/post/《三傻大闹宝莱坞》——被片名耽误的一部好片/cover.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="《三傻大闹宝莱坞》——被片名耽误的好片" style="pointer-events: none"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/3idlots/" title="《三傻大闹宝莱坞》——被片名耽误的好片">《三傻大闹宝莱坞》——被片名耽误的好片</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="anzhiyufont anzhiyu-icon-calendar-days" style="font-size: 15px; "></i><span class="article-meta-label">发表于</span><time datetime="2024-02-12T09:23:58.000Z" title="发表于 2024-02-12 17:23:58">2024-02-12</time></span><span class="article-meta tags"><a class="article-meta__tags" href="/tags/%E7%94%B5%E5%BD%B1/" tabindex="-1"><span> <i class="anzhiyufont anzhiyu-icon-hashtag"></i>电影</span></a></span></div><div class="content">
音乐文章的开头,先放上一首我很喜欢的电影里的插曲:《Give Me Some Sunsine》:
正文好久没有试过看完一部电影有这么强烈的欲望想要写下点什么的感觉了,这部《三傻大闹宝莱坞》虽然片名翻译不太吸引人,但实在不能被名字所误会,其中内容如果满分10分我个人愿意打9.5分。其中反映的社会问题、人际关系以及所体现的学习和人生态度都令我感触颇多。
首先作为一部喜剧,笑料及包袱的抖出自然而流畅,伏笔铺垫的回收令人赞叹,其中典型的譬如人生经验、太空钢笔、“消音器”随地小便被电、Rancho为使Raju苏醒所做出的努力、Rancho巧妙反驳教授并诱导其主动承认了自己迂腐等等。
镜头语言的设计上也很有特色,比如Raju跳楼时他的脚挂到台灯线,然后用台灯的运动代替了跳楼的场景,感觉比一跃而下震撼不少。比如利用无人机的黑白显示器拍到Joy Lobo自杀的场景,与先前众人为无人机升起的兴奋形成强烈反差。再比如每当镜头开始叙述Raju家时就转变为黑白镜头,与人物背景呼应展现出家庭贫困的窘境。这些镜头都让我印象深刻。
插曲很能反映人物心情,Joy Lobo在宿舍 ...</div></div></div><div class="recent-post-item" onclick="pjax.loadUrl('/posts/mouban/')"><div class="article-meta__categories__box"><a class="article-meta__categories" href="/categories/Hexo%E5%8D%9A%E5%AE%A2/">Hexo博客</a><a class="article-meta__categories" href="/categories/Hexo%E5%8D%9A%E5%AE%A2/%E6%8A%80%E5%B7%A7/">技巧</a><a class="unvisited-post" href="/posts/mouban/" title="提取豆瓣数据并生成Hexo足迹页面" style="
">未读</a></div><div class="post_cover left"><a href="/posts/mouban/" title="提取豆瓣数据并生成Hexo足迹页面" style="display: flex;height: 100%;"><img class="post_bg" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://cdn.bili33.top/npm/aciano-cdn@2.0.5/post/提取豆瓣数据并生成Hexo足迹页面/cover.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="提取豆瓣数据并生成Hexo足迹页面" style="pointer-events: none"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/mouban/" title="提取豆瓣数据并生成Hexo足迹页面">提取豆瓣数据并生成Hexo足迹页面</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="anzhiyufont anzhiyu-icon-calendar-days" style="font-size: 15px; "></i><span class="article-meta-label">发表于</span><time datetime="2024-02-09T10:09:11.000Z" title="发表于 2024-02-09 18:09:11">2024-02-09</time></span><span class="article-meta tags"><a class="article-meta__tags" href="/tags/Hexo/" tabindex="-1"><span> <i class="anzhiyufont anzhiyu-icon-hashtag"></i>Hexo</span></a></span></div><div class="content">唠嗑快过年了,看着自己去年一共才发布了7篇文章,比我QQ动态一年更新的数量还要少,我知道不能再鸽了,于是刚好有这么一个需求,就简简单单水一篇教程吧。
前言前段时间总觉得Hexo-douban插件实现的页面效果不合我的心意,于是上网找有没有其他展现豆瓣数据的方法,这时找到:足迹页|爱吃肉的猫,一整个屏幕占满加上大大的显示封面一下子捕获了我的心,于是照猫画虎操作一番后成功实现了原博主的效果,效果预览。
由于这个页面是本地部署,需要自行创建数据,格式如下:
可见一本书或一部电影需要填写名称、作者、封面等字段,我那总共加起来一百多条来自豆瓣上的数据一个个手动复制效率和速度也太慢了吧,同时有个问题,数据从哪来呢?从豆瓣复制吗,图片封面有防盗链,而且繁琐。
这时候发现了Hexo-douban插件的作者mythsman为插件写了个豆瓣数据提取服务mouban以供大家备份数据和使用,好了,这下路走通了。
为了解决上面提到的手动复制效率低的问题,萌生了写段python自动提取生成的想法,这篇文章应运而生。(我知道很水哎呀但是说不定能帮后来者省一点时间呢是吧,水就水点吧大家见谅不然可能今年都没新文章了 ...</div></div></div><div class="recent-post-item" onclick="pjax.loadUrl('/posts/2023-report/')"><div class="article-meta__categories__box"><a class="article-meta__categories" href="/categories/%E4%B8%AA%E4%BA%BA%E6%96%87%E7%AB%A0/">个人文章</a><a class="unvisited-post" href="/posts/2023-report/" title="2023年度总结" style="
">未读</a></div><div class="post_cover left"><a href="/posts/2023-report/" title="2023年度总结" style="display: flex;height: 100%;"><img class="post_bg" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://cdn.bili33.top/npm/aciano-cdn@2.0.1/post/2023年度总结/cover.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="2023年度总结" style="pointer-events: none"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/2023-report/" title="2023年度总结">2023年度总结</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="anzhiyufont anzhiyu-icon-calendar-days" style="font-size: 15px; "></i><span class="article-meta-label">发表于</span><time datetime="2023-12-30T04:23:58.000Z" title="发表于 2023-12-30 12:23:58">2023-12-30</time></span><span class="article-meta tags"><a class="article-meta__tags" href="/tags/%E4%B8%AA%E4%BA%BA%E6%96%87%E7%AB%A0/" tabindex="-1"><span> <i class="anzhiyufont anzhiyu-icon-hashtag"></i>个人文章</span></a></span></div><div class="content">前言时间过得可真快,眨眼间一年时光便转瞬即逝。
以前从未尝试过写关于自己的年度总结,每至年末总是习惯于打开各大App查看现成的年度报告,每次看到那日积月累起来的数据量总是会惊叹一句:原来我看过这么多视频/电影/文章……
但这些数据好像并不能很好地体现出我的个人意志,于是也就萌生了自己写篇洋洋洒洒的个人年度总结的冲动啦,仪式感还是要有的!
娱乐阅读今年共阅读了41本书,翻过了10933页的书籍,在豆瓣上写了短评82篇共1554字。
在小学乃至初中时都对阅读不太感兴趣,特别是初中12本名著看过的可谓屈指可数,主打的就是一个越是强迫要看的越是不想看。
到中考结束后那段暑假后态度发生了转变,因宅家无所事事开始重新捧起在书柜上蒙尘多年的《巴黎圣母院》,开始迷上了小说,后来慢慢把家里有的从前没读过的书都读了一遍,不够满足继续网购+泡书店不断读书,也接触了反乌托邦文学、法国文学、存在主义文学和大量的历史类书籍,由衷地体会到了阅读所带来的满足感和乐趣。
今年最喜欢的书当属奥威尔的《一九八四》,惊叹于奥威尔的想象力、洞察力与预言能力,看完之后令人不寒而栗,特别是第三部对温斯顿被折磨后的外貌及心理描写都让 ...</div></div></div><div class="recent-post-item" onclick="pjax.loadUrl('/posts/c/')"><div class="article-meta__categories__box"><a class="article-meta__categories" href="/categories/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/">学习笔记</a><a class="unvisited-post" href="/posts/c/" title="VSCode配置C/C++环境" style="
">未读</a></div><div class="post_cover left"><a href="/posts/c/" title="VSCode配置C/C++环境" style="display: flex;height: 100%;"><img class="post_bg" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://cdn.bili33.top/npm/aciano-cdn@1.0.18/post/VSCode配置CC++环境/cover.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="VSCode配置C/C++环境" style="pointer-events: none"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/c/" title="VSCode配置C/C++环境">VSCode配置C/C++环境</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="anzhiyufont anzhiyu-icon-calendar-days" style="font-size: 15px; "></i><span class="article-meta-label">发表于</span><time datetime="2023-08-07T10:23:58.000Z" title="发表于 2023-08-07 18:23:58">2023-08-07</time></span><span class="article-meta tags"><a class="article-meta__tags" href="/tags/C/" tabindex="-1"><span> <i class="anzhiyufont anzhiyu-icon-hashtag"></i>C</span></a></span></div><div class="content">安装VSCode本文不对安装VSCode展开阐述,请自行前往VSCode下载安装。
安装MinGW编译器前往MinGW下载编译器。
将页面拉至下方,参考下表选择对应版本下载并解压即可。笔者选择为x86_64-win32-seh
名称
说明
Version
最新版本
Architecture
x86_64 (64位) or i686 (32位)
Threads
posix (推荐) or win32
Exception
sjlj (32位) or seh (64位)
配置环境变量解压后,找到bin文件夹,右键复制文件夹路径,如D:\mingw64\bin
打开设置,找到系统-系统信息-高级系统设置并进入:
完成配置后打开cmd,输入gcc -v,出现如下信息时即为成功。
安装扩展在左侧菜单栏选择扩展,搜索c/c++并安装:
配置VSCode的C语言环境按下Ctrl+Shift+P,输入c/c++,选择c/c++:编辑配置(UI):
进入后找到红框对应选项,分别选g++.exe及windows-gcc-x64:
设置完成后,会出现一个c_cpp_p ...</div></div></div><nav id="pagination"><div class="pagination"><span class="page-number current">1</span><a class="page-number" href="/page/2/#content-inner">2</a><span class="space">…</span><a class="page-number" href="/page/9/#content-inner">9</a><a class="extend next" rel="next" href="/page/2/#content-inner"><div class="pagination_tips_next">下页</div><i style="font-weight: inherit; font-size: 1rem;" class="anzhiyufont anzhiyu-icon-chevron-right fa-fw"></i></a><div class="toPageGroup"><input id="toPageText" oninput="value=value.replace(/[^0-9]/g,'')" maxlength="3" onkeyup="this.value=this.value.replace(/[^u4e00-u9fa5w]/g,'')" aria-label="toPage"><a id="toPageButton" onclick="anzhiyu.toPage()"><i class="anzhiyufont anzhiyu-icon-angles-right" style="font-weight: inherit; font-size: 1rem;"></i></a></div></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="card-content"><div class="author-info__sayhi" id="author-info__sayhi" onclick="anzhiyu.changeSayHelloText()"></div><div class="author-info-avatar" title="点击展开"><img class="avatar-img" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://bu.dusays.com/2024/07/15/6694b499da8df.jpg" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/><div class="author-status"><img class="g-status" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://bu.dusays.com/2023/08/24/64e6ce9c507bb.png" ait="status"/></div></div><div class="author-info__description"><div style="line-height:1.38;margin:0.6rem 0;text-align:justify;color:rgba(255, 255, 255, 0.8);">Hi!欢迎来到我的博客,这里有我在学习过程中记录的<b style="color:#fff">笔记</b>和<b style="color:#fff">教程</b>,便于我在遗忘后重新复现,若同时能帮到你的话,那我会非常开心!</div><div style="line-height:1.38;margin:0.6rem 0;text-align:justify;color:rgba(255, 255, 255, 0.8);">如果你觉得我写的还不错,不妨留个言吧!最后祝你拥有愉快的一天!</div></div><div class="author-info__bottom-group"><a class="author-info__bottom-group-left" href="/"><h1 class="author-info__name">Aciano</h1><div class="author-info__desc">Aciano.top</div></a><div class="card-info-social-icons is-center"><a class="social-icon faa-parent animated-hover" href="https://github.com/Amnesia-f" rel="external nofollow noreferrer" target="_blank" title="Github"><i class="anzhiyufont anzhiyu-icon-github"></i></a><a class="social-icon faa-parent animated-hover" href="https://space.bilibili.com/552857266" rel="external nofollow noreferrer" target="_blank" title="BiliBili"><i class="anzhiyufont anzhiyu-icon-bilibili"></i></a><a class="social-icon faa-parent animated-hover" href="https://www.travellings.cn/go.html" rel="external nofollow noreferrer" target="_blank" title="开往-友链接力"><i class="fa-solid fa-train-subway faa-tada"></i></a></div></div></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="anzhiyufont anzhiyu-icon-bullhorn anzhiyu-shake"></i><span>公告</span></div><div class="announcement_content">博客更换了新的主题,功能和外观都已趋于完善,开始养老!(bushi)<br/>接下来是住宿的高中生活,只有周日能回家,博客会暂停维护和更新一大段时间。<br/> <br/> 2023年8月7日 <br/><br/> <img src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://cdn.bili33.top/npm/aciano-cdn@1.0.10/Yay.gif"><br/></div></div><div class="sticky_layout"><div class="card-widget"><div class="card-tags"><div class="item-headline"></div><div class="card-tag-cloud"><a href="/tags/App-Inventor/" style="font-size: 1.05rem; color: rgb(180, 61, 181);">App Inventor<sup>2</sup></a><a href="/tags/Arduino/" style="font-size: 1.05rem; color: rgb(59, 59, 60);">Arduino<sup>2</sup></a><a href="/tags/C/" style="font-size: 1.05rem; color: rgb(187, 84, 128);">C<sup>1</sup></a><a href="/tags/GitHub/" style="font-size: 1.05rem; color: rgb(194, 111, 102);">GitHub<sup>1</sup></a><a href="/tags/Hexo/" style="font-size: 1.05rem; color: rgb(175, 187, 183);">Hexo<sup>21</sup></a><a href="/tags/K210/" style="font-size: 1.05rem; color: rgb(166, 9, 163);">K210<sup>1</sup></a><a href="/tags/KMS/" style="font-size: 1.05rem; color: rgb(98, 24, 15);">KMS<sup>1</sup></a><a href="/tags/LoRa/" style="font-size: 1.05rem; color: rgb(9, 142, 139);">LoRa<sup>3</sup></a><a href="/tags/PC/" style="font-size: 1.05rem; color: rgb(62, 44, 192);">PC<sup>7</sup></a><a href="/tags/Python/" style="font-size: 1.05rem; color: rgb(38, 8, 114);">Python<sup>4</sup></a><a href="/tags/SIoT/" style="font-size: 1.05rem; color: rgb(6, 91, 199);">SIoT<sup>3</sup></a><a href="/tags/Windows/" style="font-size: 1.05rem; color: rgb(192, 11, 57);">Windows<sup>4</sup></a><a href="/tags/Yolo/" style="font-size: 1.05rem; color: rgb(48, 43, 186);">Yolo<sup>1</sup></a><a href="/tags/%E4%B8%AA%E4%BA%BA%E6%96%87%E7%AB%A0/" style="font-size: 1.05rem; color: rgb(158, 129, 188);">个人文章<sup>3</sup></a><a href="/tags/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD/" style="font-size: 1.05rem; color: rgb(35, 168, 53);">人工智能<sup>6</sup></a><a href="/tags/%E5%88%B7%E6%9C%BA/" style="font-size: 1.05rem; color: rgb(10, 192, 142);">刷机<sup>3</sup></a><a href="/tags/%E5%8D%9A%E5%AE%A2/" style="font-size: 1.05rem; color: rgb(170, 36, 48);">博客<sup>20</sup></a><a href="/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/" style="font-size: 1.05rem; color: rgb(164, 26, 130);">学习笔记<sup>12</sup></a><a href="/tags/%E6%8A%80%E5%B7%A7/" style="font-size: 1.05rem; color: rgb(60, 159, 36);">技巧<sup>1</sup></a><a href="/tags/%E6%8A%80%E6%9C%AF%E6%95%99%E7%A8%8B/" style="font-size: 1.05rem; color: rgb(59, 163, 133);">技术教程<sup>10</sup></a><a href="/tags/%E6%95%99%E7%A8%8B/" style="font-size: 1.05rem; color: rgb(182, 91, 103);">教程<sup>3</sup></a><a href="/tags/%E6%B8%B8%E6%88%8F/" style="font-size: 1.05rem; color: rgb(44, 147, 147);">游戏<sup>2</sup></a><a href="/tags/%E7%89%A9%E8%81%94%E7%BD%91/" style="font-size: 1.05rem; color: rgb(72, 91, 114);">物联网<sup>7</sup></a><a href="/tags/%E7%94%B5%E5%BD%B1/" style="font-size: 1.05rem; color: rgb(95, 24, 70);">电影<sup>1</sup></a><a href="/tags/%E7%B3%BB%E7%BB%9F%E5%A2%9E%E5%BC%BA/" style="font-size: 1.05rem; color: rgb(130, 150, 4);">系统增强<sup>1</sup></a><a href="/tags/%E8%BD%AF%E4%BB%B6%E6%BF%80%E6%B4%BB/" style="font-size: 1.05rem; color: rgb(32, 53, 148);">软件激活<sup>1</sup></a><a href="/tags/%E9%83%A8%E7%BD%B2/" style="font-size: 1.05rem; color: rgb(196, 152, 98);">部署<sup>1</sup></a><a href="/tags/%E9%98%BF%E9%87%8C%E4%BA%91/" style="font-size: 1.05rem; color: rgb(29, 154, 155);">阿里云<sup>2</sup></a></div></div><hr/><div class="card-archives"><div class="item-headline"><i class="anzhiyufont anzhiyu-icon-archive"></i><span>归档</span><a class="card-more-btn" href="/archives/" title="查看更多">
<i class="anzhiyufont anzhiyu-icon-angle-right"></i></a></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2024/09/"><span class="card-archive-list-date">九月 2024</span><div class="card-archive-list-count-group"><span class="card-archive-list-count">1</span><span>篇</span></div></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2024/07/"><span class="card-archive-list-date">七月 2024</span><div class="card-archive-list-count-group"><span class="card-archive-list-count">1</span><span>篇</span></div></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2024/05/"><span class="card-archive-list-date">五月 2024</span><div class="card-archive-list-count-group"><span class="card-archive-list-count">2</span><span>篇</span></div></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2024/03/"><span class="card-archive-list-date">三月 2024</span><div class="card-archive-list-count-group"><span class="card-archive-list-count">1</span><span>篇</span></div></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2024/02/"><span class="card-archive-list-date">二月 2024</span><div class="card-archive-list-count-group"><span class="card-archive-list-count">3</span><span>篇</span></div></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/12/"><span class="card-archive-list-date">十二月 2023</span><div class="card-archive-list-count-group"><span class="card-archive-list-count">1</span><span>篇</span></div></a></li></ul></div><hr/><div class="card-webinfo"><div class="item-headline"><i class="anzhiyufont anzhiyu-icon-chart-line"></i><span>网站资讯</span></div><div class="webinfo"><div class="webinfo-item"><div class="webinfo-item-title"><i class="anzhiyufont anzhiyu-icon-file-lines"></i><div class="item-name">文章总数 :</div></div><div class="item-count">83</div></div><div class="webinfo-item"><div class="webinfo-item-title"><i class="anzhiyufont anzhiyu-icon-stopwatch"></i><div class="item-name">建站天数 :</div></div><div class="item-count" id="runtimeshow" data-publishDate="2021-03-31T16:00:00.000Z"><i class="anzhiyufont anzhiyu-icon-spinner anzhiyu-spin"></i></div></div><div class="webinfo-item"><div class="webinfo-item-title"><i class="anzhiyufont anzhiyu-icon-font"></i><div class="item-name">全站字数 :</div></div><div class="item-count">103k</div></div><div class="webinfo-item"><div class="webinfo-item-title"><i class="anzhiyufont anzhiyu-icon-universal-access"></i><div class="item-name">总访客数 :</div></div><div class="item-count" id="busuanzi_value_site_uv"><i class="anzhiyufont anzhiyu-icon-spinner anzhiyu-spin"></i></div></div><div class="webinfo-item"><div class="webinfo-item-title"><i class="anzhiyufont anzhiyu-icon-square-poll-vertical"></i><div class="item-name">总访问量 :</div></div><div class="item-count" id="busuanzi_value_site_pv"><i class="anzhiyufont anzhiyu-icon-spinner anzhiyu-spin"></i></div></div><div class="webinfo-item"><div class="webinfo-item-title"><i class="anzhiyufont anzhiyu-icon-hourglass-start"></i><div class="item-name">最后更新 :</div></div><div class="item-count" id="last-push-date" data-lastPushDate="2024-11-16T13:57:03.840Z"><i class="anzhiyufont anzhiyu-icon-spinner anzhiyu-spin"></i></div></div></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div id="footer_deal"><a class="deal_link" href="mailto:3586454827@qq.com" rel="external nofollow noreferrer" title="Email"><i class="anzhiyufont anzhiyu-icon-envelope"></i></a><a class="deal_link" target="_blank" rel="noopener external nofollow noreferrer" href="https://music.163.com/#/user/home?id=3322170308" title="Netease"><i class="fa-solid fa-comment"></i></a><a class="deal_link" target="_blank" rel="noopener external nofollow noreferrer" href="https://twitter.com/Amnesia79047925" title="Twitter"><i class="fa-brands fa-twitter"></i></a><img class="footer_mini_logo" title="返回顶部" alt="返回顶部" onclick="anzhiyu.scrollToDest(0, 500)" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://bu.dusays.com/2024/07/15/6694b499da8df.jpg" size="50px"/><a class="deal_link" target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/Amnesia-f" title="Github"><i class="anzhiyufont anzhiyu-icon-github"></i></a><a class="deal_link" target="_blank" rel="noopener external nofollow noreferrer" href="https://space.bilibili.com/552857266" title="Bilibili"><i class="anzhiyufont anzhiyu-icon-bilibili"></i></a><a class="deal_link" href="/atom.xml" title="RSS"><i class="anzhiyufont anzhiyu-icon-rss"></i></a></div><div id="anzhiyu-footer"><div class="footer-group"><div class="footer-title">服务</div><div class="footer-links"><a class="footer-item" title="站点聚合" target="_blank" rel="noopener external nofollow noreferrer" href="https://sites.link/site-info?siteType=technology&siteId=65c0e3799b563b00a95005f8">站点聚合</a><a class="footer-item" title="个站商店" target="_blank" rel="noopener external nofollow noreferrer" href="https://storeweb.cn/site/o/2029">个站商店</a><a class="footer-item" title="十年之约" target="_blank" rel="noopener external nofollow noreferrer" href="https://www.foreverblog.cn/blog/5431.html">十年之约</a><a class="footer-item" title="BlogFinder" target="_blank" rel="noopener external nofollow noreferrer" href="https://bf.zzxworld.com/s/1027">BlogFinder</a></div></div><div class="footer-group"><div class="footer-title">鸣谢</div><div class="footer-links"><a class="footer-item" title="Vercel" target="_blank" rel="noopener external nofollow noreferrer" href="https://vercel.com/">Vercel</a><a class="footer-item" title="AnZhiYu" target="_blank" rel="noopener external nofollow noreferrer" href="https://blog.anheyu.com/">AnZhiYu</a><a class="footer-item" title="Npm" target="_blank" rel="noopener external nofollow noreferrer" href="https://www.npmjs.com/">Npm</a><a class="footer-item" title="51la统计" target="_blank" rel="noopener external nofollow noreferrer" href="https://v6.51.la/">51la统计</a></div></div><div class="footer-group"><div class="footer-title">分类</div><div class="footer-links"><a class="footer-item" title="Hexo博客" href="/categories/Hexo%E5%8D%9A%E5%AE%A2">Hexo博客</a><a class="footer-item" title="IoT物联网" href="/categories/IoT%E7%89%A9%E8%81%94%E7%BD%91">IoT物联网</a><a class="footer-item" title="技术教程" href="/categories/%E6%8A%80%E6%9C%AF%E6%95%99%E7%A8%8B">技术教程</a><a class="footer-item" title="查看全部" href="/categories/">查看全部</a></div></div><div class="footer-group"><div class="footer-title">导航</div><div class="footer-links"><a class="footer-item" title="关于我" href="/about/">关于我</a><a class="footer-item" title="即刻短文" href="/essay/">即刻短文</a><a class="footer-item" title="留言板" href="/comments/">留言板</a><a class="footer-item" title="建站历史" href="/history/">建站历史</a></div></div><div class="footer-group"><div class="footer-title">协议</div><div class="footer-links"><a class="footer-item" title="隐私协议" href="/privacy/">隐私协议</a><a class="footer-item" title="Cookies" href="/cookies/">Cookies</a><a class="footer-item" title="版权协议" href="/copyright/">版权协议</a></div></div><div class="footer-group"><div class="footer-title-group"><div class="footer-title">友链</div><a class="random-friends-btn" id="footer-random-friends-btn" href="javascript:addFriendLinksInFooter();" rel="external nofollow noreferrer" title="换一批友情链接"><i class="anzhiyufont anzhiyu-icon-arrow-rotate-right"></i></a></div><div class="footer-links" id="friend-links-in-footer"></div></div></div></div><div id="footer-bar"><div class="footer-bar-links"><div class="footer-bar-left"><div id="footer-bar-tips"><div class="copyright">©2020 - 2024 By <a class="footer-bar-link" href="/" title="Aciano" target="_blank">Aciano</a></div></div><div id="footer-type-tips"></div></div><div class="footer-bar-right"><a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener external nofollow noreferrer" title="开往-友链接力"> <img src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://www.travellings.cn/assets/w.png" alt="" style="width:auto;height:20px;">   </a> <p> </p>
<a href="https://www.foreverblog.cn/" rel="external nofollow noreferrer" target="_blank" > <img src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onerror="this.onerror=null,this.src="/img/404.jpg"" data-lazy-src="https://img.foreverblog.cn/logo_en_default.png" alt="开往-友链接力" style="width:auto;height:16px;">   </a> <p> </p><a class="footer-bar-link" target="_blank" rel="noopener external nofollow noreferrer" href="https://icp.gov.moe/?keyword=20220645" title="萌ICP备 20220645号">萌ICP备 20220645号</a><a class="footer-bar-link cc" href="/copyright" title="cc协议"><i class="anzhiyufont anzhiyu-icon-copyright-line"></i><i class="anzhiyufont anzhiyu-icon-creative-commons-by-line"></i><i class="anzhiyufont anzhiyu-icon-creative-commons-nc-line"></i><i class="anzhiyufont anzhiyu-icon-creative-commons-nd-line"></i></a></div></div></div></footer><script defer>var hasShownPopup = sessionStorage.getItem('sessionNegotiatePopupShown');
if (!hasShownPopup) {
setTimeout(() => {
anzhiyuPopupManager && anzhiyuPopupManager.enqueuePopup('协议提醒助手', '查看本站为你的个人隐私做出的努力', '/privacy', 4000);
sessionStorage.setItem('sessionNegotiatePopupShown', 'true');
}, 1000);
}
</script></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="sidebar-site-data site-data is-center"><a href="/archives/" title="archive"><div class="headline">文章</div><div class="length-num">83</div></a><a href="/tags/" title="tag"><div class="headline">标签</div><div class="length-num">28</div></a><a href="/categories/" title="category"><div class="headline">分类</div><div class="length-num">14</div></a></div><span class="sidebar-menu-item-title">功能</span><div class="sidebar-menu-item"><a class="darkmode_switchbutton menu-child" href="javascript:void(0);" rel="external nofollow noreferrer" title="显示模式"><i class="anzhiyufont anzhiyu-icon-circle-half-stroke"></i><span>显示模式</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="javascript:void(0);" rel="external nofollow noreferrer"><span> 文章</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/archives/"><i class="anzhiyufont anzhiyu-icon-box-archive faa-tada" style="font-size: 0.9em;"></i><span> 隧道</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/categories/"><i class="anzhiyufont anzhiyu-icon-shapes faa-tada" style="font-size: 0.9em;"></i><span> 分类</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/tags/"><i class="anzhiyufont anzhiyu-icon-tags faa-tada" style="font-size: 0.9em;"></i><span> 标签</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="javascript:void(0);" rel="external nofollow noreferrer"><span> 友链</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/link/"><i class="anzhiyufont anzhiyu-icon-link faa-tada" style="font-size: 0.9em;"></i><span> 友人帐</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/comments/"><i class="anzhiyufont anzhiyu-icon-envelope faa-tada" style="font-size: 0.9em;"></i><span> 留言板</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/fcircle/"><i class="anzhiyufont anzhiyu-icon-artstation faa-tada" style="font-size: 0.9em;"></i><span> 朋友圈</span></a></li><li><a class="site-page child faa-parent animated-hover" target="_blank" rel="noopener external nofollow noreferrer" href="https://www.travellings.cn/go.html"><i class="fa-solid fa-train-subway faa-tada"></i><span> 开往</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="javascript:void(0);" rel="external nofollow noreferrer"><span> 我的</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/music/?id=6647175851&server=netease"><i class="anzhiyufont anzhiyu-icon-music faa-tada" style="font-size: 0.9em;"></i><span> 音乐馆</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/equipment/"><i class="anzhiyufont anzhiyu-icon-dice-d20 faa-tada" style="font-size: 0.9em;"></i><span> 我的装备</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/collect/"><i class="fa-solid fa-bookmark faa-tada"></i><span> 人生足迹</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="javascript:void(0);" rel="external nofollow noreferrer"><span> 关于</span></a><ul class="menus_item_child"><li><a class="site-page child faa-parent animated-hover" href="/about/"><i class="anzhiyufont anzhiyu-icon-paper-plane faa-tada" style="font-size: 0.9em;"></i><span> 关于本人</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/history/"><i class="anzhiyufont anzhiyu-icon-artstation faa-tada" style="font-size: 0.9em;"></i><span> 建站史</span></a></li><li><a class="site-page child faa-parent animated-hover" href="/essay/"><i class="anzhiyufont anzhiyu-icon-lightbulb faa-tada" style="font-size: 0.9em;"></i><span> 闲言碎语</span></a></li></ul></div></div><span class="sidebar-menu-item-title">标签</span><div class="card-tags"><div class="item-headline"></div><div class="card-tag-cloud"><a href="/tags/App-Inventor/" style="font-size: 0.88rem; color: rgb(150, 198, 189);">App Inventor<sup>2</sup></a><a href="/tags/Arduino/" style="font-size: 0.88rem; color: rgb(30, 128, 128);">Arduino<sup>2</sup></a><a href="/tags/C/" style="font-size: 0.88rem; color: rgb(190, 104, 51);">C<sup>1</sup></a><a href="/tags/GitHub/" style="font-size: 0.88rem; color: rgb(170, 61, 98);">GitHub<sup>1</sup></a><a href="/tags/Hexo/" style="font-size: 0.88rem; color: rgb(29, 83, 105);">Hexo<sup>21</sup></a><a href="/tags/K210/" style="font-size: 0.88rem; color: rgb(99, 153, 58);">K210<sup>1</sup></a><a href="/tags/KMS/" style="font-size: 0.88rem; color: rgb(108, 171, 122);">KMS<sup>1</sup></a><a href="/tags/LoRa/" style="font-size: 0.88rem; color: rgb(138, 63, 108);">LoRa<sup>3</sup></a><a href="/tags/PC/" style="font-size: 0.88rem; color: rgb(174, 26, 93);">PC<sup>7</sup></a><a href="/tags/Python/" style="font-size: 0.88rem; color: rgb(108, 190, 127);">Python<sup>4</sup></a><a href="/tags/SIoT/" style="font-size: 0.88rem; color: rgb(40, 20, 123);">SIoT<sup>3</sup></a><a href="/tags/Windows/" style="font-size: 0.88rem; color: rgb(157, 49, 52);">Windows<sup>4</sup></a><a href="/tags/Yolo/" style="font-size: 0.88rem; color: rgb(80, 76, 177);">Yolo<sup>1</sup></a><a href="/tags/%E4%B8%AA%E4%BA%BA%E6%96%87%E7%AB%A0/" style="font-size: 0.88rem; color: rgb(127, 193, 151);">个人文章<sup>3</sup></a><a href="/tags/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD/" style="font-size: 0.88rem; color: rgb(138, 1, 10);">人工智能<sup>6</sup></a><a href="/tags/%E5%88%B7%E6%9C%BA/" style="font-size: 0.88rem; color: rgb(48, 171, 23);">刷机<sup>3</sup></a><a href="/tags/%E5%8D%9A%E5%AE%A2/" style="font-size: 0.88rem; color: rgb(94, 44, 154);">博客<sup>20</sup></a><a href="/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/" style="font-size: 0.88rem; color: rgb(128, 41, 171);">学习笔记<sup>12</sup></a><a href="/tags/%E6%8A%80%E5%B7%A7/" style="font-size: 0.88rem; color: rgb(100, 8, 62);">技巧<sup>1</sup></a><a href="/tags/%E6%8A%80%E6%9C%AF%E6%95%99%E7%A8%8B/" style="font-size: 0.88rem; color: rgb(120, 129, 144);">技术教程<sup>10</sup></a><a href="/tags/%E6%95%99%E7%A8%8B/" style="font-size: 0.88rem; color: rgb(59, 18, 102);">教程<sup>3</sup></a><a href="/tags/%E6%B8%B8%E6%88%8F/" style="font-size: 0.88rem; color: rgb(41, 193, 48);">游戏<sup>2</sup></a><a href="/tags/%E7%89%A9%E8%81%94%E7%BD%91/" style="font-size: 0.88rem; color: rgb(198, 129, 151);">物联网<sup>7</sup></a><a href="/tags/%E7%94%B5%E5%BD%B1/" style="font-size: 0.88rem; color: rgb(92, 114, 117);">电影<sup>1</sup></a><a href="/tags/%E7%B3%BB%E7%BB%9F%E5%A2%9E%E5%BC%BA/" style="font-size: 0.88rem; color: rgb(38, 96, 175);">系统增强<sup>1</sup></a><a href="/tags/%E8%BD%AF%E4%BB%B6%E6%BF%80%E6%B4%BB/" style="font-size: 0.88rem; color: rgb(194, 87, 33);">软件激活<sup>1</sup></a><a href="/tags/%E9%83%A8%E7%BD%B2/" style="font-size: 0.88rem; color: rgb(100, 200, 90);">部署<sup>1</sup></a><a href="/tags/%E9%98%BF%E9%87%8C%E4%BA%91/" style="font-size: 0.88rem; color: rgb(135, 61, 174);">阿里云<sup>2</sup></a></div></div><hr/></div></div><div id="rightside"><div id="rightside-config-hide"><button id="translateLink" type="button" title="简繁转换">繁</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="anzhiyufont anzhiyu-icon-circle-half-stroke"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="anzhiyufont anzhiyu-icon-arrows-left-right"></i></button></div><div id="rightside-config-show"><button id="rightside-config" type="button" title="设置"><i class="anzhiyufont anzhiyu-icon-gear"></i></button><button id="go-up" type="button" title="回到顶部"><i class="anzhiyufont anzhiyu-icon-arrow-up"></i></button></div></div><div id="nav-music"><a id="nav-music-hoverTips" onclick="anzhiyu.musicToggle()" accesskey="m">播放音乐</a><div id="console-music-bg"></div><meting-js id="6647175851" server="netease" type="playlist" mutex="true" preload="none" theme="var(--anzhiyu-main)" data-lrctype="0" order="random"></meting-js></div><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">搜索</span><span id="loading-status"></span><button class="search-close-button"><i class="anzhiyufont anzhiyu-icon-xmark"></i></button></nav><div class="is-center" id="loading-database"><i class="anzhiyufont anzhiyu-icon-spinner anzhiyu-pulse-icon"></i><span> 数据库加载中</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div><hr/><div id="local-search-results"></div></div></div><div id="search-mask"></div></div><div id="rightMenu"><div class="rightMenu-group rightMenu-small"><div class="rightMenu-item" id="menu-backward"><i class="anzhiyufont anzhiyu-icon-arrow-left"></i></div><div class="rightMenu-item" id="menu-forward"><i class="anzhiyufont anzhiyu-icon-arrow-right"></i></div><div class="rightMenu-item" id="menu-refresh"><i class="anzhiyufont anzhiyu-icon-arrow-rotate-right" style="font-size: 1rem;"></i></div><div class="rightMenu-item" id="menu-top"><i class="anzhiyufont anzhiyu-icon-arrow-up"></i></div></div><div class="rightMenu-group rightMenu-line rightMenuPlugin"><div class="rightMenu-item" id="menu-copytext"><i class="anzhiyufont anzhiyu-icon-copy"></i><span>复制选中文本</span></div><div class="rightMenu-item" id="menu-pastetext"><i class="anzhiyufont anzhiyu-icon-paste"></i><span>粘贴文本</span></div><a class="rightMenu-item" id="menu-commenttext"><i class="anzhiyufont anzhiyu-icon-comment-medical"></i><span>引用到评论</span></a><div class="rightMenu-item" id="menu-newwindow"><i class="anzhiyufont anzhiyu-icon-window-restore"></i><span>新窗口打开</span></div><div class="rightMenu-item" id="menu-copylink"><i class="anzhiyufont anzhiyu-icon-link"></i><span>复制链接地址</span></div><div class="rightMenu-item" id="menu-copyimg"><i class="anzhiyufont anzhiyu-icon-images"></i><span>复制此图片</span></div><div class="rightMenu-item" id="menu-downloadimg"><i class="anzhiyufont anzhiyu-icon-download"></i><span>下载此图片</span></div><div class="rightMenu-item" id="menu-newwindowimg"><i class="anzhiyufont anzhiyu-icon-window-restore"></i><span>新窗口打开图片</span></div><div class="rightMenu-item" id="menu-search"><i class="anzhiyufont anzhiyu-icon-magnifying-glass"></i><span>站内搜索</span></div><div class="rightMenu-item" id="menu-searchBaidu"><i class="anzhiyufont anzhiyu-icon-magnifying-glass"></i><span>百度搜索</span></div><div class="rightMenu-item" id="menu-music-toggle"><i class="anzhiyufont anzhiyu-icon-play"></i><span>播放音乐</span></div><div class="rightMenu-item" id="menu-music-back"><i class="anzhiyufont anzhiyu-icon-backward"></i><span>切换到上一首</span></div><div class="rightMenu-item" id="menu-music-forward"><i class="anzhiyufont anzhiyu-icon-forward"></i><span>切换到下一首</span></div><div class="rightMenu-item" id="menu-music-playlist" onclick="window.open("https://music.163.com/#/playlist?id=6647175851", "_blank");" style="display: none;"><i class="anzhiyufont anzhiyu-icon-radio"></i><span>查看所有歌曲</span></div><div class="rightMenu-item" id="menu-music-copyMusicName"><i class="anzhiyufont anzhiyu-icon-copy"></i><span>复制歌名</span></div></div><div class="rightMenu-group rightMenu-line rightMenuOther"><a class="rightMenu-item menu-link" id="menu-randomPost"><i class="anzhiyufont anzhiyu-icon-shuffle"></i><span>随便逛逛</span></a><a class="rightMenu-item menu-link" href="/categories/"><i class="anzhiyufont anzhiyu-icon-cube"></i><span>博客分类</span></a><a class="rightMenu-item menu-link" href="/tags/"><i class="anzhiyufont anzhiyu-icon-tags"></i><span>文章标签</span></a></div><div class="rightMenu-group rightMenu-line rightMenuOther"><a class="rightMenu-item" id="menu-copy" href="javascript:void(0);" rel="external nofollow noreferrer"><i class="anzhiyufont anzhiyu-icon-copy"></i><span>复制地址</span></a><a class="rightMenu-item" id="menu-commentBarrage" href="javascript:void(0);" rel="external nofollow noreferrer"><i class="anzhiyufont anzhiyu-icon-message"></i><span class="menu-commentBarrage-text">关闭热评</span></a><a class="rightMenu-item" id="menu-darkmode" href="javascript:void(0);" rel="external nofollow noreferrer"><i class="anzhiyufont anzhiyu-icon-circle-half-stroke"></i><span class="menu-darkmode-text">深色模式</span></a><a class="rightMenu-item" id="menu-translate" href="javascript:void(0);" rel="external nofollow noreferrer"><i class="anzhiyufont anzhiyu-icon-language"></i><span>轉為繁體</span></a></div></div><div id="rightmenu-mask"></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="https://cdn.cbd.int/@fancyapps/ui@5.0.20/dist/fancybox/fancybox.umd.js"></script><script src="https://cdn.cbd.int/instant.page@5.2.0/instantpage.js" type="module"></script><script src="https://cdn.cbd.int/vanilla-lazyload@17.8.4/dist/lazyload.iife.min.js"></script><script src="https://cdn.cbd.int/node-snackbar@0.1.16/dist/snackbar.min.js"></script><script>function panguFn () {
if (typeof pangu === 'object') pangu.autoSpacingPage()
else {
getScript('https://cdn.cbd.int/pangu@4.0.7/dist/browser/pangu.min.js')
.then(() => {
pangu.autoSpacingPage()
})
}
}
function panguInit () {
if (false){
GLOBAL_CONFIG_SITE.isPost && panguFn()
} else {
panguFn()
}
}
document.addEventListener('DOMContentLoaded', panguInit)</script><canvas id="universe"></canvas><script async src="https://npm.elemecdn.com/anzhiyu-theme-static@1.0.0/dark/dark.js"></script><script async src="/anzhiyu/random.js"></script><script src="/js/search/local-search.js"></script><div class="js-pjax"><input type="hidden" name="page-type" id="page-type" value="anzhiyu"></div><script>window.addEventListener('load', () => {
const changeContent = (content) => {
if (content === '') return content
content = content.replace(/<img.*?src="(.*?)"?[^\>]+>/ig, '[图片]') // replace image link
content = content.replace(/<a[^>]+?href=["']?([^"']+)["']?[^>]*>([^<]+)<\/a>/gi, '[链接]') // replace url
content = content.replace(/<pre><code>.*?<\/pre>/gi, '[代码]') // replace code
content = content.replace(/<[^>]+>/g,"") // remove html tag
if (content.length > 150) {
content = content.substring(0,150) + '...'
}
return content
}
const getComment = () => {
const runTwikoo = () => {
twikoo.getRecentComments({
envId: 'https://twikoo.aciano.top/',
region: '',
pageSize: 6,
includeReply: true
}).then(function (res) {
const twikooArray = res.map(e => {
return {
'content': changeContent(e.comment),
'avatar': e.avatar,
'nick': e.nick,
'url': e.url + '#' + e.id,
'date': new Date(e.created).toISOString()
}
})
saveToLocal.set('twikoo-newest-comments', JSON.stringify(twikooArray), 10/(60*24))
generateHtml(twikooArray)
}).catch(function (err) {
const $dom = document.querySelector('#card-newest-comments .aside-list')
$dom.textContent= "无法获取评论,请确认相关配置是否正确"
})
}
if (typeof twikoo === 'object') {
runTwikoo()
} else {
getScript('https://cdn.cbd.int/twikoo@1.6.17/dist/twikoo.all.min.js').then(runTwikoo)
}
}
const generateHtml = array => {
let result = ''
if (array.length) {
for (let i = 0; i < array.length; i++) {
result += '<div class=\'aside-list-item\'>'
if (true) {
const name = 'data-lazy-src'
result += `<a href='${array[i].url}' class='thumbnail'><img ${name}='${array[i].avatar}' alt='${array[i].nick}'><div class='name'><span>${array[i].nick} </span></div></a>`
}
result += `<div class='content'>
<a class='comment' href='${array[i].url}' title='${array[i].content}'>${array[i].content}</a>
<time datetime="${array[i].date}">${anzhiyu.diffDate(array[i].date, true)}</time></div>
</div>`
}
} else {
result += '没有评论'
}
let $dom = document.querySelector('#card-newest-comments .aside-list')
$dom.innerHTML= result
window.lazyLoadInstance && window.lazyLoadInstance.update()
window.pjax && window.pjax.refresh($dom)
}
const newestCommentInit = () => {
if (document.querySelector('#card-newest-comments .aside-list')) {
const data = saveToLocal.get('twikoo-newest-comments')
if (data) {
generateHtml(JSON.parse(data))
} else {
getComment()
}
}
}
newestCommentInit()
document.addEventListener('pjax:complete', newestCommentInit)
})</script><script async data-pjax src="https://npm.elemecdn.com/anzhiyu-theme-static@1.0.1/bubble/bubble.js"></script><script>var visitorMail = "visitor@aciano.top";</script><script async data-pjax src="https://cdn.cbd.int/anzhiyu-theme-static@1.0.0/waterfall/waterfall.js"></script><script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/qrcodejs/1.0.0/qrcode.min.js"></script><script src="/js/anzhiyu/right_click_menu.js"></script><link rel="stylesheet" href="https://cdn.cbd.int/anzhiyu-theme-static@1.1.9/icon/ali_iconfont_css.css"><script src="https://cdn.bili33.top/npm/aciano-cdn@1.0.10/js/smooth-scrolling.js"></script><link rel="stylesheet" href="https://cdn.cbd.int/anzhiyu-theme-static@1.0.0/aplayer/APlayer.min.css" media="print" onload="this.media='all'"><script src="https://cdn.cbd.int/anzhiyu-blog-static@1.0.1/js/APlayer.min.js"></script><script src="https://cdn.cbd.int/hexo-anzhiyu-music@1.0.1/assets/js/Meting2.min.js"></script><script src="https://cdn.cbd.int/pjax@0.2.8/pjax.min.js"></script><script>let pjaxSelectors = ["meta[property=\"og:image\"]","meta[property=\"og:title\"]","meta[property=\"og:url\"]","meta[property=\"og:type\"]","meta[property=\"og:site_name\"]","meta[property=\"og:description\"]","head > title","#config-diff","#body-wrap","#rightside-config-hide","#rightside-config-show",".js-pjax"]
var pjax = new Pjax({
elements: 'a:not([target="_blank"]):not([href="/link/"])',
selectors: pjaxSelectors,
cacheBust: false,
analytics: false,
scrollRestoration: false
})
document.addEventListener('pjax:send', function () {
// removeEventListener scroll
anzhiyu.removeGlobalFnEvent('pjax')
anzhiyu.removeGlobalFnEvent('themeChange')
document.getElementById('rightside').classList.remove('rightside-show')
if (window.aplayers) {
for (let i = 0; i < window.aplayers.length; i++) {
if (!window.aplayers[i].options.fixed) {
window.aplayers[i].destroy()
}
}
}
typeof typed === 'object' && typed.destroy()
//reset readmode
const $bodyClassList = document.body.classList
$bodyClassList.contains('read-mode') && $bodyClassList.remove('read-mode')
})
document.addEventListener('pjax:complete', function () {
window.refreshFn()
document.querySelectorAll('script[data-pjax]').forEach(item => {
const newScript = document.createElement('script')
const content = item.text || item.textContent || item.innerHTML || ""
Array.from(item.attributes).forEach(attr => newScript.setAttribute(attr.name, attr.value))
newScript.appendChild(document.createTextNode(content))
item.parentNode.replaceChild(newScript, item)
})
GLOBAL_CONFIG.islazyload && window.lazyLoadInstance.update()
typeof chatBtnFn === 'function' && chatBtnFn()
typeof panguInit === 'function' && panguInit()
// google analytics
typeof gtag === 'function' && gtag('config', '', {'page_path': window.location.pathname});
// baidu analytics
typeof _hmt === 'object' && _hmt.push(['_trackPageview',window.location.pathname]);
typeof loadMeting === 'function' && document.getElementsByClassName('aplayer').length && loadMeting()
// prismjs
typeof Prism === 'object' && Prism.highlightAll()
})
document.addEventListener('pjax:error', e => {
if (e.request.status === 404) {
pjax.loadUrl('/404.html')
}
})</script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><script charset="UTF-8" src="https://cdn.cbd.int/anzhiyu-theme-static@1.1.5/accesskey/accesskey.js"></script><div id="greetingBox"></div></div><div id="popup-window"><div class="popup-window-title">通知</div><div class="popup-window-divider"></div><div class="popup-window-content"><div class="popup-tip">你好呀</div><div class="popup-link"><i class="anzhiyufont anzhiyu-icon-arrow-circle-right"></i></div></div></div><script async>window.onload=function(){var a=document.createElement('script'),b=document.getElementsByTagName('script')[0];a.type='text/javascript',a.async=!0,a.src='/sw-register.js?v='+Date.now(),b.parentNode.insertBefore(a,b)};</script></body></html>