-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1587 lines (1071 loc) · 59.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
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
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html style="display: none;" lang="zh">
<head>
<meta charset="utf-8">
<!--
© Material Theme
https://github.com/viosey/hexo-theme-material
Version: 1.4.0 -->
<script>window.materialVersion = "1.4.0"</script>
<!-- Title -->
<title>
zhaodongxx's Blog
</title>
<!-- dns prefetch -->
<meta http-equiv="x-dns-prefetch-control" content="on">
<link rel="dns-prefetch" href="https://busuanzi.ibruce.info"/>
<!-- Meta & Info -->
<meta http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="theme-color" content="#0097A7">
<meta name="author" content="zhaodongxx">
<meta name="description" itemprop="description" content="罗马不是一天建成">
<meta name="keywords" content="">
<!-- Site Verification -->
<!-- Favicons -->
<link rel="icon shortcut" type="image/ico" href="/img/favicon.png">
<link rel="icon" sizes="192x192" href="/img/favicon.png">
<link rel="apple-touch-icon" href="/img/favicon.png">
<!--iOS -->
<meta name="apple-mobile-web-app-title" content="Title">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="480">
<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes">
<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="zhaodongxx's Blog">
<!-- The Open Graph protocol -->
<meta property="og:url" content="http://blog.zhaodongxx.top">
<meta property="og:type" content="blog">
<meta property="og:title" content="zhaodongxx's Blog">
<meta property="og:image" content="/img/favicon.png" />
<meta property="og:description" content="罗马不是一天建成">
<!-- The Twitter Card protocol -->
<meta name="twitter:title" content="zhaodongxx's Blog">
<meta name="twitter:description" content="罗马不是一天建成">
<meta name="twitter:image" content="/img/favicon.png">
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:url" content="http://blog.zhaodongxx.top" />
<!-- Add canonical link for SEO -->
<link rel="canonical" href="http://blog.zhaodongxx.top" />
<!-- Structured-data for SEO -->
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Website",
"publisher": {
"@type": "Organization",
"name": "zhaodongxx's Blog",
"logo": "/img/favicon.png"
},
"url": "http://blog.zhaodongxx.top/index.html",
"image": {
"@type": "ImageObject",
"url": "/img/favicon.png"
},
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "http://blog.zhaodongxx.top"
},
"description": "罗马不是一天建成"
}
</script>
<!--[if lte IE 9]>
<link rel="stylesheet" href="/css/ie-blocker.css">
<script src="/js/ie-blocker.zhCN.js"></script>
<![endif]-->
<!-- Import lsloader -->
<script>(function(){window.lsloader={jsRunSequence:[],jsnamemap:{},cssnamemap:{}};lsloader.removeLS=function(key){try{localStorage.removeItem(key)}catch(e){}};lsloader.setLS=function(key,val){try{localStorage.setItem(key,val)}catch(e){}};lsloader.getLS=function(key){var val="";try{val=localStorage.getItem(key)}catch(e){val=""}return val};versionString="/*"+materialVersion+"*/";lsloader.clean=function(){try{var keys=[];for(var i=0;i<localStorage.length;i++){keys.push(localStorage.key(i))}keys.forEach(function(key){var data=lsloader.getLS(key);if(data&&data.indexOf(versionString)===-1){lsloader.removeLS(key)}})}catch(e){}};lsloader.clean();lsloader.load=function(jsname,jspath,cssonload){cssonload=cssonload||function(){};var code;code=this.getLS(jsname);if(code&&code.indexOf(versionString)===-1){this.removeLS(jsname);this.requestResource(jsname,jspath,cssonload);return}if(code){var versionNumber=code.split(versionString)[0];if(versionNumber!=jspath){console.log("reload:"+jspath);this.removeLS(jsname);this.requestResource(jsname,jspath,cssonload);return}code=code.split(versionString)[1];if(/\.js?.+$/.test(versionNumber)){this.jsRunSequence.push({name:jsname,code:code});this.runjs(jspath,jsname,code)}else{document.getElementById(jsname).appendChild(document.createTextNode(code));cssonload()}}else{this.requestResource(jsname,jspath,cssonload)}};lsloader.requestResource=function(name,path,cssonload){var that=this;if(/\.js?.+$/.test(path)){this.iojs(path,name,function(path,name,code){that.setLS(name,path+versionString+code);that.runjs(path,name,code)})}else if(/\.css?.+$/.test(path)){this.iocss(path,name,function(code){document.getElementById(name).appendChild(document.createTextNode(code));that.setLS(name,path+versionString+code)},cssonload)}};lsloader.iojs=function(path,jsname,callback){var that=this;that.jsRunSequence.push({name:jsname,code:""});try{var xhr=new XMLHttpRequest;xhr.open("get",path,true);xhr.onreadystatechange=function(){if(xhr.readyState==4){if(xhr.status>=200&&xhr.status<300||xhr.status==304){if(xhr.response!=""){callback(path,jsname,xhr.response);return}}that.jsfallback(path,jsname)}};xhr.send(null)}catch(e){that.jsfallback(path,jsname)}};lsloader.iocss=function(path,jsname,callback,cssonload){var that=this;try{var xhr=new XMLHttpRequest;xhr.open("get",path,true);xhr.onreadystatechange=function(){if(xhr.readyState==4){if(xhr.status>=200&&xhr.status<300||xhr.status==304){if(xhr.response!=""){callback(xhr.response);cssonload();return}}that.cssfallback(path,jsname,cssonload)}};xhr.send(null)}catch(e){that.cssfallback(path,jsname,cssonload)}};lsloader.iofonts=function(path,jsname,callback,cssonload){var that=this;try{var xhr=new XMLHttpRequest;xhr.open("get",path,true);xhr.onreadystatechange=function(){if(xhr.readyState==4){if(xhr.status>=200&&xhr.status<300||xhr.status==304){if(xhr.response!=""){callback(xhr.response);cssonload();return}}that.cssfallback(path,jsname,cssonload)}};xhr.send(null)}catch(e){that.cssfallback(path,jsname,cssonload)}};lsloader.runjs=function(path,name,code){if(!!name&&!!code){for(var k in this.jsRunSequence){if(this.jsRunSequence[k].name==name){this.jsRunSequence[k].code=code}}}if(!!this.jsRunSequence[0]&&!!this.jsRunSequence[0].code&&this.jsRunSequence[0].status!="failed"){var script=document.createElement("script");script.appendChild(document.createTextNode(this.jsRunSequence[0].code));script.type="text/javascript";document.getElementsByTagName("head")[0].appendChild(script);this.jsRunSequence.shift();if(this.jsRunSequence.length>0){this.runjs()}}else if(!!this.jsRunSequence[0]&&this.jsRunSequence[0].status=="failed"){var that=this;var script=document.createElement("script");script.src=this.jsRunSequence[0].path;script.type="text/javascript";this.jsRunSequence[0].status="loading";script.onload=function(){that.jsRunSequence.shift();if(that.jsRunSequence.length>0){that.runjs()}};document.body.appendChild(script)}};lsloader.tagLoad=function(path,name){this.jsRunSequence.push({name:name,code:"",path:path,status:"failed"});this.runjs()};lsloader.jsfallback=function(path,name){if(!!this.jsnamemap[name]){return}else{this.jsnamemap[name]=name}for(var k in this.jsRunSequence){if(this.jsRunSequence[k].name==name){this.jsRunSequence[k].code="";this.jsRunSequence[k].status="failed";this.jsRunSequence[k].path=path}}this.runjs()};lsloader.cssfallback=function(path,name,cssonload){if(!!this.cssnamemap[name]){return}else{this.cssnamemap[name]=1}var link=document.createElement("link");link.type="text/css";link.href=path;link.rel="stylesheet";link.onload=link.onerror=cssonload;var root=document.getElementsByTagName("script")[0];root.parentNode.insertBefore(link,root)};lsloader.runInlineScript=function(scriptId,codeId){var code=document.getElementById(codeId).innerText;this.jsRunSequence.push({name:scriptId,code:code});this.runjs()};lsloader.loadCombo=function(jslist){var updateList="";var requestingModules={};for(var k in jslist){var LS=this.getLS(jslist[k].name);if(!!LS){var version=LS.split(versionString)[0];var code=LS.split(versionString)[1]}else{var version=""}if(version==jslist[k].path){this.jsRunSequence.push({name:jslist[k].name,code:code,path:jslist[k].path})}else{this.jsRunSequence.push({name:jslist[k].name,code:null,path:jslist[k].path,status:"comboloading"});requestingModules[jslist[k].name]=true;updateList+=(updateList==""?"":";")+jslist[k].path}}var that=this;if(!!updateList){var xhr=new XMLHttpRequest;xhr.open("get",combo+updateList,true);xhr.onreadystatechange=function(){if(xhr.readyState==4){if(xhr.status>=200&&xhr.status<300||xhr.status==304){if(xhr.response!=""){that.runCombo(xhr.response,requestingModules);return}}else{for(var i in that.jsRunSequence){if(requestingModules[that.jsRunSequence[i].name]){that.jsRunSequence[i].status="failed"}}that.runjs()}}};xhr.send(null)}this.runjs()};lsloader.runCombo=function(comboCode,requestingModules){comboCode=comboCode.split("/*combojs*/");comboCode.shift();for(var k in this.jsRunSequence){if(!!requestingModules[this.jsRunSequence[k].name]&&!!comboCode[0]){this.jsRunSequence[k].status="comboJS";this.jsRunSequence[k].code=comboCode[0];this.setLS(this.jsRunSequence[k].name,this.jsRunSequence[k].path+versionString+comboCode[0]);comboCode.shift()}}this.runjs()}})();</script>
<!-- Import CSS & jQuery -->
<style id="css/material.min.css"></style><script>if(typeof window.lsLoadCSSMaxNums === "undefined")window.lsLoadCSSMaxNums = 0;window.lsLoadCSSMaxNums++;lsloader.load("css/material.min.css","/css/material.min.css?fJTiM/K1J3dWIruo3pxtAw==",function(){if(typeof window.lsLoadCSSNums === "undefined")window.lsLoadCSSNums = 0;window.lsLoadCSSNums++;if(window.lsLoadCSSNums == window.lsLoadCSSMaxNums)document.documentElement.style.display="";})</script>
<style id="css/style.min.css"></style><script>if(typeof window.lsLoadCSSMaxNums === "undefined")window.lsLoadCSSMaxNums = 0;window.lsLoadCSSMaxNums++;lsloader.load("css/style.min.css","/css/style.min.css?oCSEO3ST+aEypEwttTDI9g==",function(){if(typeof window.lsLoadCSSNums === "undefined")window.lsLoadCSSNums = 0;window.lsLoadCSSNums++;if(window.lsLoadCSSNums == window.lsLoadCSSMaxNums)document.documentElement.style.display="";})</script>
<style>
</style>
<!-- Config CSS -->
<!-- Other Styles -->
<style>
body, html {
font-family: Roboto, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}
a {
color: #00838F;
}
.mdl-card__media,
#search-label,
#search-form-label:after,
#scheme-Paradox .hot_tags-count,
#scheme-Paradox .sidebar_archives-count,
#scheme-Paradox .sidebar-colored .sidebar-header,
#scheme-Paradox .sidebar-colored .sidebar-badge{
background-color: #0097A7 !important;
}
/* Sidebar User Drop Down Menu Text Color */
#scheme-Paradox .sidebar-colored .sidebar-nav>.dropdown>.dropdown-menu>li>a:hover,
#scheme-Paradox .sidebar-colored .sidebar-nav>.dropdown>.dropdown-menu>li>a:focus {
color: #0097A7 !important;
}
#post_entry-right-info,
.sidebar-colored .sidebar-nav li:hover > a,
.sidebar-colored .sidebar-nav li:hover > a i,
.sidebar-colored .sidebar-nav li > a:hover,
.sidebar-colored .sidebar-nav li > a:hover i,
.sidebar-colored .sidebar-nav li > a:focus i,
.sidebar-colored .sidebar-nav > .open > a,
.sidebar-colored .sidebar-nav > .open > a:hover,
.sidebar-colored .sidebar-nav > .open > a:focus,
#ds-reset #ds-ctx .ds-ctx-entry .ds-ctx-head a {
color: #0097A7 !important;
}
.toTop {
background: #757575 !important;
}
.material-layout .material-post>.material-nav,
.material-layout .material-index>.material-nav,
.material-nav a {
color: #757575;
}
#scheme-Paradox .MD-burger-layer {
background-color: #757575;
}
#scheme-Paradox #post-toc-trigger-btn {
color: #757575;
}
.post-toc a:hover {
color: #00838F;
text-decoration: underline;
}
</style>
<!-- Theme Background Related-->
<style>
body{
background-image: url(/img/bg.png);
}
</style>
<!-- Fade Effect -->
<style>
.fade {
transition: all 800ms linear;
-webkit-transform: translate3d(0,0,0);
-moz-transform: translate3d(0,0,0);
-ms-transform: translate3d(0,0,0);
-o-transform: translate3d(0,0,0);
transform: translate3d(0,0,0);
opacity: 1;
}
.fade.out{
opacity: 0;
}
</style>
<!-- Import Font -->
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"rel="stylesheet">
<script>lsloader.load("js/jquery.min.js","/js/jquery.min.js?qcusAULNeBksqffqUM2+Ig==")</script>
<script>function Queue(){this.dataStore=[];this.offer=b;this.poll=d;this.execNext=a;this.debug=false;this.startDebug=c;function b(e){if(this.debug){console.log("Offered a Queued Function.")}if(typeof e==="function"){this.dataStore.push(e)}else{console.log("You must offer a function.")}}function d(){if(this.debug){console.log("Polled a Queued Function.")}return this.dataStore.shift()}function a(){var e=this.poll();if(e!==undefined){if(this.debug){console.log("Run a Queued Function.")}e()}}function c(){this.debug=true}}var queue=new Queue();</script>
<!-- Analytics -->
<!-- Custom Head -->
<link rel="stylesheet" href="/css/prism.css" type="text/css"></head>
<body id="scheme-Paradox" class="lazy">
<div class="material-layout mdl-js-layout has-drawer is-upgraded">
<!-- Main Container -->
<main class="material-layout__content" id="main">
<!-- Top Anchor -->
<div id="top"></div>
<!-- Hamburger Button -->
<button class="MD-burger-icon sidebar-toggle">
<span class="MD-burger-layer"></span>
</button>
<!-- Index Module -->
<div class="material-index mdl-grid">
<!-- Paradox Header -->
<!-- Daily pic -->
<div class="mdl-card mdl-shadow--2dp daily-pic mdl-cell mdl-cell--8-col index-top-block">
<!-- Pic & Slogan -->
<div class="mdl-card__media mdl-color-text--grey-50" style="background-image:url(https://api.i-meto.com/bing)">
<!-- <div class="mdl-card__media mdl-color-text--grey-50" style="background-image:url(/img/daily_pic.png)"> -->
<p class="index-top-block-slogan"><a href="#">
Hi, nice to meet you
</a></p>
</div>
<!-- Avatar & Name -->
<div class="mdl-card__supporting-text meta mdl-color-text--grey-600">
<!-- Author Avatar -->
<div id="author-avatar">
<img src="/img/avatar.png" width="32px" height="32px" alt="avatar">
</div>
<div>
<strong>zhaodongxx</strong>
</div>
</div>
</div>
<!-- Blog info -->
<div class="mdl-card mdl-shadow--2dp something-else mdl-cell mdl-cell--8-col mdl-cell--4-col-desktop index-top-block">
<!-- Search -->
<!-- Local -->
<div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable" method="post" action="">
<label id="search-label" class="mdl-button mdl-js-ripple-effect mdl-js-button mdl-button--fab mdl-color--accent mdl-shadow--4dp" for="search">
<i class="material-icons mdl-color-text--white" role="presentation">search</i>
</label>
<form autocomplete="off" id="search-form" class="mdl-textfield__expandable-holder">
<input type="text" id="search" class="form-control mdl-textfield__input search-input" name="q" results="0" placeholder=""/>
<label id="search-form-label" class="mdl-textfield__label" for="search"></label>
</form>
</div>
<div id="local-search-result"></div>
<!-- LOGO -->
<div class="something-else-logo mdl-color--white mdl-color-text--grey-600">
<a href="#" target="_blank">
<img src="/img/logo.png" alt="logo" />
</a>
</div>
<!-- Infomation -->
<div class="mdl-card__supporting-text meta meta--fill mdl-color-text--grey-600">
<!-- Blog Title -->
<div>
<strong>zhaodongxx's Blog</strong>
</div>
<div class="section-spacer"></div>
<!-- Pages -->
<button id="show-pages-button" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon">
<i class="material-icons" role="presentation">view_carousel</i>
<span class="visuallyhidden">Pages</span>
</button>
<ul class="mdl-menu mdl-js-menu mdl-menu--bottom-right" for="show-pages-button">
<a class="index_share-link" href="/timeline" title="归档">
<li class="mdl-menu__item mdl-js-ripple-effect">
归档
</li>
</a>
<a class="index_share-link" href="/tags" title="标签云">
<li class="mdl-menu__item mdl-js-ripple-effect">
标签云
</li>
</a>
</ul>
<!-- Menu -->
<button id="menubtn" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon">
<i class="material-icons" role="presentation">more_vert</i>
<span class="visuallyhidden">show menu</span>
</button>
<ul class="mdl-menu mdl-js-menu mdl-menu--bottom-right" for="menubtn">
<!-- All Site UV -->
<a class="index_share-link" href="#">
<li class="mdl-menu__item mdl-js-ripple-effect">
<span id="busuanzi_container_site_uv">
<span id="busuanzi_value_site_uv"></span> 浏览量
</span>
</li>
</a>
<a class="index_share-link" href="http://service.weibo.com/share/share.php?appkey=&title=zhaodongxx's Blog&url=http://blog.zhaodongxx.top/&pic=&searchPic=false&style=simple" target="_blank">
<li class="mdl-menu__item mdl-js-ripple-effect">
分享到微博
</li>
</a>
<a class="index_share-link" href="https://twitter.com/intent/tweet?text=zhaodongxx's Blog&url=http://blog.zhaodongxx.top/&via=zhaodongxx" target="_blank">
<li class="mdl-menu__item mdl-js-ripple-effect">
分享到 Twitter
</li>
</a>
<a class="index_share-link" href="https://www.facebook.com/sharer/sharer.php?u=http://blog.zhaodongxx.top/index.html" target="_blank">
<li class="mdl-menu__item mdl-js-ripple-effect">
分享到 Facebook
</li>
</a>
<a class="index_share-link" href="https://plus.google.com/share?url=http://blog.zhaodongxx.top/" target="_blank">
<li class="mdl-menu__item mdl-js-ripple-effect">
分享到 Google+
</li>
</a>
</ul>
</div>
</div>
<div class="locate-thumbnail-symbol"></div>
<!-- Pin on top -->
<!-- Normal Post -->
<!-- Paradox Thumbnail -->
<div class="post_entry-module mdl-card mdl-shadow--2dp mdl-cell mdl-cell--12-col fade out">
<!-- Post Thumbnail -->
<!-- Random Thumbnail -->
<div class="post_thumbnail-random mdl-card__media mdl-color-text--grey-50">
<!-- Post Title -->
<p class="article-headline-p"><a href="/2018/12/16/SpringBoot获得Maven-pom中版本信息和编译时间戳/">SpringBoot获得Maven-pom中版本号和编译时间戳</a></p>
</div>
<!-- Post Excerpt -->
<div class="mdl-color-text--grey-600 mdl-card__supporting-text post_entry-content">
这篇文章首先介绍了在SpringBoot中如何获得项目的编译时间和版本号,并向外提供接口,然后介绍了介绍了新版maven获得时间戳时区错误的解决方案,最后介绍了把时间戳加到包名的两种方法。
SpringBoot项目获得编译时间戳和版本号,然后提供接口大概分为以下步骤:
在pom文件中获取maven的build time
配置pom,用maven中的属性渲染资源文件application.yml
提供接口
<span>
<a href="/2018/12/16/SpringBoot获得Maven-pom中版本信息和编译时间戳/" target="_self">阅读全文</a>
</span>
</div>
<!-- Post_entry Info-->
<div id="post_entry-info">
<div id="post_entry-left-info" class="mdl-card__supporting-text meta mdl-color-text--grey-600 ">
<!-- Author Avatar -->
<div id="author-avatar">
<img src="/img/avatar.png" width="44px" height="44px" alt="zhaodongxx's avatar">
</div>
<div>
<strong>zhaodongxx</strong>
<span>12月 16, 2018</span>
</div>
</div>
<div id="post_entry-right-info">
<!-- Category -->
<span class="post_entry-category">
<a class="post_category-link" href="/categories/SpringBoot/">SpringBoot</a>
</span>
<!-- Comment Number -->
|
<span class="post_entry-comment" >
<span class="ds-thread-count" data-thread-key="2018/12/16/SpringBoot获得Maven-pom中版本信息和编译时间戳/" data-count-type="comments"></span>
</span>
<!-- Post Views -->
<span class="post_entry-views">
</span>
</div>
</div>
</div>
<!-- Paradox Thumbnail -->
<div class="post_entry-module mdl-card mdl-shadow--2dp mdl-cell mdl-cell--12-col fade out">
<!-- Post Thumbnail -->
<!-- Random Thumbnail -->
<div class="post_thumbnail-random mdl-card__media mdl-color-text--grey-50">
<!-- Post Title -->
<p class="article-headline-p"><a href="/2018/09/26/Linux和Window间跨平台共享文件夹/">一行命令在Linux和Window间跨平台共享文件夹</a></p>
</div>
<!-- Post Excerpt -->
<div class="mdl-color-text--grey-600 mdl-card__supporting-text post_entry-content">
Python内置了一个简单的HTTP服务器SimpleHTTPServer,通过它可以把指定文件夹在局域网共享,不受操作系统的限制,通过浏览器就可以浏览、下载我们所共享的文件。亲测下载速度在10MB/s左右
这个方法还可以用于在电脑和手机间共享文件
<span>
<a href="/2018/09/26/Linux和Window间跨平台共享文件夹/" target="_self">阅读全文</a>
</span>
</div>
<!-- Post_entry Info-->
<div id="post_entry-info">
<div id="post_entry-left-info" class="mdl-card__supporting-text meta mdl-color-text--grey-600 ">
<!-- Author Avatar -->
<div id="author-avatar">
<img src="/img/avatar.png" width="44px" height="44px" alt="zhaodongxx's avatar">
</div>
<div>
<strong>zhaodongxx</strong>
<span>9月 26, 2018</span>
</div>
</div>
<div id="post_entry-right-info">
<!-- Category -->
<span class="post_entry-category">
<a class="post_category-link" href="/categories/生产力/">生产力</a>
</span>
<!-- Comment Number -->
|
<span class="post_entry-comment" >
<span class="ds-thread-count" data-thread-key="2018/09/26/Linux和Window间跨平台共享文件夹/" data-count-type="comments"></span>
</span>
<!-- Post Views -->
<span class="post_entry-views">
</span>
</div>
</div>
</div>
<!-- Paradox Thumbnail -->
<div class="post_entry-module mdl-card mdl-shadow--2dp mdl-cell mdl-cell--12-col fade out">
<!-- Post Thumbnail -->
<!-- Random Thumbnail -->
<div class="post_thumbnail-random mdl-card__media mdl-color-text--grey-50">
<!-- Post Title -->
<p class="article-headline-p"><a href="/2018/09/05/在Ubuntu用Docker部署汉化版GitLab/">在Ubuntu用Docker部署汉化版GitLab</a></p>
</div>
<!-- Post Excerpt -->
<div class="mdl-color-text--grey-600 mdl-card__supporting-text post_entry-content">
项目的开发通常都离不开对代码的版本管理。简单的方式可以在内网搭建一个仓库,然后添加各个组员的公钥来共同开发。这种方式不仅不利于管理和维护,而且功能过于单一。我们很希望有像GitHub这样的平台服务,功能齐全且好维护。但由于GFW的原因,有时候访问延迟过大。更重要的是,github免费版只支持开源项目,私有项目需要付费,而且比较昂贵,并不适合公司的项目。
GitLab 是一个类似与GitHub的项目,功能十分强大且界面美观,支持代码管理、issue管理、代码review和CI等功能。它提供免费的社区版和付费版,社区版足够满足我们的项目需求。本篇文章我将介绍GitLab社区版的安装和配置。
<span>
<a href="/2018/09/05/在Ubuntu用Docker部署汉化版GitLab/" target="_self">阅读全文</a>
</span>
</div>
<!-- Post_entry Info-->
<div id="post_entry-info">
<div id="post_entry-left-info" class="mdl-card__supporting-text meta mdl-color-text--grey-600 ">
<!-- Author Avatar -->
<div id="author-avatar">
<img src="/img/avatar.png" width="44px" height="44px" alt="zhaodongxx's avatar">
</div>
<div>
<strong>zhaodongxx</strong>
<span>9月 05, 2018</span>
</div>
</div>
<div id="post_entry-right-info">
<!-- Category -->
<span class="post_entry-category">
<a class="post_category-link" href="/categories/Git/">Git</a>
</span>
<!-- Comment Number -->
|
<span class="post_entry-comment" >
<span class="ds-thread-count" data-thread-key="2018/09/05/在Ubuntu用Docker部署汉化版GitLab/" data-count-type="comments"></span>
</span>
<!-- Post Views -->
<span class="post_entry-views">
</span>
</div>
</div>
</div>
<!-- Paradox Thumbnail -->
<div class="post_entry-module mdl-card mdl-shadow--2dp mdl-cell mdl-cell--12-col fade out">
<!-- Post Thumbnail -->
<!-- Random Thumbnail -->
<div class="post_thumbnail-random mdl-card__media mdl-color-text--grey-50">
<!-- Post Title -->
<p class="article-headline-p"><a href="/2018/09/03/Git笔记之标签/">Git笔记之标签</a></p>
</div>
<!-- Post Excerpt -->
<div class="mdl-color-text--grey-600 mdl-card__supporting-text post_entry-content">
发布一个版本时,我们通常先在版本库中打一个标签,这样建立了一个索引快捷的指向某一次提交。将来无论什么时候,取某个标签的版本,就是把那个打标签的时刻的历史版本取出来。其实它就是指向某个commit的指针,跟分支很像,但是分支可以移动,标签不能移动。
<span>
<a href="/2018/09/03/Git笔记之标签/" target="_self">阅读全文</a>
</span>
</div>
<!-- Post_entry Info-->
<div id="post_entry-info">
<div id="post_entry-left-info" class="mdl-card__supporting-text meta mdl-color-text--grey-600 ">
<!-- Author Avatar -->
<div id="author-avatar">
<img src="/img/avatar.png" width="44px" height="44px" alt="zhaodongxx's avatar">
</div>
<div>
<strong>zhaodongxx</strong>
<span>9月 03, 2018</span>
</div>
</div>
<div id="post_entry-right-info">
<!-- Category -->
<span class="post_entry-category">
<a class="post_category-link" href="/categories/Git/">Git</a>
</span>
<!-- Comment Number -->
|
<span class="post_entry-comment" >
<span class="ds-thread-count" data-thread-key="2018/09/03/Git笔记之标签/" data-count-type="comments"></span>
</span>
<!-- Post Views -->
<span class="post_entry-views">
</span>
</div>
</div>
</div>
<!-- Paradox Thumbnail -->
<div class="post_entry-module mdl-card mdl-shadow--2dp mdl-cell mdl-cell--12-col fade out">
<!-- Post Thumbnail -->
<!-- Random Thumbnail -->
<div class="post_thumbnail-random mdl-card__media mdl-color-text--grey-50">
<!-- Post Title -->
<p class="article-headline-p"><a href="/2018/08/30/定风波·莫听穿林打叶声/">定风波·莫听穿林打叶声</a></p>
</div>
<!-- Post Excerpt -->
<div class="mdl-color-text--grey-600 mdl-card__supporting-text post_entry-content">
定风波·莫听穿林打叶声
苏轼三月七日,沙湖道中遇雨。雨具先去,同行皆狼狈,余独不觉,已而遂晴,故作此词。
莫听穿林打叶声,何妨吟啸且徐行。竹杖芒鞋轻胜马,谁怕?一蓑烟雨任平生。料峭春风吹酒醒,微冷,山头斜照却相迎。回首向来萧瑟处,归去,也无风雨也无晴。
<span>
<a href="/2018/08/30/定风波·莫听穿林打叶声/" target="_self">阅读全文</a>
</span>
</div>
<!-- Post_entry Info-->
<div id="post_entry-info">
<div id="post_entry-left-info" class="mdl-card__supporting-text meta mdl-color-text--grey-600 ">
<!-- Author Avatar -->
<div id="author-avatar">
<img src="/img/avatar.png" width="44px" height="44px" alt="zhaodongxx's avatar">
</div>
<div>
<strong>zhaodongxx</strong>
<span>8月 30, 2018</span>
</div>
</div>
<div id="post_entry-right-info">
<!-- Category -->
<span class="post_entry-category">
<a class="post_category-link" href="/categories/闲篇/">闲篇</a>
</span>
<!-- Comment Number -->
|
<span class="post_entry-comment" >
<span class="ds-thread-count" data-thread-key="2018/08/30/定风波·莫听穿林打叶声/" data-count-type="comments"></span>
</span>
<!-- Post Views -->
<span class="post_entry-views">
</span>
</div>
</div>
</div>
<!-- Paradox Thumbnail -->
<div class="post_entry-module mdl-card mdl-shadow--2dp mdl-cell mdl-cell--12-col fade out">
<!-- Post Thumbnail -->
<!-- Random Thumbnail -->
<div class="post_thumbnail-random mdl-card__media mdl-color-text--grey-50">
<!-- Post Title -->
<p class="article-headline-p"><a href="/2018/08/28/React+antd:为表格添加成组标记/">React+antd:为表格添加成组标记</a></p>
</div>
<!-- Post Excerpt -->
<div class="mdl-color-text--grey-600 mdl-card__supporting-text post_entry-content">
最近在做前端开发的时候遇到一个需求:对后端传回的数据中满足条件的相邻行用符号连接起来,表示关联关系。我是个前端新人,因项目需要接手前端开发工作,为了实现这个需求颇费了一番功夫。现在记录下来方便后来者。
这篇文章首先用原生CSS实现了这个需求,然后在React工程中的antd表格组件中实际应用。
<span>
<a href="/2018/08/28/React+antd:为表格添加成组标记/" target="_self">阅读全文</a>
</span>
</div>
<!-- Post_entry Info-->
<div id="post_entry-info">
<div id="post_entry-left-info" class="mdl-card__supporting-text meta mdl-color-text--grey-600 ">
<!-- Author Avatar -->
<div id="author-avatar">
<img src="/img/avatar.png" width="44px" height="44px" alt="zhaodongxx's avatar">
</div>
<div>
<strong>zhaodongxx</strong>
<span>8月 28, 2018</span>
</div>
</div>
<div id="post_entry-right-info">
<!-- Category -->
<span class="post_entry-category">
<a class="post_category-link" href="/categories/React/">React</a>
</span>
<!-- Comment Number -->
|
<span class="post_entry-comment" >
<span class="ds-thread-count" data-thread-key="2018/08/28/React+antd:为表格添加成组标记/" data-count-type="comments"></span>
</span>
<!-- Post Views -->
<span class="post_entry-views">
</span>
</div>
</div>
</div>
<!-- Paradox Thumbnail -->
<div class="post_entry-module mdl-card mdl-shadow--2dp mdl-cell mdl-cell--12-col fade out">
<!-- Post Thumbnail -->
<!-- Random Thumbnail -->
<div class="post_thumbnail-random mdl-card__media mdl-color-text--grey-50">
<!-- Post Title -->
<p class="article-headline-p"><a href="/2018/07/20/蚂蚁框架表格组件行合并代码示例/">蚂蚁框架之动态合并行</a></p>
</div>
<!-- Post Excerpt -->
<div class="mdl-color-text--grey-600 mdl-card__supporting-text post_entry-content">
在web开发中,表格的行合并是一个很常见的需求。蚂蚁框架也提供了这种功能,但是文档中的示例代码却和我想象中的相差甚远,如下所示,它是通过一种很笨的办法实现的行合并。这样当表格的数据源是动态获取的,我们就没有办法动态的合并行。
<span>
<a href="/2018/07/20/蚂蚁框架表格组件行合并代码示例/" target="_self">阅读全文</a>
</span>
</div>
<!-- Post_entry Info-->
<div id="post_entry-info">
<div id="post_entry-left-info" class="mdl-card__supporting-text meta mdl-color-text--grey-600 ">
<!-- Author Avatar -->
<div id="author-avatar">
<img src="/img/avatar.png" width="44px" height="44px" alt="zhaodongxx's avatar">
</div>
<div>
<strong>zhaodongxx</strong>
<span>7月 20, 2018</span>
</div>
</div>
<div id="post_entry-right-info">
<!-- Category -->
<span class="post_entry-category">
<a class="post_category-link" href="/categories/React/">React</a>
</span>
<!-- Comment Number -->
|
<span class="post_entry-comment" >
<span class="ds-thread-count" data-thread-key="2018/07/20/蚂蚁框架表格组件行合并代码示例/" data-count-type="comments"></span>
</span>
<!-- Post Views -->
<span class="post_entry-views">
</span>
</div>
</div>
</div>
<!-- Paradox Thumbnail -->
<div class="post_entry-module mdl-card mdl-shadow--2dp mdl-cell mdl-cell--12-col fade out">
<!-- Post Thumbnail -->
<!-- Random Thumbnail -->
<div class="post_thumbnail-random mdl-card__media mdl-color-text--grey-50">
<!-- Post Title -->
<p class="article-headline-p"><a href="/2018/07/18/Spring-Boot2整合Shiro(2):加密/">Spring Boot2整合Shiro(2):加密</a></p>
</div>
<!-- Post Excerpt -->
<div class="mdl-color-text--grey-600 mdl-card__supporting-text post_entry-content">
因为新项目没有继续用Shiro框架,再加上人比较懒,所以就没有再写新的关于 Shiro 的文章。但是今天发现已经有几个朋友在 GitHub 上给示例项目加星,也有留言咨询的。我很高兴这篇文章能够帮到大家,也再次让我感受到把在工作中学到的东西写出来,和大家分享是这么一件令人高兴的事,用知乎上的话说这是一件长半衰期的事。我会继续写下去的
前言上一篇文章,我们用 Spring Boot2 框架搭建了一个 web 项目,并且使用 Shiro 作为安全管理框架实现了用户的身份认证,也就是登录。这篇文章首先简要介绍了密码储存的演进史,然后结合代码介绍了在 Shiro 中怎么使用 MD5、MD5 加盐、 Bcrypt 等三种逐渐进步的方法加密密码。
<span>
<a href="/2018/07/18/Spring-Boot2整合Shiro(2):加密/" target="_self">阅读全文</a>
</span>
</div>
<!-- Post_entry Info-->
<div id="post_entry-info">
<div id="post_entry-left-info" class="mdl-card__supporting-text meta mdl-color-text--grey-600 ">
<!-- Author Avatar -->
<div id="author-avatar">
<img src="/img/avatar.png" width="44px" height="44px" alt="zhaodongxx's avatar">
</div>
<div>
<strong>zhaodongxx</strong>
<span>7月 18, 2018</span>
</div>
</div>
<div id="post_entry-right-info">
<!-- Category -->
<span class="post_entry-category">
<a class="post_category-link" href="/categories/Shiro/">Shiro</a>
</span>
<!-- Comment Number -->
|
<span class="post_entry-comment" >
<span class="ds-thread-count" data-thread-key="2018/07/18/Spring-Boot2整合Shiro(2):加密/" data-count-type="comments"></span>
</span>
<!-- Post Views -->
<span class="post_entry-views">
</span>
</div>
</div>
</div>
<!-- Paradox Thumbnail -->
<div class="post_entry-module mdl-card mdl-shadow--2dp mdl-cell mdl-cell--12-col fade out">
<!-- Post Thumbnail -->
<!-- Random Thumbnail -->
<div class="post_thumbnail-random mdl-card__media mdl-color-text--grey-50">
<!-- Post Title -->
<p class="article-headline-p"><a href="/2018/06/12/MongoDB常用命令/">MongoDB常用命令</a></p>
</div>
<!-- Post Excerpt -->
<div class="mdl-color-text--grey-600 mdl-card__supporting-text post_entry-content">
恢复表
<span>
<a href="/2018/06/12/MongoDB常用命令/" target="_self">阅读全文</a>
</span>
</div>