-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
560 lines (365 loc) · 18.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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Ezreal BLOG</title>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="google" content="notranslate" />
<meta name="author" content="Ezreal">
<link rel="icon" href="/images/icons/blog.png" type="image/png" sizes="16x16">
<link rel="icon" href="/images/icons/blog.png" type="image/png" sizes="32x32">
<link rel="apple-touch-icon" href="/images/icons/blog.png" sizes="180x180">
<meta rel="mask-icon" href="/images/icons/blog.svg" color="#333333">
<meta rel="msapplication-TileImage" content="/images/icons/blog.png">
<meta rel="msapplication-TileColor" content="#000000">
<link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_1445822_h1619vhl1nr.css">
<link rel="stylesheet" href="https://cdn.bootcss.com/fancybox/3.5.7/jquery.fancybox.min.css">
<link rel="stylesheet" href="https://cdn.bootcss.com/highlight.js/9.18.1/styles/xcode.min.css">
<script>
var CONFIG = window.CONFIG || {};
var ZHAOO = window.ZHAOO || {};
CONFIG = {
isHome: true,
fancybox: true,
pjax: false,
lazyload: {
enable: true,
loadingImage: '',
},
donate: {
enable: true,
alipay: 'https://i.bmp.ovh/imgs/2020/10/f04107984947c701.png',
wechat: 'https://i.bmp.ovh/imgs/2020/10/c946a2c24fbc9cc9.png'
},
motto: {
api: '',
default: '真正的大师,永远都怀着一颗学徒的心。'
},
galleries: {
enable: true
},
fab: {
enable: true,
alwaysShow: false
},
carrier: {
enable: true
},
daovoice: {
enable: true
}
}
</script>
<meta name="generator" content="Hexo 5.2.0"></head>
<body class="lock-screen">
<div class="loading"></div>
<nav class="menu">
<div class="menu-wrap">
<div class="menu-close">
<i class="iconfont iconbaseline-close-px"></i>
</div>
<ul class="menu-content">
<li class="menu-item"><a href="/ " class="underline"> 首页</a></li>
<li class="menu-item"><a href="/archives " class="underline"> 归档</a></li>
<li class="menu-item"><a href="/tags " class="underline"> 标签</a></li>
<li class="menu-item"><a href="/categories " class="underline"> 分类</a></li>
<li class="menu-item"><a href="/about " class="underline"> 关于</a></li>
</ul>
<div class="menu-copyright"><p>前端小白 <a target="_blank" href="https://ezreal09.github.io/">Ezreal</a> | github - <a target="_blank" href="https://github.com/Ezreal09">地址</a></p></div>
</div>
</nav>
<main id="main">
<div class="preview">
<nav class="navbar j-navbar-menu">
<i class="iconfont iconmenu"></i>
</nav>
<div class="preview-image">
<h2 class="preview-motto" id="motto"></h2>
<!-- <span class="preview-cursor">|</span> -->
<div class="preview-overlay">
<svg class="preview-waves" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto">
<defs>
<path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z" />
</defs>
<g class="preview-parallax">
<use xlink:href="#gentle-wave" x="48" y="0" fill="rgba(255,255,255,0.7" />
<use xlink:href="#gentle-wave" x="48" y="3" fill="rgba(255,255,255,0.5)" />
<use xlink:href="#gentle-wave" x="48" y="5" fill="rgba(255,255,255,0.3)" />
<use xlink:href="#gentle-wave" x="48" y="7" fill="#fff" />
</g>
</svg>
</div>
</div>
<div class="preview-scroll">
<a href="#container" class="smooth-scroll"><i class="iconfont iconMouse"></i></a>
</div>
</div>
<div class="container" id="container">
<section class="row post">
<div class="col-lg-4 col-md-6 col-sm-12 post-item">
<div class="post-wrap">
<a href="/2021/04/16/js/%E6%A8%A1%E5%9D%97%E5%8C%96%E6%9C%BA%E5%88%B6%E6%80%BB%E7%BB%93/" class="post-image">
<img class="lazyload" data-original="/images/logo/js.png" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==" draggable="false">
</a>
<div class="post-content">
<h3 class="post-title"><a href="/2021/04/16/js/%E6%A8%A1%E5%9D%97%E5%8C%96%E6%9C%BA%E5%88%B6%E6%80%BB%E7%BB%93/">模块化机制总结</a></h3>
<div class="post-excerpt">
<p class="substr-3">1.CommonJSCommonJS规范规定,每个模块内部,module变量代表当前模块。这个变量是一个对象,它的exports属性(即module.exports)是对外的接口。加载某个模块,...</p>
</div>
<div class="post-info">
<span class="post-info-item"><i class="iconfont iconcalendar"></i>四月 16, 2021</span
class="post-info-item">
<span class="post-info-item"><i class="iconfont iconfont-size"></i>2346</span>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 post-item">
<div class="post-wrap">
<a href="/2021/01/25/koa%E6%BA%90%E7%A0%81%E8%AE%B0%E5%BD%95%E7%AC%94%E8%AE%B0/" class="post-image">
<img class="lazyload" data-original="/images/logo/nodejs.jpeg" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==" draggable="false">
</a>
<div class="post-content">
<h3 class="post-title"><a href="/2021/01/25/koa%E6%BA%90%E7%A0%81%E8%AE%B0%E5%BD%95%E7%AC%94%E8%AE%B0/">koa源码学习记录</a></h3>
<div class="post-excerpt">
<p class="substr-3">koa 源码设计的巧妙而又短小精悍,学习 koa 源码能够理解 koa 的设计思想,而又不会像学习其他框架源码一样过于庞大的代码让人头晕目眩。
洋葱模型koa 洋葱模型主要依赖 koa-comp...</p>
</div>
<div class="post-info">
<span class="post-info-item"><i class="iconfont iconcalendar"></i>一月 25, 2021</span
class="post-info-item">
<span class="post-info-item"><i class="iconfont iconfont-size"></i>5662</span>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 post-item">
<div class="post-wrap">
<a href="/2021/01/13/XSS%E5%92%8CCSRF%E6%94%BB%E5%87%BB%E5%8F%8A%E9%98%B2%E5%BE%A1/" class="post-image">
<img class="lazyload" data-original="/images/logo/cyber.jpeg" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==" draggable="false">
</a>
<div class="post-content">
<h3 class="post-title"><a href="/2021/01/13/XSS%E5%92%8CCSRF%E6%94%BB%E5%87%BB%E5%8F%8A%E9%98%B2%E5%BE%A1/">XSS和CSRF攻击及防御</a></h3>
<div class="post-excerpt">
<p class="substr-3">XSSXSS,即 Cross Site Script,中译是跨站脚本攻击;其原本缩写是 CSS,但为了和层叠样式表(Cascading Style Sheet)有所区分,因而在安全领域叫做 XS...</p>
</div>
<div class="post-info">
<span class="post-info-item"><i class="iconfont iconcalendar"></i>一月 13, 2021</span
class="post-info-item">
<span class="post-info-item"><i class="iconfont iconfont-size"></i>2088</span>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 post-item">
<div class="post-wrap">
<a href="/2021/01/12/%E6%80%A7%E8%83%BD%E6%8C%87%E6%A0%87%E6%80%BB%E7%BB%93/" class="post-image">
<img class="lazyload" data-original="/images/logo/performance.jpg" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==" draggable="false">
</a>
<div class="post-content">
<h3 class="post-title"><a href="/2021/01/12/%E6%80%A7%E8%83%BD%E6%8C%87%E6%A0%87%E6%80%BB%E7%BB%93/">性能指标总结</a></h3>
<div class="post-excerpt">
<p class="substr-3">常见性能名词解释:
FPFP(全称“First Paint”,翻译为“首次绘制”) 是时间线上的第一个“时间点”,它代表浏览器第一次向屏幕传输像素的时间,也就是页面在屏幕上首次发生视觉变化的时间...</p>
</div>
<div class="post-info">
<span class="post-info-item"><i class="iconfont iconcalendar"></i>一月 12, 2021</span
class="post-info-item">
<span class="post-info-item"><i class="iconfont iconfont-size"></i>2438</span>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 post-item">
<div class="post-wrap">
<a href="/2020/12/02/%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98/" class="post-image">
<img class="lazyload" data-original="/images/logo/performance.jpg" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==" draggable="false">
</a>
<div class="post-content">
<h3 class="post-title"><a href="/2020/12/02/%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98/">性能优化常见问题</a></h3>
<div class="post-excerpt">
<p class="substr-3">雅虎军规在前端性能优化中,雅虎军规起到了至关重要的作用,大多数情况下我们可以直接参考雅虎军规。这里不做过多笔记了,参考链接如下:
雅虎军规中文版
测试网速拿到用户网速可以做很多事情,如在用户网速...</p>
</div>
<div class="post-info">
<span class="post-info-item"><i class="iconfont iconcalendar"></i>十二月 02, 2020</span
class="post-info-item">
<span class="post-info-item"><i class="iconfont iconfont-size"></i>5256</span>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 post-item">
<div class="post-wrap">
<a href="/2020/11/21/%E6%B5%8F%E8%A7%88%E5%99%A8%E6%B8%B2%E6%9F%93%E6%B5%81%E7%A8%8B/" class="post-image">
<img class="lazyload" data-original="/images/logo/performance.jpg" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==" draggable="false">
</a>
<div class="post-content">
<h3 class="post-title"><a href="/2020/11/21/%E6%B5%8F%E8%A7%88%E5%99%A8%E6%B8%B2%E6%9F%93%E6%B5%81%E7%A8%8B/">浏览器渲染流程</a></h3>
<div class="post-excerpt">
<p class="substr-3">首先看一张图片,取自w3c官方 Navigation Timing
这张图片展示了向浏览器输入url之后的流程:
准备工作:
prompt for unload:准备释放上一个页面的资源。
...</p>
</div>
<div class="post-info">
<span class="post-info-item"><i class="iconfont iconcalendar"></i>十一月 21, 2020</span
class="post-info-item">
<span class="post-info-item"><i class="iconfont iconfont-size"></i>2730</span>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 post-item">
<div class="post-wrap">
<a href="/2020/11/07/react/redux%E6%A0%B8%E5%BF%83%E7%8A%B6%E6%80%81%E7%AE%A1%E7%90%86/" class="post-image">
<img class="lazyload" data-original="/images/logo/react.jpg" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==" draggable="false">
</a>
<div class="post-content">
<h3 class="post-title"><a href="/2020/11/07/react/redux%E6%A0%B8%E5%BF%83%E7%8A%B6%E6%80%81%E7%AE%A1%E7%90%86/">redux核心状态管理</a></h3>
<div class="post-excerpt">
<p class="substr-3">Redux/React 自身良好的架构、先进的理念,加上一系列优秀的第三方插件的支持,是 React/Redux 成功的关键所在。闲言少叙,直接进入主题~
Redux 架构
Redux 将 Re...</p>
</div>
<div class="post-info">
<span class="post-info-item"><i class="iconfont iconcalendar"></i>十一月 07, 2020</span
class="post-info-item">
<span class="post-info-item"><i class="iconfont iconfont-size"></i>3290</span>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 post-item">
<div class="post-wrap">
<a href="/2020/11/05/js/%E6%8E%92%E5%BA%8F%E7%AE%97%E6%B3%95%E6%80%BB%E7%BB%93/" class="post-image">
<img class="lazyload" data-original="/images/logo/js.png" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==" draggable="false">
</a>
<div class="post-content">
<h3 class="post-title"><a href="/2020/11/05/js/%E6%8E%92%E5%BA%8F%E7%AE%97%E6%B3%95%E6%80%BB%E7%BB%93/">排序算法总结</a></h3>
<div class="post-excerpt">
<p class="substr-3">1.冒泡排序开始学习排序算法时,通常都先学冒泡算法,因为它在所有排序算法中最简单。冒泡排序原理是比较相邻的两个项,如果前一项大于后一项,则交换他们。
123456789101112131415f...</p>
</div>
<div class="post-info">
<span class="post-info-item"><i class="iconfont iconcalendar"></i>十一月 05, 2020</span
class="post-info-item">
<span class="post-info-item"><i class="iconfont iconfont-size"></i>7794</span>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 post-item">
<div class="post-wrap">
<a href="/2020/10/29/webpack-plugin%E4%B8%8Ewebpack%E5%8E%9F%E7%90%86/" class="post-image">
<img class="lazyload" data-original="/images/logo/webpack.png" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==" draggable="false">
</a>
<div class="post-content">
<h3 class="post-title"><a href="/2020/10/29/webpack-plugin%E4%B8%8Ewebpack%E5%8E%9F%E7%90%86/">webpack-plugin原理</a></h3>
<div class="post-excerpt">
<p class="substr-3">webpack插件是什么官方文档: webpack 插件是一个具有 apply 属性的 JavaScript 对象。apply 属性会被 webpack compiler 调用,并且 compi...</p>
</div>
<div class="post-info">
<span class="post-info-item"><i class="iconfont iconcalendar"></i>十月 29, 2020</span
class="post-info-item">
<span class="post-info-item"><i class="iconfont iconfont-size"></i>10839</span>
</div>
</div>
</div>
</div>
</section>
<section class="paginator">
<span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><a class="extend next" rel="next" href="/page/2/">></a>
</section>
</div>
</main>
<footer class="footer">
<div class="footer-social">
<a href="tencent://message/?Menu=yes&uin=894519210 " target="_blank" onMouseOver="this.style.color= '#12B7F5'"
onMouseOut="this.style.color='#33333D'">
<i class="iconfont footer-social-item iconQQ "></i>
</a>
<a href="javascript:; " target="_blank" onMouseOver="this.style.color= '#09BB07'"
onMouseOut="this.style.color='#33333D'">
<i class="iconfont footer-social-item iconwechat-fill "></i>
</a>
<a href="https://github.com/Ezreal09 " target="_blank" onMouseOver="this.style.color= '#24292E'"
onMouseOut="this.style.color='#33333D'">
<i class="iconfont footer-social-item icongithub-fill "></i>
</a>
<a href="mailto:[email protected] " target="_blank" onMouseOver="this.style.color='#FFBE5B'"
onMouseOut="this.style.color='#33333D'">
<i class="iconfont footer-social-item iconmail"></i>
</a>
</div>
<div class="footer-copyright"><p>前端小白 <a target="_blank" href="https://ezreal09.github.io/">Ezreal</a> | github - <a target="_blank" href="https://github.com/Ezreal09">地址</a></p></div>
</footer>
<div class="fab fab-plus">
<i class="iconfont iconplus"></i>
</div>
<div class="fab fab-daovoice">
<i class="iconfont iconcomment"></i>
</div>
<div class="fab fab-up">
<i class="iconfont iconcaret-up"></i>
</div>
</body>
<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery.lazyload/1.9.1/jquery.lazyload.min.js"></script>
<script src="https://cdn.bootcss.com/fancybox/3.5.7/jquery.fancybox.min.js"></script>
<script src="/js/utils.js"></script>
<script src="/js/modules.js"></script>
<script src="/js/zui.js"></script>
<script src="/js/script.js"></script>
<script>
(function (i, s, o, g, r, a, m) {
i["DaoVoiceObject"] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o), m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
a.charset = "utf-8";
m.parentNode.insertBefore(a, m)
})(window, document, "script", ('https:' == document.location.protocol ? 'https:' : 'http:') +
"//widget.daovoice.io/widget/0f81ff2f.js", "daovoice")
daovoice('init', {
app_id: "abcdefg"
}, {
launcher: {
disableLauncherIcon: true,
},
});
daovoice('update');
</script>
<script>
(function () {
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
} else {
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
})();
</script>
<script>
var _hmt = _hmt || [];
(function () {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?4c204d8bc027a0455b5fc642ac334ca8";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</html>