-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
968 lines (516 loc) · 43.4 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
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-40492061-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-40492061-1');
</script>
<!-- End Google Analytics -->
<title>净土</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="A blog of howiefh.">
<meta property="og:type" content="website">
<meta property="og:title" content="净土">
<meta property="og:url" content="http://howiefh.github.io/index.html">
<meta property="og:site_name" content="净土">
<meta property="og:description" content="A blog of howiefh.">
<meta property="article:author" content="howiefh">
<meta name="twitter:card" content="summary">
<link rel="alternate" href="/atom.xml" title="净土" type="application/atom+xml">
<link rel="icon" href="/favicon.ico">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typeface-source-code-pro@0.0.71/index.min.css">
<link rel="stylesheet" href="/css/style.css">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-40492061-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-40492061-1');
</script>
<!-- End Google Analytics -->
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?56d2899c5e919fbf4a7b00de5d1c31dd";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<link rel="stylesheet" href="/fancybox/jquery.fancybox.min.css">
<meta name="generator" content="Hexo 4.2.0"></head>
<body>
<div id="container">
<div id="wrap">
<header id="header">
<div id="banner"></div>
<div id="header-outer" class="outer">
<div id="header-title" class="inner">
<h1 id="logo-wrap">
<a href="/" id="logo">净土</a>
</h1>
<h2 id="subtitle-wrap">
<a href="/" id="subtitle">乐不在外而在心,心以为乐,则是境皆乐;心以为苦,则无境不苦。</a>
</h2>
</div>
<div id="header-inner" class="inner">
<nav id="main-nav">
<a id="main-nav-toggle" class="nav-icon"></a>
<a class="main-nav-link" href="/">Home</a>
<a class="main-nav-link" href="/archives">Archives</a>
</nav>
<nav id="sub-nav">
<a id="nav-github-link" class="nav-icon" href="https://github.com/howiefh" title="Github" target="_blank"></a>
<a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
<a id="nav-search-btn" class="nav-icon" title="Search"></a>
</nav>
<div id="search-form-wrap">
<form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit"></button><input type="hidden" name="sitesearch" value="http://howiefh.github.io"></form>
</div>
</div>
</div>
</header>
<div class="outer">
<section id="main">
<article id="post-relational-database-storage-tree-structure" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2020/05/06/relational-database-storage-tree-structure/" class="article-date">
<time class="dt-published" datetime="2020-05-05T16:02:01.000Z" itemprop="datePublished">2020-05-06</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/Database/">Database</a>►<a class="article-category-link" href="/categories/Database/%E8%AE%BE%E8%AE%A1/">设计</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2020/05/06/relational-database-storage-tree-structure/">关系型数据库存储树形结构</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p>一般比较普遍的就是四种方法:(具体见 SQL Anti-patterns这本书)</p>
<ul>
<li>邻接表(Adjacency List):每一条记录存parent_id,设计实现简单,但是查询子树复杂。</li>
<li>枚举路径(Path Enumerations):每一条记录存整个tree path经过的node枚举,增删改查都较简单,查需要使用like,不能无限扩展。</li>
<li>嵌套表(Nested Sets):每一条记录存 nleft 和 nright,不直观,设计实现都非常复杂。</li>
<li>闭包表(Closure Table):维护一个表,所有的tree path作为记录进行保存。比较折中的一种设计。</li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/howiefh/assets/img/sql-anti-patterns-tree-design-diff-cn.png" alt="四种方法比较"></p>
<p class="article-more-link">
<a href="/2020/05/06/relational-database-storage-tree-structure/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://howiefh.github.io/2020/05/06/relational-database-storage-tree-structure/" data-id="ck9yb9q0l0000qtfy7quj5qul" data-title="关系型数据库存储树形结构" data-summary="一般比较普遍的就是四种方法:(具体见 SQL Anti..." class="article-share-link">Share</a>
<a href="http://howiefh.github.io/2020/05/06/relational-database-storage-tree-structure/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/SQL/" rel="tag">SQL</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%A0%91/" rel="tag">树</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E8%AE%BE%E8%AE%A1/" rel="tag">设计</a></li></ul>
<span>
Updated:<time datetime="2020-05-13T15:13:08.950Z" itemprop="dateModified">2020-05-13</time>
</span>
</footer>
</div>
</article>
<article id="post-replace-qiniu-with-github-pages" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2020/05/05/replace-qiniu-with-github-pages/" class="article-date">
<time class="dt-published" datetime="2020-05-05T14:42:16.000Z" itemprop="datePublished">2020-05-05</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/Hexo/">Hexo</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2020/05/05/replace-qiniu-with-github-pages/">恢复七牛云过期域名图片并用Github Pages替换</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p>有很长时间没有更新博客了,五一抽空打理了一下博客,更新了一些主题插件还有文章。之前七牛的临时域名很早就过期,刚开始图片还是可以显示的,也不知道从什么时候开始就不能显示,应该有挺长时间了,这次也解决了一下这个问题。如果要继续使用七牛就得绑定域名,但是去弄域名还得备案什么的,挺麻烦的,嫌麻烦那就得换一个图床了,最好还是免费的,看了一些介绍,最后还是决定就放GitHub好了,跟博客放一块也好管理。</p>
<p class="article-more-link">
<a href="/2020/05/05/replace-qiniu-with-github-pages/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://howiefh.github.io/2020/05/05/replace-qiniu-with-github-pages/" data-id="ck9u33ka6000056fy3tzabdoj" data-title="恢复七牛云过期域名图片并用Github Pages替换" data-summary="有很长时间没有更新博客了,五一抽空打理了一下博客,更新..." class="article-share-link">Share</a>
<a href="http://howiefh.github.io/2020/05/05/replace-qiniu-with-github-pages/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Github-Pages/" rel="tag">Github Pages</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Hexo/" rel="tag">Hexo</a></li></ul>
<span>
Updated:<time datetime="2020-05-05T15:57:37.000Z" itemprop="dateModified">2020-05-05</time>
</span>
</footer>
</div>
</article>
<article id="post-mybatis-enum-handler" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2017/09/30/mybatis-enum-handler/" class="article-date">
<time class="dt-published" datetime="2017-09-30T09:44:42.000Z" itemprop="datePublished">2017-09-30</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/Java/">Java</a>►<a class="article-category-link" href="/categories/Java/MyBatis/">MyBatis</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2017/09/30/mybatis-enum-handler/">MyBatis 类型处理器</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<h2 id="问题描述"><a href="#问题描述" class="headerlink" title="问题描述"></a>问题描述</h2><p>最近测试将 MyBatis 从 3.1.1 升级到 3.2.3 时遇到一个问题。原来可以正常工作的枚举类型处理器,抛异常了。</p>
<figure class="highlight crystal"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">Caused <span class="symbol">by:</span> org.apache.ibatis.executor.result.<span class="symbol">ResultMapException:</span> Error attempting to get column <span class="string">'member_type'</span> from result set. <span class="symbol">Cause:</span> java.lang.<span class="symbol">IllegalArgumentException:</span> No <span class="class"><span class="keyword">enum</span> <span class="title">code</span> '<span class="title">MERCHANT</span>'. <span class="title">class</span> <span class="title">com</span>...<span class="title">ChangeSceneType</span></span></span><br></pre></td></tr></table></figure>
<p>涉及的代码及配置信息如下:</p>
<p class="article-more-link">
<a href="/2017/09/30/mybatis-enum-handler/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://howiefh.github.io/2017/09/30/mybatis-enum-handler/" data-id="ck9sl6g8e007077fydqlugqfc" data-title="MyBatis 类型处理器" data-summary="问题描述最近测试将 MyBatis 从 3.1.1 升..." class="article-share-link">Share</a>
<a href="http://howiefh.github.io/2017/09/30/mybatis-enum-handler/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Java/" rel="tag">Java</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/MyBatis/" rel="tag">MyBatis</a></li></ul>
<span>
Updated:<time datetime="2020-05-02T14:28:14.486Z" itemprop="dateModified">2020-05-02</time>
</span>
</footer>
</div>
</article>
<article id="post-git-internals" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2016/05/16/git-internals/" class="article-date">
<time class="dt-published" datetime="2016-05-16T12:51:10.000Z" itemprop="datePublished">2016-05-16</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/Git/">Git</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2016/05/16/git-internals/">Git 内幕</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<h2 id="基础"><a href="#基础" class="headerlink" title="基础"></a>基础</h2><h3 id="对待数据的方式"><a href="#对待数据的方式" class="headerlink" title="对待数据的方式"></a>对待数据的方式</h3><p>几乎所有版本控制工具都是记录与初始文件的差异,而 Git 是记录快照,每次提交更新时,就是当前工作目录下的所有文件的完整数据,而不是差异,当然如果提交时,文件没有被修改,不再重新存储该文件,而是指向上次存储的文件。</p>
<p>假设提交了5次,对于工作目录的文件A,在第三和第五次提交时有修改</p>
<figure class="highlight xl"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"># 其他版本控制</span><br><span class="line">A (<span class="function"><span class="title">v1</span>) --------------></span> △<span class="number">1</span> (<span class="function"><span class="title">v3</span>) ---------------></span> △<span class="number">2</span> (v5)</span><br><span class="line"># Git</span><br><span class="line">A (<span class="function"><span class="title">v1</span>) ---></span> A (<span class="function"><span class="title">v2</span>) ---></span> A1 (<span class="function"><span class="title">v3</span>) ---></span> A1 (<span class="function"><span class="title">v4</span>) ---></span> A2 (v5)</span><br></pre></td></tr></table></figure>
<p class="article-more-link">
<a href="/2016/05/16/git-internals/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://howiefh.github.io/2016/05/16/git-internals/" data-id="ck9sl6g9c009077fyc8tc0kd4" data-title="Git 内幕" data-summary="基础对待数据的方式几乎所有版本控制工具都是记录与初始文..." class="article-share-link">Share</a>
<a href="http://howiefh.github.io/2016/05/16/git-internals/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Git/" rel="tag">Git</a></li></ul>
<span>
Updated:<time datetime="2020-05-04T11:16:04.397Z" itemprop="dateModified">2020-05-04</time>
</span>
</footer>
</div>
</article>
<article id="post-hexo-s-calendar-plugin" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2016/04/29/hexo-s-calendar-plugin/" class="article-date">
<time class="dt-published" datetime="2016-04-29T13:10:44.000Z" itemprop="datePublished">2016-04-29</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/Hexo/">Hexo</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2016/04/29/hexo-s-calendar-plugin/">Hexo日历插件</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p>如果你在使用 <a href="https://github.com/hexojs/hexo" target="_blank" rel="noopener">Hexo</a> 并且你在寻找一款 <a href="https://github.com/hexojs/hexo" target="_blank" rel="noopener">Hexo</a> 下可用的日历插件,你还希望这款日历插件能像博客园或者WordPress的日历小工具一样,如果某天有文章,日期就会显示为文章链接,那么本文介绍的这个插件就是你所需要的。</p>
<p>实际上之前在 <a href="http://howiefh.github.io/2014/04/20/hexo-optimize-and-my-theme-landscape-f/">Landscape-F</a> 主题中已经实现过一个日历插件(<a href="https://github.com/howiefh/hexo-calendar" target="_blank" rel="noopener">hexo-calendar</a>)了,只不过当时这个插件很挫,打开一篇文章时,日历中才能显示文章链接,而且只能显示文章发表当月的文章的链接,你要查看其他月的日历时,就算有文章也不会在日历中显示,因为当时的做法是在生成页面直接在页面的日历中嵌入文章当月所有文章的链接,是完全静态的。现在我重新实现了日历插件(<a href="https://github.com/howiefh/hexo-generator-calendar" target="_blank" rel="noopener">hexo-generator-calendar</a>),很简单,就是在Hexo generator的时候,把所有文章的标题、链接、发布时间信息以json格式存入文件中,然后在前端用ajax方法请求日历数据,解析并生成日历表格。下面简单介绍下这个插件的安装和使用。</p>
<p class="article-more-link">
<a href="/2016/04/29/hexo-s-calendar-plugin/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://howiefh.github.io/2016/04/29/hexo-s-calendar-plugin/" data-id="ck9sl6g7c002x77fyf9144k7f" data-title="Hexo日历插件" data-summary="如果你在使用 Hexo 并且你在寻找一款 Hexo 下..." class="article-share-link">Share</a>
<a href="http://howiefh.github.io/2016/04/29/hexo-s-calendar-plugin/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Hexo/" rel="tag">Hexo</a></li></ul>
<span>
Updated:<time datetime="2020-05-05T14:21:32.778Z" itemprop="dateModified">2020-05-05</time>
</span>
</footer>
</div>
</article>
<article id="post-java-security-illegal-key-size" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2016/04/21/java-security-illegal-key-size/" class="article-date">
<time class="dt-published" datetime="2016-04-21T06:41:09.000Z" itemprop="datePublished">2016-04-21</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/Java/">Java</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2016/04/21/java-security-illegal-key-size/">AES加密时报java.security.InvalidKeyException Illegal key size</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<div id="toc" class="toc-article">
<h2 class="toc-title"><span>Contents</span></h2>
</div>
<p>使用 AES 加密时,密钥大于128bit的话会抛出java.security.InvalidKeyException异常。因为密钥长度是受限的,根据网上一些博客中说的,这种限制是因为<a href="http://book.2cto.com/201311/37620.html" target="_blank" rel="noopener">美国对软件出口的控制</a>。解决办法很简单,下载对应版本的jce包,解压并覆盖 ${JAVA_HOME}/jre/lib/security/ 下的同名文件即可。</p>
<p><a href="http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html" target="_blank" rel="noopener">Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 6</a></p>
<p><a href="http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html" target="_blank" rel="noopener">Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7 Download</a></p>
<p><a href="http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html" target="_blank" rel="noopener">Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 8 Download</a></p>
</div>
<footer class="article-footer">
<a data-url="http://howiefh.github.io/2016/04/21/java-security-illegal-key-size/" data-id="ck9sl6g7d003077fy006pe6m8" data-title="AES加密时报java.security.InvalidKeyException Illegal key size" data-summary="使用 AES 加密时,密钥大于128bit的话会抛出j..." class="article-share-link">Share</a>
<a href="http://howiefh.github.io/2016/04/21/java-security-illegal-key-size/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Java/" rel="tag">Java</a></li></ul>
<span>
Updated:<time datetime="2020-05-02T14:28:14.486Z" itemprop="dateModified">2020-05-02</time>
</span>
</footer>
</div>
</article>
<article id="post-javascript-summary" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2015/09/01/javascript-summary/" class="article-date">
<time class="dt-published" datetime="2015-09-01T02:22:17.000Z" itemprop="datePublished">2015-09-01</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/JavaScript/">JavaScript</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2015/09/01/javascript-summary/">JavaScript 总结</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p>这篇是对前面<a href="/2015/08/28/javascript-grammar/">JavaScript 基本语法</a>,<a href="/2015/08/28/javascript-reference-type/">JavaScript 引用类型</a>,<a href="/2015/08/28/javascript-oop-function-expression-and-async/">JavaScript 面向对象程序设计、函数表达式和异步编程</a>三篇笔记的总结。</p>
<p class="article-more-link">
<a href="/2015/09/01/javascript-summary/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://howiefh.github.io/2015/09/01/javascript-summary/" data-id="ck9sl6ga200ai77fy0fmde682" data-title="JavaScript 总结" data-summary="这篇是对前面JavaScript 基本语法,JavaS..." class="article-share-link">Share</a>
<a href="http://howiefh.github.io/2015/09/01/javascript-summary/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/JavaScript/" rel="tag">JavaScript</a></li></ul>
<span>
Updated:<time datetime="2020-05-04T11:38:36.614Z" itemprop="dateModified">2020-05-04</time>
</span>
</footer>
</div>
</article>
<article id="post-javascript-oop-function-expression-and-async" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2015/08/28/javascript-oop-function-expression-and-async/" class="article-date">
<time class="dt-published" datetime="2015-08-28T04:23:08.000Z" itemprop="datePublished">2015-08-28</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/JavaScript/">JavaScript</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2015/08/28/javascript-oop-function-expression-and-async/">JavaScript 面向对象程序设计、函数表达式和异步编程</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p><a href="/2015/08/28/javascript-grammar/">JavaScript 基本语法</a>,<a href="/2015/08/28/javascript-reference-type/">JavaScript 引用类型</a>,<a href="/2015/08/28/javascript-oop-function-expression-and-async/">JavaScript 面向对象程序设计、函数表达式和异步编程</a>三篇笔记是对《JavaScript 高级程序设计》和 <a href="https://github.com/ruanyf/es6tutorial/tree/5a5f9d8d492d0f925cbb6e09b10ebed9d2078d40" target="_blank" rel="noopener">《ECMAScript 6入门》</a>两本书的总结整理。</p>
<h1 id="面向对象程序设计"><a href="#面向对象程序设计" class="headerlink" title="面向对象程序设计"></a>面向对象程序设计</h1><p>ECMA-262把对象定义为:“无序属性的集合,其属性可以包含基本值、对象或者函数。”严格来讲,这就相当于说对象是一组没有特定顺序的值。对象的每个属性或方法都有一个名字,而每个名字都映射到一个值。正因为这样(以及其他将要讨论的原因),我们可以把ECMAScript的对象想象成散列表:无非就是一组名值对,其中值可以是数据或函数</p>
<p class="article-more-link">
<a href="/2015/08/28/javascript-oop-function-expression-and-async/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://howiefh.github.io/2015/08/28/javascript-oop-function-expression-and-async/" data-id="ck9sl6g9u00aa77fyf93h0s24" data-title="JavaScript 面向对象程序设计、函数表达式和异步编程" data-summary="JavaScript 基本语法,JavaScript ..." class="article-share-link">Share</a>
<a href="http://howiefh.github.io/2015/08/28/javascript-oop-function-expression-and-async/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/JavaScript/" rel="tag">JavaScript</a></li></ul>
<span>
Updated:<time datetime="2020-05-02T14:28:14.484Z" itemprop="dateModified">2020-05-02</time>
</span>
</footer>
</div>
</article>
<article id="post-javascript-reference-type" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2015/08/28/javascript-reference-type/" class="article-date">
<time class="dt-published" datetime="2015-08-28T04:18:03.000Z" itemprop="datePublished">2015-08-28</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/JavaScript/">JavaScript</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2015/08/28/javascript-reference-type/">JavaScript 引用类型</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p><a href="/2015/08/28/javascript-grammar/">JavaScript 基本语法</a>,<a href="/2015/08/28/javascript-reference-type/">JavaScript 引用类型</a>,<a href="/2015/08/28/javascript-oop-function-expression-and-async/">JavaScript 面向对象程序设计、函数表达式和异步编程</a>三篇笔记是对《JavaScript 高级程序设计》和 <a href="https://github.com/ruanyf/es6tutorial/tree/5a5f9d8d492d0f925cbb6e09b10ebed9d2078d40" target="_blank" rel="noopener">《ECMAScript 6入门》</a>两本书的总结整理。</p>
<h1 id="引用类型"><a href="#引用类型" class="headerlink" title="引用类型"></a>引用类型</h1><p>引用类型是一种数据结构,用于将数据和功能组织在一起。它也常被称为类,但这种称呼并不妥当。尽管 ECMAScript从技术上讲是一门面向对象的语言,但它不具备传统的面向对象语言所支持的类和接口等基本结构。引用类型有时候也被称为对象定义,因为它们描述的是一类对象所具有的属性和方法。</p>
<p class="article-more-link">
<a href="/2015/08/28/javascript-reference-type/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://howiefh.github.io/2015/08/28/javascript-reference-type/" data-id="ck9sl6ga700b177fyh8kkegc6" data-title="JavaScript 引用类型" data-summary="JavaScript 基本语法,JavaScript ..." class="article-share-link">Share</a>
<a href="http://howiefh.github.io/2015/08/28/javascript-reference-type/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/JavaScript/" rel="tag">JavaScript</a></li></ul>
<span>
Updated:<time datetime="2020-05-02T14:28:14.485Z" itemprop="dateModified">2020-05-02</time>
</span>
</footer>
</div>
</article>
<article id="post-javascript-grammar" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2015/08/28/javascript-grammar/" class="article-date">
<time class="dt-published" datetime="2015-08-28T04:14:28.000Z" itemprop="datePublished">2015-08-28</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/JavaScript/">JavaScript</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2015/08/28/javascript-grammar/">JavaScript 基本语法</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p><a href="/2015/08/28/javascript-grammar/">JavaScript 基本语法</a>,<a href="/2015/08/28/javascript-reference-type/">JavaScript 引用类型</a>,<a href="/2015/08/28/javascript-oop-function-expression-and-async/">JavaScript 面向对象程序设计、函数表达式和异步编程</a>三篇笔记是对《JavaScript 高级程序设计》和 <a href="https://github.com/ruanyf/es6tutorial/tree/5a5f9d8d492d0f925cbb6e09b10ebed9d2078d40" target="_blank" rel="noopener">《ECMAScript 6入门》</a>两本书的总结整理。</p>
<h1 id="简介"><a href="#简介" class="headerlink" title="简介"></a>简介</h1><p>一个完整的JavaScript实现应该由三个不同的部分组成:核心(ECMAScript)、文档对象模型(DOM)、浏览器对象模型(BOM)</p>
<p>JavaScript实现了ECMAScript,Adobe ActionScript同样也实现了ECMAScript。</p>
<p class="article-more-link">
<a href="/2015/08/28/javascript-grammar/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://howiefh.github.io/2015/08/28/javascript-grammar/" data-id="ck9sl6ga300aj77fy2zoxfrft" data-title="JavaScript 基本语法" data-summary="JavaScript 基本语法,JavaScript ..." class="article-share-link">Share</a>
<a href="http://howiefh.github.io/2015/08/28/javascript-grammar/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/JavaScript/" rel="tag">JavaScript</a></li></ul>
<span>
Updated:<time datetime="2020-05-02T14:28:14.483Z" itemprop="dateModified">2020-05-02</time>
</span>
</footer>
</div>
</article>
<nav id="page-nav">
<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><span class="space">…</span><a class="page-number" href="/page/9/">9</a><a class="extend next" rel="next" href="/page/2/">Next »</a>
</nav>
</section>
<aside id="sidebar">
<div class="widget-wrap">
<h3 class="widget-title">ABOUT ME</h3>
<ul class="widget about-me">
<li><img class="author" title="About me" src="https://cdn.jsdelivr.net/gh/howiefh/assets/img/okal-eltocat.jpg" /></li>
<li>Hi,I'm FengHao.</li>
<li>I'll share something interesting and my learning experience with you at this blog.</li>
</ul>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Calendar</h3>
<div class="widget" id="calendar">
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Categories</h3>
<div class="widget">
<ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/Android/">Android</a><span class="category-list-count">3</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/C/">C</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Database/">Database</a><span class="category-list-count">14</span><ul class="category-list-child"><li class="category-list-item"><a class="category-list-link" href="/categories/Database/MongoDB/">MongoDB</a><span class="category-list-count">10</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Database/MySQL/">MySQL</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Database/%E8%AE%BE%E8%AE%A1/">设计</a><span class="category-list-count">1</span></li></ul></li><li class="category-list-item"><a class="category-list-link" href="/categories/Eclipse/">Eclipse</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/FTP/">FTP</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Git/">Git</a><span class="category-list-count">4</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Hexo/">Hexo</a><span class="category-list-count">5</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Java/">Java</a><span class="category-list-count">22</span><ul class="category-list-child"><li class="category-list-item"><a class="category-list-link" href="/categories/Java/FreeMarker/">FreeMarker</a><span class="category-list-count">3</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Java/MyBatis/">MyBatis</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Java/Shiro/">Shiro</a><span class="category-list-count">2</span></li></ul></li><li class="category-list-item"><a class="category-list-link" href="/categories/JavaEE/">JavaEE</a><span class="category-list-count">4</span><ul class="category-list-child"><li class="category-list-item"><a class="category-list-link" href="/categories/JavaEE/Hibernate/">Hibernate</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/JavaEE/JSP/">JSP</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/JavaEE/Spring/">Spring</a><span class="category-list-count">2</span></li></ul></li><li class="category-list-item"><a class="category-list-link" href="/categories/JavaScript/">JavaScript</a><span class="category-list-count">5</span><ul class="category-list-child"><li class="category-list-item"><a class="category-list-link" href="/categories/JavaScript/jQuery/">jQuery</a><span class="category-list-count">1</span></li></ul></li><li class="category-list-item"><a class="category-list-link" href="/categories/Linux/">Linux</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/PHP/">PHP</a><span class="category-list-count">5</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Suse/">Suse</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Ubuntu/">Ubuntu</a><span class="category-list-count">5</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Vim/">Vim</a><span class="category-list-count">7</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E7%BC%96%E7%A8%8B/">编程</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E8%BD%AF%E4%BB%B6/">软件</a><span class="category-list-count">1</span></li></ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Tag Cloud</h3>
<div class="widget tagcloud">
<a href="/tags/Android/" style="font-size: 14.75px; color: #65bfa7">Android</a> <a href="/tags/C/" style="font-size: 13.88px; color: #71c1c2">C</a> <a href="/tags/CAS/" style="font-size: 13px; color: #7dc3de">CAS</a> <a href="/tags/Chrome/" style="font-size: 13px; color: #7dc3de">Chrome</a> <a href="/tags/Clean-Code/" style="font-size: 13.88px; color: #71c1c2">Clean Code</a> <a href="/tags/Database/" style="font-size: 13px; color: #7dc3de">Database</a> <a href="/tags/Eclipse/" style="font-size: 13px; color: #7dc3de">Eclipse</a> <a href="/tags/FTP/" style="font-size: 13.88px; color: #71c1c2">FTP</a> <a href="/tags/FreeMarker/" style="font-size: 14.75px; color: #65bfa7">FreeMarker</a> <a href="/tags/Gcc/" style="font-size: 13px; color: #7dc3de">Gcc</a> <a href="/tags/Git/" style="font-size: 15.63px; color: #59bd8b">Git</a> <a href="/tags/Github-Pages/" style="font-size: 13.88px; color: #71c1c2">Github Pages</a> <a href="/tags/Hexo/" style="font-size: 16.5px; color: #4dbc6f">Hexo</a> <a href="/tags/Hibernate/" style="font-size: 13px; color: #7dc3de">Hibernate</a> <a href="/tags/JSP/" style="font-size: 13px; color: #7dc3de">JSP</a> <a href="/tags/JVM/" style="font-size: 14.75px; color: #65bfa7">JVM</a> <a href="/tags/Java/" style="font-size: 16.5px; color: #4dbc6f">Java</a> <a href="/tags/JavaMail/" style="font-size: 13px; color: #7dc3de">JavaMail</a> <a href="/tags/JavaScript/" style="font-size: 16.5px; color: #4dbc6f">JavaScript</a> <a href="/tags/Linux/" style="font-size: 13.88px; color: #71c1c2">Linux</a> <a href="/tags/Log/" style="font-size: 13px; color: #7dc3de">Log</a> <a href="/tags/Markdown/" style="font-size: 13.88px; color: #71c1c2">Markdown</a> <a href="/tags/MongoDB/" style="font-size: 20px; color: #1db400">MongoDB</a> <a href="/tags/MyBatis/" style="font-size: 13px; color: #7dc3de">MyBatis</a> <a href="/tags/MySQL/" style="font-size: 13.88px; color: #71c1c2">MySQL</a> <a href="/tags/PHP/" style="font-size: 16.5px; color: #4dbc6f">PHP</a> <a href="/tags/Rhythmbox/" style="font-size: 13px; color: #7dc3de">Rhythmbox</a> <a href="/tags/SQL/" style="font-size: 13px; color: #7dc3de">SQL</a> <a href="/tags/SSO/" style="font-size: 13px; color: #7dc3de">SSO</a> <a href="/tags/Servlet/" style="font-size: 13px; color: #7dc3de">Servlet</a> <a href="/tags/Shiro/" style="font-size: 13.88px; color: #71c1c2">Shiro</a> <a href="/tags/Spring/" style="font-size: 13.88px; color: #71c1c2">Spring</a> <a href="/tags/Suse/" style="font-size: 13px; color: #7dc3de">Suse</a> <a href="/tags/Thinking-in-Java/" style="font-size: 19.13px; color: #29b61c">Thinking in Java</a> <a href="/tags/Ubuntu/" style="font-size: 17.38px; color: #41ba53">Ubuntu</a> <a href="/tags/Vim/" style="font-size: 18.25px; color: #35b838">Vim</a> <a href="/tags/VirtualBox/" style="font-size: 13px; color: #7dc3de">VirtualBox</a> <a href="/tags/Vsftpd/" style="font-size: 13px; color: #7dc3de">Vsftpd</a> <a href="/tags/jQuery/" style="font-size: 13px; color: #7dc3de">jQuery</a> <a href="/tags/pam-mysql/" style="font-size: 13px; color: #7dc3de">pam_mysql</a> <a href="/tags/%E5%B0%8F%E7%B1%B3/" style="font-size: 13px; color: #7dc3de">小米</a> <a href="/tags/%E6%A0%91/" style="font-size: 13px; color: #7dc3de">树</a> <a href="/tags/%E8%AE%BE%E8%AE%A1/" style="font-size: 13px; color: #7dc3de">设计</a> <a href="/tags/%E8%BD%AF%E4%BB%B6/" style="font-size: 15.63px; color: #59bd8b">软件</a>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Recent Posts</h3>
<div class="widget">
<ul>
<li>
<a href="/2020/05/06/relational-database-storage-tree-structure/">关系型数据库存储树形结构</a>
</li>
<li>
<a href="/2020/05/05/replace-qiniu-with-github-pages/">恢复七牛云过期域名图片并用Github Pages替换</a>
</li>
<li>
<a href="/2017/09/30/mybatis-enum-handler/">MyBatis 类型处理器</a>
</li>
<li>
<a href="/2016/05/16/git-internals/">Git 内幕</a>
</li>
<li>
<a href="/2016/04/29/hexo-s-calendar-plugin/">Hexo日历插件</a>
</li>
</ul>
</div>
</div>
</aside>
</div>
<footer id="footer">
<div class="outer">
<div id="footer-info" class="inner">
© 2020 howiefh<br>
Powered by <a href="http://hexo.io/" target="_blank">Hexo</a> and Theme by <a href="https://github.com/howiefh/hexo-theme-landscape-f" target="_blank" title="Landscape-F">Landscape-F</a>
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<br>
<span id="busuanzi_container_site_pv">
Total <span id="busuanzi_value_site_pv"></span> views.
</span>
</div>
</div>
</footer>
</div>
<nav id="mobile-nav">
<a href="/" class="mobile-nav-link">Home</a>
<a href="/archives" class="mobile-nav-link">Archives</a>
</nav>
<script>
var disqus_shortname = 'fenghao-1';
(function() {
var d = document, s = d.createElement('script');
s.src = '//fenghao-1.disqus.com/count.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<script src="/js/jquery-3.4.1.min.js"></script>
<script src="/fancybox/jquery.fancybox.min.js"></script>
<div class="bottom-btn">
<a class="icon-gotop" href="javascript:void(0)" title="返回顶部"></a>
<script src="/js/gotop.js"></script>
</div>
<script src="/js/script.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-40492061-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-40492061-1');
</script>
<!-- End Google Analytics -->
<script src="/js/languages.js"></script>
<script src="/js/calendar.js"></script>
<script type="text/javascript">
$(function() {
$('#calendar').aCalendar('zh-CN', {root:'/', calendarSingle:true, calendarRoot:'calendar'});
});
</script>
</div>
</body>
</html>