-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
775 lines (521 loc) · 26.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
<!DOCTYPE html>
<html class="has-navbar-fixed-top">
<head>
<!-- hexo-inject:begin --><!-- hexo-inject:end --><meta charset="utf-8">
<title>绯色的魔法世界</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/outdated-browser/1.1.5/outdatedbrowser.min.css">
<meta name="description" content="">
<meta property="og:type" content="website">
<meta property="og:title" content="绯色的魔法世界">
<meta property="og:url" content="http://blackredscarf.github.io/index.html">
<meta property="og:site_name" content="绯色的魔法世界">
<meta property="og:locale" content="en">
<meta name="twitter:card" content="summary">
<link rel="icon" href="https://s1.ax1x.com/2020/07/25/aSC9Cn.png">
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Ovo|Source+Code+Pro">
<link rel="stylesheet" href="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/bulma/0.6.2/css/bulma.min.css">
<link rel="stylesheet" href="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/lightgallery/1.6.8/css/lightgallery.min.css">
<link rel="stylesheet" href="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/justifiedGallery/3.6.5/css/justifiedGallery.min.css">
<link rel="stylesheet" href="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/highlight.js/10.1.1/styles/atom-one-light.min.css">
<link rel="stylesheet" href="/css/style.css">
<script defer src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/font-awesome/5.14.0/js/all.min.js"></script><!-- hexo-inject:begin --><!-- hexo-inject:end -->
</head>
<body>
<!-- hexo-inject:begin --><!-- hexo-inject:end --><nav class="navbar is-transparent is-fixed-top navbar-main" role="navigation" aria-label="main navigation">
<div class="top-title-line">
<div class="top-title">
<a href="/"><span>绯色的魔法世界</span></a>
</div>
</div>
<div class="nav-tool-line">
<div class="nav-tool">
<a class="navbar-item search" title="Search" href="javascript:;" target="_blank" rel="noopener">
<i class="fas fa-search"></i>
</a>
<a class="navbar-item" title="GitHub" href="https://github.com/blackredscarf" target="_blank" rel="noopener">
<i class="fab fa-github"></i>
</a>
</div>
</div>
<div class="container">
<div class="navbar-brand">
<!-- <a class="navbar-item navbar-logo" href="/">
<img src="/images/logo.png" alt="" height="28">
</a> -->
<div class="navbar-burger">
<span></span>
<span></span>
<span></span>
</div>
</div>
<div class="navbar-menu navbar-start">
<a class="navbar-item "
href="/">Home</a>
<a class="navbar-item "
href="/archives">归档</a>
<a class="navbar-item "
href="/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91">游戏开发</a>
<a class="navbar-item "
href="/categories/%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F">操作系统</a>
<a class="navbar-item "
href="/categories/%E5%88%86%E5%B8%83%E5%BC%8F">分布式</a>
<a class="navbar-item "
href="/categories/%E7%AE%97%E6%B3%95%E8%AE%BE%E8%AE%A1">算法设计</a>
<a class="navbar-item "
href="/categories/%E9%9A%8F%E8%AE%B0">随记</a>
<a class="navbar-item "
href="/categories/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0">机器学习</a>
</div>
</div>
</nav>
<section class="section">
<div class="container">
<div class="article-cover">
<img class="article-cover-img" src="https://s21.ax1x.com/2024/08/23/pAFmmAe.jpg">
</div>
<article class="article content gallery" itemscope itemprop="blogPost">
<h1 class="article-title is-size-3 is-size-4-mobile" itemprop="name">
<a href="/post/btree/" itemprop="url">Unreal BehaviorTree 源码分析</a>
</h1>
<div class="article-meta columns is-variable is-1 is-multiline is-mobile is-size-7-mobile">
<span class="column is-narrow">
2024-08-23
<!-- <time datetime="2024-08-22T16:00:00.000Z" itemprop="datePublished">Aug 23 2024</time> -->
</span>
<span class="column is-narrow article-category">
<i class="far fa-folder"></i>
<a class="article-category-link" href="/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/">游戏开发</a><span>,</span><a class="article-category-link" href="/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/Unreal/">Unreal</a>
</span>
<!-- -->
</div>
<div class="article-entry is-size-6-mobile" itemprop="articleBody">
<p>虚幻引擎的行为树不同于传统行为树,它新增了Decorator和Service两个功能组件,而且不再是每次都从根节点开始Tick。要搞懂它们内在执行逻辑需要从源码入手,从开始执行到搜索节点,再到各种节点的声明周期回调。</p>
<p class="article-more-link">
<a href="/post/btree/#more">Read More</a>
</p>
</div>
<!-- -->
</article>
<div class="article-cover">
<img class="article-cover-img" src="https://s21.ax1x.com/2024/08/14/pA9MvZD.jpg">
</div>
<article class="article content gallery" itemscope itemprop="blogPost">
<h1 class="article-title is-size-3 is-size-4-mobile" itemprop="name">
<a href="/post/GAS-GE/" itemprop="url">Unreal GameplayEffect 源码分析</a>
</h1>
<div class="article-meta columns is-variable is-1 is-multiline is-mobile is-size-7-mobile">
<span class="column is-narrow">
2024-08-14
<!-- <time datetime="2024-08-13T16:00:00.000Z" itemprop="datePublished">Aug 14 2024</time> -->
</span>
<span class="column is-narrow article-category">
<i class="far fa-folder"></i>
<a class="article-category-link" href="/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/">游戏开发</a><span>,</span><a class="article-category-link" href="/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/Unreal/">Unreal</a>
</span>
<!-- -->
</div>
<div class="article-entry is-size-6-mobile" itemprop="articleBody">
<p>GameplayEffect是GAS框架修改Tag和属性的关键工具。了解其工作原理能帮助我们更好的理解各个配置的功能与依赖关系,并且方便我们对其进行扩展。</p>
<p class="article-more-link">
<a href="/post/GAS-GE/#more">Read More</a>
</p>
</div>
<!-- -->
</article>
<div class="article-cover">
<img class="article-cover-img" src="https://s4.ax1x.com/2021/12/22/T3iOLd.jpg">
</div>
<article class="article content gallery" itemscope itemprop="blogPost">
<h1 class="article-title is-size-3 is-size-4-mobile" itemprop="name">
<a href="/post/k8s-client-go/" itemprop="url">Kubernetes Client-go 源码解析</a>
</h1>
<div class="article-meta columns is-variable is-1 is-multiline is-mobile is-size-7-mobile">
<span class="column is-narrow">
2021-12-22
<!-- <time datetime="2021-12-21T16:00:00.000Z" itemprop="datePublished">Dec 22 2021</time> -->
</span>
<span class="column is-narrow article-category">
<i class="far fa-folder"></i>
<a class="article-category-link" href="/categories/Kubernetes/">Kubernetes</a>
</span>
<!-- -->
</div>
<div class="article-entry is-size-6-mobile" itemprop="articleBody">
<p>Client-go是认识Kubernetes开发接口的良好载体,理解Client-go的运行机制有助于理解Kubernetes的运行机制。其本身的设计模式和理念也值得学习和借鉴。</p>
<p class="article-more-link">
<a href="/post/k8s-client-go/#more">Read More</a>
</p>
</div>
<!-- -->
</article>
<div class="article-cover">
<img class="article-cover-img" src="https://z3.ax1x.com/2021/09/20/4Geya6.jpg">
</div>
<article class="article content gallery" itemscope itemprop="blogPost">
<h1 class="article-title is-size-3 is-size-4-mobile" itemprop="name">
<a href="/post/flannel/" itemprop="url">Flannel网络虚拟化探究</a>
</h1>
<div class="article-meta columns is-variable is-1 is-multiline is-mobile is-size-7-mobile">
<span class="column is-narrow">
2021-09-20
<!-- <time datetime="2021-09-19T16:00:00.000Z" itemprop="datePublished">Sep 20 2021</time> -->
</span>
<span class="column is-narrow article-category">
<i class="far fa-folder"></i>
<a class="article-category-link" href="/categories/%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F/">操作系统</a>
</span>
<!-- -->
</div>
<div class="article-entry is-size-6-mobile" itemprop="articleBody">
<p>Flannel作为容器和Kubernetes网络虚拟化插件,为多机集群的容器间通信提供了支持,目前有3种后端类型。这里我先简单分析Docker和Kubernetes的网络通信原理和问题,然后再分析Flannel的解决方案。</p>
<p class="article-more-link">
<a href="/post/flannel/#more">Read More</a>
</p>
</div>
<!-- -->
</article>
<div class="article-cover">
<img class="article-cover-img" src="https://z3.ax1x.com/2021/06/12/258YUf.jpg">
</div>
<article class="article content gallery" itemscope itemprop="blogPost">
<h1 class="article-title is-size-3 is-size-4-mobile" itemprop="name">
<a href="/post/net/" itemprop="url">操作系统网络概述</a>
</h1>
<div class="article-meta columns is-variable is-1 is-multiline is-mobile is-size-7-mobile">
<span class="column is-narrow">
2021-06-12
<!-- <time datetime="2021-06-11T16:00:00.000Z" itemprop="datePublished">Jun 12 2021</time> -->
</span>
<span class="column is-narrow article-category">
<i class="far fa-folder"></i>
<a class="article-category-link" href="/categories/%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F/">操作系统</a>
</span>
<!-- -->
</div>
<div class="article-entry is-size-6-mobile" itemprop="articleBody">
<p>这里主要讲讲操作系统底层网络模块的一些概念和工作流程,了解数据在操作系统层面如何传输和转换,以及虚拟网络的构造和原理。</p>
<p class="article-more-link">
<a href="/post/net/#more">Read More</a>
</p>
</div>
<!-- -->
</article>
<div class="article-cover">
<img class="article-cover-img" src="https://z3.ax1x.com/2021/09/01/hBjIuF.jpg">
</div>
<article class="article content gallery" itemscope itemprop="blogPost">
<h1 class="article-title is-size-3 is-size-4-mobile" itemprop="name">
<a href="/post/file/" itemprop="url">现代文件系统实现简述</a>
</h1>
<div class="article-meta columns is-variable is-1 is-multiline is-mobile is-size-7-mobile">
<span class="column is-narrow">
2021-04-11
<!-- <time datetime="2021-04-10T16:00:00.000Z" itemprop="datePublished">Apr 11 2021</time> -->
</span>
<span class="column is-narrow article-category">
<i class="far fa-folder"></i>
<a class="article-category-link" href="/categories/%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F/">操作系统</a>
</span>
<!-- -->
</div>
<div class="article-entry is-size-6-mobile" itemprop="articleBody">
<p>文件是磁盘信息的抽象概念,使用户不用了解实际磁盘工作方式等细节,而文件系统则是对文件在磁盘上的存储进行规范,同时为用户访问文件提供接口。这里主要描述文件系统的一些概念,工作原理和实现方法。</p>
<p class="article-more-link">
<a href="/post/file/#more">Read More</a>
</p>
</div>
<!-- -->
</article>
<div class="article-cover">
<img class="article-cover-img" src="https://s3.ax1x.com/2021/03/02/6kgTW4.jpg">
</div>
<article class="article content gallery" itemscope itemprop="blogPost">
<h1 class="article-title is-size-3 is-size-4-mobile" itemprop="name">
<a href="/post/snappy/" itemprop="url">压缩算法Snappy原理</a>
</h1>
<div class="article-meta columns is-variable is-1 is-multiline is-mobile is-size-7-mobile">
<span class="column is-narrow">
2021-03-02
<!-- <time datetime="2021-03-01T16:00:00.000Z" itemprop="datePublished">Mar 2 2021</time> -->
</span>
<span class="column is-narrow article-category">
<i class="far fa-folder"></i>
<a class="article-category-link" href="/categories/%E7%AE%97%E6%B3%95%E8%AE%BE%E8%AE%A1/">算法设计</a>
</span>
<!-- -->
</div>
<div class="article-entry is-size-6-mobile" itemprop="articleBody">
<p>snappy是google开源的压缩算法实现,通过测试表明snappy拥有极高的性能表现,但google并没有发表相关论文,可以认为snappy是一个工业算法。snappy借鉴了LZ77的思路,LZ77的匹配过程时间复杂度过高,google对其做了许多优化。在讲snappy之前,我先简单说明LZ77的基本思想。</p>
<p class="article-more-link">
<a href="/post/snappy/#more">Read More</a>
</p>
</div>
<!-- -->
</article>
<div class="article-cover">
<img class="article-cover-img" src="https://s3.ax1x.com/2021/01/03/s9Kr24.jpg">
</div>
<article class="article content gallery" itemscope itemprop="blogPost">
<h1 class="article-title is-size-3 is-size-4-mobile" itemprop="name">
<a href="/post/einstein/" itemprop="url">《爱因斯坦传》读后随记</a>
</h1>
<div class="article-meta columns is-variable is-1 is-multiline is-mobile is-size-7-mobile">
<span class="column is-narrow">
2020-12-26
<!-- <time datetime="2020-12-25T16:00:00.000Z" itemprop="datePublished">Dec 26 2020</time> -->
</span>
<span class="column is-narrow article-category">
<i class="far fa-folder"></i>
<a class="article-category-link" href="/categories/%E9%9A%8F%E8%AE%B0/">随记</a>
</span>
<!-- -->
</div>
<div class="article-entry is-size-6-mobile" itemprop="articleBody">
<p>由艾萨克森撰写的《爱因斯坦传》脱胎于爱因斯坦文稿计划,取材于爱因斯坦及其家族生前的文稿信件,是目前最权威真实的爱因斯坦传记。他是20世纪最伟大的科学家之一,推翻牛顿力学的变革者,直面量子论的坚守者,原子弹的提倡者和扼制者。宇宙万物,小到尘埃,大至恒星皆运转在他的理论之下。这位伟人的传奇一生宛若画卷一般徐徐展开,不知觉中看得热泪盈眶。</p>
<p class="article-more-link">
<a href="/post/einstein/#more">Read More</a>
</p>
</div>
<!-- -->
</article>
<div class="article-cover">
<img class="article-cover-img" src="https://z3.ax1x.com/2021/09/01/hBvmDg.jpg">
</div>
<article class="article content gallery" itemscope itemprop="blogPost">
<h1 class="article-title is-size-3 is-size-4-mobile" itemprop="name">
<a href="/post/conv-bp/" itemprop="url">卷积网络的反向传播推导</a>
</h1>
<div class="article-meta columns is-variable is-1 is-multiline is-mobile is-size-7-mobile">
<span class="column is-narrow">
2020-12-15
<!-- <time datetime="2020-12-14T16:00:00.000Z" itemprop="datePublished">Dec 15 2020</time> -->
</span>
<span class="column is-narrow article-category">
<i class="far fa-folder"></i>
<a class="article-category-link" href="/categories/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/">机器学习</a>
</span>
<!-- -->
</div>
<div class="article-entry is-size-6-mobile" itemprop="articleBody">
<p>以前写的一篇文章,补个档。本文主要推导了一下卷积神经网络的反向传播过程。</p>
<p class="article-more-link">
<a href="/post/conv-bp/#more">Read More</a>
</p>
</div>
<!-- -->
</article>
<div class="article-cover">
<img class="article-cover-img" src="https://z3.ax1x.com/2021/09/01/hBv6KO.jpg">
</div>
<article class="article content gallery" itemscope itemprop="blogPost">
<h1 class="article-title is-size-3 is-size-4-mobile" itemprop="name">
<a href="/post/bloom-filter/" itemprop="url">布隆过滤器</a>
</h1>
<div class="article-meta columns is-variable is-1 is-multiline is-mobile is-size-7-mobile">
<span class="column is-narrow">
2020-11-24
<!-- <time datetime="2020-11-23T16:00:00.000Z" itemprop="datePublished">Nov 24 2020</time> -->
</span>
<span class="column is-narrow article-category">
<i class="far fa-folder"></i>
<a class="article-category-link" href="/categories/%E7%AE%97%E6%B3%95%E8%AE%BE%E8%AE%A1/">算法设计</a>
</span>
<!-- -->
</div>
<div class="article-entry is-size-6-mobile" itemprop="articleBody">
<p>布隆过滤器是一种空间高效的数据结构,用于判断一个元素是否位于集合中,但空间高效是有代价的。它基本实现方式是把元素计算成一个小序列存到数据结构中,多个序列有一定几率会在数据结构中重叠,所以有一定几率会判断错误,而且数据转换成序列后是不可逆的。所以,该数据结构一般用于容错高的场景,作为一个额外的数据结构来判断元素是否在集合中。</p>
<p class="article-more-link">
<a href="/post/bloom-filter/#more">Read More</a>
</p>
</div>
<!-- -->
</article>
<nav class="pagination is-centered is-rounded" role="navigation" aria-label="pagination">
<div class="pagination-previous is-invisible is-hidden-mobile">
<a href="/page/0/">Prev</a>
</div>
<div class="pagination-next">
<a href="/page/2/">Next</a>
</div>
<ul class="pagination-list is-hidden-mobile">
<li><a class="pagination-link is-current" href="/">1</a></li>
<li><a class="pagination-link" href="/page/2/">2</a></li>
<li><a class="pagination-link" href="/page/3/">3</a></li>
</ul>
</nav>
</div>
</section>
<footer class="footer">
<div class="container">
<div class="columns content">
<div class="column is-narrow has-text-centered">
© 2024 Black Redscarf
Powered by <a href="http://hexo.io/" target="_blank">Hexo</a> & <a
href="http://github.com/ppoffice/hexo-theme-minos">Minos</a>
</div>
<div class="column is-hidden-mobile"></div>
<div class="column is-narrow">
<div class="columns is-mobile is-multiline is-centered">
<a class="column is-narrow has-text-black" title="GitHub" href="https://github.com/blackredscarf" target="_blank" rel="noopener">
GitHub
</a>
</div>
</div>
</div>
</div>
</footer>
<script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery/3.3.1/jquery.min.js"></script>
<script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/moment.js/2.22.2/moment-with-locales.min.js"></script>
<!-- test if the browser is outdated -->
<div id="outdated">
<h6>Your browser is out-of-date!</h6>
<p>Update your browser to view this website correctly. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/" target="_blank" rel="noopener">Update my browser now </a></p>
<p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Close">×</a></p>
</div>
<script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/outdated-browser/1.1.5/outdatedbrowser.min.css"></script>
<script>
$(document).ready(function () {
// plugin function, place inside DOM ready function
outdatedBrowser({
bgColor: '#f25648',
color: '#ffffff',
lowerThan: 'flex'
})
});
</script>
<script>
window.FontAwesomeConfig = {
searchPseudoElements: true
}
moment.locale("en-AU");
</script>
<script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/mathjax/2.7.4/MathJax.js?config=TeX-MML-AM_CHTML"></script>
<script>
MathJax.Hub.Config({
"HTML-CSS": {
matchFontHeight: false
},
SVG: {
matchFontHeight: false
},
CommonHTML: {
matchFontHeight: false
},
tex2jax: {
inlineMath: [ ['$','$'],['\\(','\\)'] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
processEscapes: false
}
});
</script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css" integrity="sha384-9eLZqc9ds8eNjO3TmqPeYcDj8n+Qfa4nuSiGYa6DjLNcv9BtN69ZIulL9+8CqC9Y" crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js" integrity="sha384-K3vbOmF2BtaVai+Qk37uypf7VrgBubhQreNQe9aGsz9lB63dIFiQVlJbr92dw2Lx" crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/auto-render.min.js" integrity="sha384-kmZOZB5ObwgQnS/DuDg6TScgOiWWBiVt0plIRkZCmE6rDZGrEOQeHM5PcHi+nyqe" crossorigin="anonymous"
onload="renderMathInElement(document.body);"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
renderMathInElement(document.body, {
// ...options...
});
});
</script>
<script src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/lightgallery/1.6.8/js/lightgallery-all.min.js"></script>
<script src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/justifiedGallery/3.8.1/jsjustifiedGallery.min.js/jquery."></script>
<script>
(function ($) {
$(document).ready(function () {
if (typeof($.fn.lightGallery) === 'function') {
$('.article.gallery').lightGallery({ selector: '.gallery-item' });
}
if (typeof($.fn.justifiedGallery) === 'function') {
$('.justified-gallery').justifiedGallery();
}
});
})(jQuery);
</script>
<script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/clipboard.js/2.0.0/clipboard.min.js"></script>
<style>
.hljs {
position: relative;
}
.hljs .clipboard-btn {
float: right;
color: #9a9a9a;
background: none;
border: none;
cursor: pointer;
}
.hljs .clipboard-btn:hover {
color: #8a8a8a;
}
.hljs > .clipboard-btn {
display: none;
position: absolute;
right: 4px;
top: 4px;
}
.hljs:hover > .clipboard-btn {
display: inline;
}
.hljs > figcaption > .clipboard-btn {
margin-right: 4px;
}
</style>
<script>
$(document).ready(function () {
$('figure.hljs').each(function(i, figure) {
var codeId = 'code-' + i;
var code = figure.querySelector('.code');
var copyButton = $('<button>Copy <i class="far fa-clipboard"></i></button>');
code.id = codeId;
copyButton.addClass('clipboard-btn');
copyButton.attr('data-clipboard-target-id', codeId);
var figcaption = figure.querySelector('figcaption');
if (figcaption) {
figcaption.append(copyButton[0]);
} else {
figure.prepend(copyButton[0]);
}
})
var clipboard = new ClipboardJS('.clipboard-btn', {
target: function(trigger) {
return document.getElementById(trigger.getAttribute('data-clipboard-target-id'));
}
});
clipboard.on('success', function(e) {
e.clearSelection();
})
})
</script>
<script src="/js/script.js"></script>
<div class="searchbox ins-search">
<div class="searchbox-mask"></div>
<div class="searchbox-container ins-search-container">
<div class="searchbox-input-wrapper">
<input type="text" class="searchbox-input ins-search-input" placeholder="Type something..." />
<span class="searchbox-close ins-close ins-selectable"><i class="fa fa-times-circle"></i></span>
</div>
<div class="searchbox-result-wrapper ins-section-wrapper">
<div class="ins-section-container"></div>
</div>
</div>
</div>
<script>
(function (window) {
var INSIGHT_CONFIG = {
TRANSLATION: {
POSTS: 'Posts',
PAGES: 'Pages',
CATEGORIES: 'Categories',
TAGS: 'Tags',
UNTITLED: '(Untitled)',
},
CONTENT_URL: '/content.json',
};
window.INSIGHT_CONFIG = INSIGHT_CONFIG;
})(window);
</script>
<script src="/js/insight.js"></script><!-- hexo-inject:begin --><!-- hexo-inject:end -->
</body>
</html>