-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
945 lines (605 loc) · 23.9 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
<!DOCTYPE html>
<html lang="en">
<!-- Head tag -->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="google-site-verification" content="xBT4GhYoi5qRD5tr338pgPM5OWHHIDR6mNg1a3euekI" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="keyword" content="">
<link rel="shortcut icon" href="/img/ironman-draw.png">
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<title>
</title>
<link rel="canonical" href="https://dragonskyhydra.github.io/">
<!-- Bootstrap Core CSS -->
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.4.1/css/bootstrap.min.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="/css/beantech.min.css">
<link rel="stylesheet" href="/css/donate.css">
<link rel="stylesheet" href="/css/w3.css">
<!-- Pygments Highlight CSS -->
<link rel="stylesheet" href="/css/highlight.css">
<link rel="stylesheet" href="/css/widget.css">
<link rel="stylesheet" href="/css/rocket.css">
<link rel="stylesheet" href="/css/signature.css">
<link rel="stylesheet" href="/css/toc.css">
<!-- Custom Fonts -->
<!-- <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"> -->
<!-- Hux change font-awesome CDN to qiniu -->
<link href="https://cdn.staticfile.org/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!-- Hux Delete, sad but pending in China
<link href='http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/
css'>
-->
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- ga & ba script hoook -->
<script></script>
</head>
<!-- hack iOS CSS :active style -->
<body ontouchstart="">
<!-- Modified by Yu-Hsuan Yen -->
<!-- Post Header -->
<style type="text/css">
header.intro-header{
}
.post-heading{
padding:20px;
}
.person {
border: 10px solid transparent;
margin-bottom: 25px;
width: 80%;
height: 80%;
opacity: 0.7;
}
.person:hover {
border-color: #f1f1f1;
}
</style>
<header id="headerid" class="w3-indigo intro-header" style="position:relative;">
<!-- Signature -->
<div class="container">
<div class=" row" >
<canvas id="particles-js-canvas" style="position:absolute;z-index:1;top:0px;left:0px;" width="100%" height="50%"></canvas>
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1" style="z-index:2;">
<div class="site-heading" style="padding:40px">
<h1>数据之道</h1>
<!--<hr class="small">-->
<span class="subheading">学习和研究</span>
</div>
</div>
</div>
</div>
</header>
<!-- Navigation -->
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">数据之道</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<!-- Known Issue, found by Hux:
<nav>'s height woule be hold on by its content.
so, when navbar scale out, the <nav> will cover tags.
also mask any touch event of tags, unfortunately.
-->
<div id="huxblog_navbar">
<div class="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="/">Homepage</a>
</li>
<li>
<a href="#Java">Java</a>
</li>
<li>
<a href="#Hadoop">Hadoop</a>
</li>
<li>
<a href="#Greenplum">GP</a>
</li>
<li>
<a href="#RDBMS">RDBMS</a>
</li>
<li>
<a href="#Linux">Linux</a>
</li>
</ul>
</div>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<script>
// Drop Bootstarp low-performance Navbar
// Use customize navbar with high-quality material design animation
// in high-perf jank-free CSS3 implementation
var $body = document.body;
var $toggle = document.querySelector('.navbar-toggle');
var $navbar = document.querySelector('#huxblog_navbar');
var $collapse = document.querySelector('.navbar-collapse');
$toggle.addEventListener('click', handleMagic)
function handleMagic(e){
if ($navbar.className.indexOf('in') > 0) {
// CLOSE
$navbar.className = " ";
// wait until animation end.
setTimeout(function(){
// prevent frequently toggle
if($navbar.className.indexOf('in') < 0) {
$collapse.style.height = "0px"
}
},400)
}else{
// OPEN
$collapse.style.height = "auto"
$navbar.className += " in";
}
}
</script>
<!-- Main Content -->
<!-- Main Content -->
<div class="container">
<div class="row">
<!-- USE SIDEBAR -->
<!-- Post Container -->
<div class="
col-lg-8 col-lg-offset-1
col-md-8 col-md-offset-1
col-sm-12
col-xs-12
post-container
">
<!-- Main Content -->
<div class="w3-row-padding">
<a href="/2021/07/29/datacenter/">
<h2 class="post-title">
论企业信息化和数字化转型
</h2>
<h3 class="post-subtitle">
</h3>
</a>
<div>
<a href="/2021/07/29/datacenter/">
<div class="post-content-preview">
信息化和数字化信息化和数字化的区别数据作为企业的一种最重要最具价值的资产,已经受到广大认可。在国家新基建的号召下,数字化转型的口号甚嚣尘上,数据中台就是其中具象化的代表作。
数据中台是什么?我也看过不少文章,一直想寻求一个唯一解,到现在发现,这个概念还很难说有一个确定的、公共的定义。各家之言,每家都有自己的理解和解释。
但这些理论之中也有一些相似相通之处。数据中台,它的属性里一定是具有.........
</div>
</a>
<p class="post-meta">
Posted by hydra on
2021-07-29
</p>
</div>
</div>
<hr>
<div class="w3-row-padding">
<a href="/2020/04/07/hadoop-notes1/">
<h2 class="post-title">
Hadoop生态笔记(1)
</h2>
<h3 class="post-subtitle">
</h3>
</a>
<div>
<a href="/2020/04/07/hadoop-notes1/">
<div class="post-content-preview">
Hadoop生态,数据存储。数据采集,转换(存储容器格式)Flume、kafka、sqoop
文件系统HDFS
数据格式1、文本数据CSV
2、结构化文本数据XML和JSON,这种文件很难分片,Hadoop没有为这类格式提供内置的InputFormat。使用类似Avro的容器格式。将数据转换为Avro的内容,从而为数据存储与数据处理提供更紧密、有效的方法。使用处理XML或JSON文件的.........
</div>
</a>
<p class="post-meta">
Posted by hydra on
2020-04-07
</p>
</div>
</div>
<hr>
<div class="w3-row-padding">
<a href="/2019/12/22/hive-notes2/">
<h2 class="post-title">
Hive-笔记(3)
</h2>
<h3 class="post-subtitle">
</h3>
</a>
<div>
<a href="/2019/12/22/hive-notes2/">
<div class="post-content-preview">
Hive正则表达式数据抽取笔记最近在处理一批数据时,原始数据很乱,没有规范化,需要进行按一定格式抽取,这必然就是正则的舞台了。
源内容:湖南.怀化地区虚拟站/燃煤/总有功/日电量@日电量筱溪/当日/电量湖南.沙田/日电量湖南.凤滩A2厂/当日/电量省网发电火电计划值500kV网损率全省网损率祁韶直流实际电量@日电量葛洲坝计划值湖南.常德地区虚拟站/打包.当日/电量
提取内容:怀化地区虚.........
</div>
</a>
<p class="post-meta">
Posted by hydra on
2019-12-22
</p>
</div>
</div>
<hr>
<div class="w3-row-padding">
<a href="/2019/12/22/hive-notes1/">
<h2 class="post-title">
Hive-笔记(2)
</h2>
<h3 class="post-subtitle">
</h3>
</a>
<div>
<a href="/2019/12/22/hive-notes1/">
<div class="post-content-preview">
Hive分组,列值拼成字符串这个之前其实已经提到过了,这次写文档遇到个需求,再巩固一下写法。
cd_var
cd_var_nm
岳阳市
岳阳县
岳阳市
平江县
岳阳市
湘阴县
岳阳市
华容县
省份、地市、区县加起来太多,写文档的时候,直接按着以上格式排列的话,太占地方了,需要处理如下
cd_var
cd_var_nm
岳阳市
岳阳县,平江县,湘阴.........
</div>
</a>
<p class="post-meta">
Posted by hydra on
2019-12-22
</p>
</div>
</div>
<hr>
<div class="w3-row-padding">
<a href="/2019/11/27/trees/">
<h2 class="post-title">
LSM-tree和B-tree笔记
</h2>
<h3 class="post-subtitle">
</h3>
</a>
<div>
<a href="/2019/11/27/trees/">
<div class="post-content-preview">
数据库核心:数据结构现在大家熟悉的两种数据库~传统关系型数据库与NoSQL数据库,对应着两个存储引擎家族,即日志结构的存储引擎和面向页的存储引擎,两种数据结构典型实现如LSM-tree 和 B-Tree。
LSM-tree和B-tree的优劣点LSM-treeLSM-Tree,Log-Structured Merge-Tree,日志结构的合并树。根据经验,LSM-tree通常对于写入更.........
</div>
</a>
<p class="post-meta">
Posted by hydra on
2019-11-27
</p>
</div>
</div>
<hr>
<div class="w3-row-padding">
<a href="/2019/11/24/vertica-about-with/">
<h2 class="post-title">
Vertica的with语句问题
</h2>
<h3 class="post-subtitle">
</h3>
</a>
<div>
<a href="/2019/11/24/vertica-about-with/">
<div class="post-content-preview">
关于Vertica使用CTE表达式所遇到的问题之一今天在工作中遇到一个玄学问题,是关于Vertica使用with语句的问题,语句如下:
123456789101112with a as ( select t1.c1, t1.c2,t2.c3 from table1 t1 join table2 t2 on t1.c3=t2.c3),b as (select * from t.........
</div>
</a>
<p class="post-meta">
Posted by hydra on
2019-11-24
</p>
</div>
</div>
<hr>
<div class="w3-row-padding">
<a href="/2019/11/13/sql1/">
<h2 class="post-title">
关于数据统计中的年累计运算
</h2>
<h3 class="post-subtitle">
</h3>
</a>
<div>
<a href="/2019/11/13/sql1/">
<div class="post-content-preview">
开窗函数实现数仓里有ads层,是需要我们建模后,从dwd层抽取需要的数据,组建应用宽表,以供后续使用。以下简化说明。
有资金事实表ads.ads_fact_fund_d,列city(城市),资金(happen_amt),交易日期(deal_dt)
需求: 输出宽表格式,按城市,按月,统计每月资金量,以及从年初到该月的年累计资金量。
12345678910111213with a .........
</div>
</a>
<p class="post-meta">
Posted by hydra on
2019-11-13
</p>
</div>
</div>
<hr>
<div class="w3-row-padding">
<a href="/2019/11/08/hive-row2col/">
<h2 class="post-title">
Hive分组行转列实现
</h2>
<h3 class="post-subtitle">
</h3>
</a>
<div>
<a href="/2019/11/08/hive-row2col/">
<div class="post-content-preview">
Hive行转列今天遇到一个业务需求,要将Hive里一个维表实现分组行转列,例,table_sample如下
cd_var
cd_var_nm
A班-01
小若
A班-02
小红
B班-01
小离
B班-02
小敏
B班-03
小昭
实现按班级分组行转列:
123456SELECT cdv,cdn[0] AS C1,cdn[1] AS C2,cdn[2] .........
</div>
</a>
<p class="post-meta">
Posted by hydra on
2019-11-08
</p>
</div>
</div>
<hr>
<div class="w3-row-padding">
<a href="/2019/11/04/vertica-copy/">
<h2 class="post-title">
Vertica 导入导出CSV文件
</h2>
<h3 class="post-subtitle">
</h3>
</a>
<div>
<a href="/2019/11/04/vertica-copy/">
<div class="post-content-preview">
copy 数据导入工具copy 命令无疑是最常用的导入工具了, 它是Vertica的bulk copy工具, 性能非常好. 可以直接从文本文件或者压缩文件导入数据,支持的压缩格式有: BZIP | GZIP | LZO | UNCOMPRESSED支持的文件格式有: csv | FIXEDWIDTH | json | ORC | parquet设置为json 格式设置 parser.
.........
</div>
</a>
<p class="post-meta">
Posted by hydra on
2019-11-04
</p>
</div>
</div>
<hr>
<div class="w3-row-padding">
<a href="/2019/11/03/java-map/">
<h2 class="post-title">
Java map
</h2>
<h3 class="post-subtitle">
</h3>
</a>
<div>
<a href="/2019/11/03/java-map/">
<div class="post-content-preview">
Java集合学习、其二要在List中根据name查找某个指定的Student的分数,最简单的方法是遍历List并判断name是否相等,然后返回指定元素:
123456789List<Student> list = ...Student target = null;for (Student s : list) { if ("Xiao Ming".equals(.........
</div>
</a>
<p class="post-meta">
Posted by hydra on
2019-11-03
</p>
</div>
</div>
<hr>
<!-- Pager -->
<ul class="pager">
<li class="next">
<a href="/page/2/">Older Posts →</a>
</li>
</ul>
<!-- 如果开启评论功能 -->
</div>
<!-- Sidebar Container -->
<div class="
col-lg-3 col-lg-offset-0
col-md-3 col-md-offset-0
col-sm-12
col-xs-12
sidebar-container
">
<!-- Featured Tags -->
<section>
<!-- no hr -->
<h5><a href="/tags/">Tags</a></h5>
<div class="tags">
<a href="/tags/#Hadoop" title="Hadoop" rel="3">Hadoop</a>
<a href="/tags/#ETL" title="ETL" rel="4">ETL</a>
<a href="/tags/#Hive" title="Hive" rel="2">Hive</a>
<a href="/tags/#Java" title="Java" rel="2">Java</a>
<a href="/tags/#RDBMS" title="RDBMS" rel="1">RDBMS</a>
<a href="/tags/#NoSQL" title="NoSQL" rel="1">NoSQL</a>
<a href="/tags/#Vertica" title="Vertica" rel="2">Vertica</a>
</div>
</section>
<hr>
<!-- Short About -->
<section class="visible-md visible-lg">
<!--<h5><a href="/about/">About me</a></h5>-->
<h5><a href="https://github.com/dragonskyhydra" target="_blank" rel="noopener">About me</a></h5>
<div class="short-about">
<img id = "avatar_pic" src="/img/avatar/timg.jpg" />
<p>[email protected]</p>
<!-- SNS Link -->
<ul class="list-inline">
<li>
<a target="_blank" href="https://github.com/dragonskyhydra">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
</ul>
</div>
</section>
<hr>
<h5>Recent posts</h3>
<div class="widget">
<ul>
<li>
<a href="/2021/07/29/datacenter/">论企业信息化和数字化转型</a>
</li>
<li>
<a href="/2020/04/07/hadoop-notes1/">Hadoop生态笔记(1)</a>
</li>
<li>
<a href="/2019/12/22/hive-notes2/">Hive-笔记(3)</a>
</li>
<li>
<a href="/2019/12/22/hive-notes1/">Hive-笔记(2)</a>
</li>
<li>
<a href="/2019/11/27/trees/">LSM-tree和B-tree笔记</a>
</li>
</ul>
</div>
<hr>
<h5>Achives</h5>
<div class="widget">
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/07/">七月 2021</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/04/">四月 2020</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/12/">十二月 2019</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/11/">十一月 2019</a><span class="archive-list-count">8</span></li></ul>
</div>
<hr>
<!-- Friends Blog -->
<h5>Friends</h5>
<ul class="list-inline">
<li><a href="https://github.com/dragonskyhydra" target="_blank">MyGithub</a></li>
</ul>
<hr>
</div>
</div>
</div>
<!-- Footer -->
<!-- Footer -->
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center">
<li>
<a target="_blank" href="https://github.com/dragonskyhydra">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
</ul>
<p class="copyright text-muted">
Copyright © hydra 2021
<br>
Powered by <a href="http://www.hexo.io" target="_blank" rel="noopener">Hexo</a>
<span style="display: inline-block; margin: 0 5px;">
<i class="fa fa-heart"></i>
</span>
Theme by <a href="https://github.com/kinggozhang/hexo-theme-ace" target="_blank" rel="noopener">ACE</a>
<i class="fa fa-eye" id="leancounter"></i>
</p>
</div>
</div>
</div>
</footer>
<!-- jQuery -->
<script src="https://cdn.staticfile.org/jquery/2.2.4/jquery.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.4.1/js/bootstrap.min.js"></script>
<!-- Custom Theme JavaScript -->
<script src="/js/hux-blog.min.js"></script>
<script src="/js/particles.js"></script>
<script src="/js/particles_config.js"></script>
<!-- async load function -->
<script>
function async(u, c) {
var d = document, t = 'script',
o = d.createElement(t),
s = d.getElementsByTagName(t)[0];
o.src = u;
if (c) { o.addEventListener('load', function (e) { c(null, e); }, false); }
s.parentNode.insertBefore(o, s);
}
</script>
<!--
Because of the native support for backtick-style fenced code blocks
right within the Markdown is landed in Github Pages,
From V1.6, There is no need for Highlight.js,
so Huxblog drops it officially.
- https://github.com/blog/2100-github-pages-now-faster-and-simpler-with-jekyll-3-0
- https://help.github.com/articles/creating-and-highlighting-code-blocks/
-->
<!--
<script>
async("http://cdn.bootcss.com/highlight.js/8.6/highlight.min.js", function(){
hljs.initHighlightingOnLoad();
})
</script>
<link href="http://cdn.bootcss.com/highlight.js/8.6/styles/github.min.css" rel="stylesheet">
-->
<!-- jquery.tagcloud.js -->
<script>
// only load tagcloud.js in tag.html
if($('#tag_cloud').length !== 0){
async("https://dragonskyhydra.github.io/index.html/js/jquery.tagcloud.js",function(){
$.fn.tagcloud.defaults = {
//size: {start: 1, end: 1, unit: 'em'},
color: {start: '#bbbbee', end: '#0085a1'},
};
$('#tag_cloud a').tagcloud();
})
}
</script>
<!--fastClick.js -->
<script>
async("https://cdn.bootcss.com/fastclick/1.0.6/fastclick.min.js", function(){
var $nav = document.querySelector("nav");
if($nav) FastClick.attach($nav);
})
</script>
<!-- Google Analytics -->
<!-- Baidu Tongji -->
<a id="rocket" href="#top" class=""></a>
<script type="text/javascript" src="/js/totop.js?v=1.0.0" async=""></script>
<script type="text/javascript" src="/js/toc.js?v=1.0.0" async=""></script>
<!-- Image to hack wechat -->
<img src="https://dragonskyhydra.github.io/img/icon_wechat.png" width="0" height="0" />
<!-- Migrate from head to bottom, no longer block render and still work -->
</body>
</html>