-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
1106 lines (754 loc) · 28.8 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 lang="en">
<!-- Head tag -->
<head><meta name="generator" content="Hexo 3.8.0">
<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="关于前端与设计 | 这里是 @LCL 李成龙 的个人博客,与你一起发现更大的世界。">
<meta name="keyword" content="LCL Blog, 个人网站, 互联网, 前端, 设计, 产品 ,李成龙 ,博客 ,微博,前端工程师,web,pc,html,css,js">
<link rel="shortcut icon" href="/img/favicon.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>
李成龙的博客 | Lcl Blog
</title>
<link rel="canonical" href="https://lcl-101.github.io/">
<!-- Bootstrap Core CSS -->
<link rel="stylesheet" href="/css/bootstrap.min.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="/css/beantech.min.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="" id='body'>
<div id="ProgressBar" style="position: fixed;top: 0;width: 100%;z-index: 1;line-height: 0;font-size: 0;"></div>
<!-- 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="/">Lcl Blog</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="/">Home</a>
</li>
<li>
<a href="/about/">About</a>
</li>
<li>
<a href="/archive/">Archives</a>
</li>
<li>
<a href="/portfolio/">Portfolio</a>
</li>
<li>
<a href="/tags/">Tags</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>
<div id="page_content">
<!-- Modified by Yu-Hsuan Yen -->
<!-- Post Header -->
<style type="text/css">
header.intro-header{
background-image: url('/img/header_img/home-bg.jpg')
/*config*/
}
</style>
<header class="intro-header header-top">
<!-- Signature -->
<div id="signature">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="site-heading">
<h1>Lcl Blog</h1>
<!--<hr class="small">-->
<span class="subheading">李成龙的博客 | Lcl Blog</span>
</div>
</div>
</div>
</div>
</div>
</header>
<!-- 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="post-preview">
<a href="/2020/04/09/movies/">
<h2 class="post-title">
明日之后建筑大师视频搜集
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
以为视频地址链接,点击即可观看
视频#
标题
地址
适合的庄园等级
胡桃里
https://www.bilibili.com/video/BV15p4y1C7MF/?p=1
4-5级
...
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by lcl on
2020-04-09
</p>
<!-- <div class="tags">
<a href="/tags/#play" title="play">play</a>
</div> -->
</div>
<hr>
<div class="post-preview">
<a href="/2019/01/11/operator/">
<h2 class="post-title">
位运算符
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
& 按位与 (0为false,1为true)#
对应位同为1位1
1 & 3的结果为1
1的二进制表示为 0 0 0 0 0 0 1
3的二进制表示为 0 0 0 0 0 1 1
0 0 0 0 0 0 1
and
0 0 0 0 0 1 1
=
0 0 0 0 0 0 1
| 按位或#
对应位中任意一个为1,则值为1
1 | 3的结果为3
0 ......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by lcl on
2019-01-11
</p>
<!-- <div class="tags">
<a href="/tags/#js" title="js">js</a>
</div> -->
</div>
<hr>
<div class="post-preview">
<a href="/2019/01/08/throttle/">
<h2 class="post-title">
js 节流函数
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
在浏览器中,会经常频繁的超控DOM,导致渲染变慢,甚至浏览器奔溃.
测试场景#
window对象的resize、scroll事件
在《JavaScript高级程序设计》中有专门应对此问题的函数节流
123456function throttle(method,context){ clearTimeout(method.tId); method.tId=set......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by lcl on
2019-01-08
</p>
<!-- <div class="tags">
<a href="/tags/#js" title="js">js</a>
</div> -->
</div>
<hr>
<div class="post-preview">
<a href="/2018/07/19/css/">
<h2 class="post-title">
论css的重要性
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
没有什么比图片更有说服力了#
...
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by lcl on
2018-07-19
</p>
<!-- <div class="tags">
<a href="/tags/#css" title="css">css</a>
</div> -->
</div>
<hr>
<div class="post-preview">
<a href="/2018/07/12/smallprogram/">
<h2 class="post-title">
小程序问题搜集
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
开发过程中收录的小程序问题#
强制要求请求全部为https
小程序有自己定义的标签,且不支持HTML标签
web-view
打开的域名没有在小程序管理后台设置业务域名(注意是业务域名,不是服务器域名)
web-view空白问题,请升级微信客户端到 6.5.16
打开的页面必须为https服务
页面可以包含iframe,但是iframe的地址必须为业务域名
兼容
基础库 1.6.4 开始......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by lcl on
2018-07-12
</p>
<!-- <div class="tags">
<a href="/tags/#小程序" title="小程序">小程序</a>
</div> -->
</div>
<hr>
<div class="post-preview">
<a href="/2018/05/19/tour/">
<h2 class="post-title">
天津一日游方案
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
天津一日游方案
方案一:#
可以先去天津意大利风情街 游玩时间大概2-3个小时,路途中,可以去看看天津的世纪钟
在贴几张意大利风情街的美图
差不多上午就在这里了,下午可以考虑去天津意劝业场,可以打车过去,
天津劝业场位于和平区交口的商业中心区
这里就是一整条街的商场,可以慢慢逛,游玩时间差不多3-4个小时,贴几这里的图片
这个蜡笔小心就只卖100多,下次去了一定要买一个哈哈......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by lcl on
2018-05-19
</p>
<!-- <div class="tags">
<a href="/tags/#play" title="play">play</a>
</div> -->
</div>
<hr>
<div class="post-preview">
<a href="/2017/03/22/password/">
<h2 class="post-title">
浏览器自动填充表单问题
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
浏览器记住密码的机制#
首先理解浏览器保存密码和自动填充是两个机制,记住密码机制需要遵循同源策略
测试浏览器(mac)#
浏览器
版本
google
56.0.2924.87 (64-bit)
firefox
51.0.1 (64 位)
safari
10.0 (12602.1.50.0.10)
ie(win)
7-8
首先要分析浏览器是如何记住这个表单......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by lcl on
2017-03-22
</p>
<!-- <div class="tags">
<a href="/tags/#javascript" title="javascript">javascript</a>
<a href="/tags/#html" title="html">html</a>
</div> -->
</div>
<hr>
<div class="post-preview">
<a href="/2016/12/23/slide/">
<h2 class="post-title">
基于面向对象轮播图插件
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
最近一直在研究面向对象的编程,在学习期间写了一个简单的基于jquery的轮播插件slide.js
.----.
_.'__ `.
.--($)($$)---/#\
.' @ /###\
: , #####
`-..__.-' _.-\###/
`;_: `"'
......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by lcl on
2016-12-23
</p>
<!-- <div class="tags">
<a href="/tags/#javascript" title="javascript">javascript</a>
</div> -->
</div>
<hr>
<div class="post-preview">
<a href="/2016/08/01/ruby-rvm-jekyll/">
<h2 class="post-title">
ruby,rvm,jekyll的安装
</h2>
<h3 class="post-subtitle">
Rome is not built in a day
</h3>
<div class="post-content-preview">
“It’s my style. ”
在搭建博客环境中遇到的种种坑,以及各种解决办法,由于本人用的是mac本,windows紧作为参考.
rvm是什么?为什么要安装rvm呢,因为rvm可以让你拥有多个版本的Ruby,并且可以在多个版本之间自由切换。
第一步:安装rvm#
12$ curl -L get.rvm.io | bash -s stable$ source ~/.rvm/scrip......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by lcl on
2016-08-01
</p>
<!-- <div class="tags">
<a href="/tags/#git page" title="git page">git page</a>
<a href="/tags/#前端" title="前端">前端</a>
</div> -->
</div>
<hr>
<div class="post-preview">
<a href="/2016/07/21/note/">
<h2 class="post-title">
note(放一些有用的小技巧)
</h2>
<h3 class="post-subtitle">
Soon learn, soon forgotten
</h3>
<div class="post-content-preview">
“在这里滑动下滑”
这里会放一些平时经常用的一些js,html,css等的方法,和动画.
js部分
保存两位小数#
12345678910function changeTwoDecimal(x){ var f_x = parseFloat(x); if (isNaN(f_x)) { return false; } ......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by lcl on
2016-07-21
</p>
<!-- <div class="tags">
<a href="/tags/#javascript" title="javascript">javascript</a>
<a href="/tags/#css" title="css">css</a>
<a href="/tags/#html" title="html">html</a>
</div> -->
</div>
<!-- Pager -->
<ul class="pager">
<li class="next">
<a href="/archives/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 class="hidden-xs hidden-sm visible-md visible-lg">
<!-- no hr -->
<h5><a href="/tags/">FEATURED TAGS</a></h5>
<div class="tags">
<a href="/tags/#javascript" title="javascript" rel="4">javascript</a>
<a href="/tags/#css" title="css" rel="2">css</a>
<a href="/tags/#play" title="play" rel="2">play</a>
<a href="/tags/#html" title="html" rel="2">html</a>
<a href="/tags/#js" title="js" rel="2">js</a>
</div>
<hr>
</section>
<!-- Short About -->
<section class="hidden-xs hidden-sm visible-md visible-lg">
<h5><a href="/about/">ABOUT ME</a></h5>
<div class="short-about">
<img id="avatar_pic" src="/img/lcl.jpg">
<p>写写代码,做做设计,看看产品。世界那么大,我想去看看。</p>
<!-- SNS Link -->
<ul class="list-inline">
<li>
<a target="_blank" href="https://www.zhihu.com/people/li-cheng-long-3-99">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-stack-1x fa-inverse">知</i>
</span>
</a>
</li>
<li>
<a target="_blank" href="http://weibo.com/3932790473">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-weibo fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li>
<a target="_blank" href="https://www.facebook.com/100009375981606">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li>
<a target="_blank" href="https://github.com/lcl-101">
<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>
<hr>
</section>
<section class="hidden-xs hidden-sm visible-md visible-lg">
<h5>RECENT POSTS</h5>
<div class="widget">
<ul>
<li>
<a href="/2020/04/09/movies/">明日之后建筑大师视频搜集</a>
</li>
<li>
<a href="/2019/01/11/operator/">位运算符</a>
</li>
<li>
<a href="/2019/01/08/throttle/">js 节流函数</a>
</li>
<li>
<a href="/2018/07/19/css/">论css的重要性</a>
</li>
<li>
<a href="/2018/07/12/smallprogram/">小程序问题搜集</a>
</li>
</ul>
</div>
<hr>
</section>
<!-- Friends Blog -->
<section class="hidden-xs hidden-sm visible-md visible-lg">
<h5>FRIENDS</h5>
<ul class="list-inline">
<li><a href="http://chengfangpeng.win/" target="_blank">X_ray</a></li>
<li><a href="http://iliubang.github.io/" target="_blank">刘邦</a></li>
<li><a href="http://chbless.github.io/blog" target="_blank">陈辉</a></li>
<li><a href="https://lcl101.cn/" target="_blank">李成龙</a></li>
</ul>
</section>
</div>
</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://www.zhihu.com/people/li-cheng-long-3-99">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-stack-1x fa-inverse">知</i>
</span>
</a>
</li>
<li>
<a target="_blank" href="http://weibo.com/3932790473">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-weibo fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li>
<a target="_blank" href="https://www.facebook.com/100009375981606">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li>
<a target="_blank" href="https://github.com/lcl-101">
<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 © LiChengLong 2020
</p>
</div>
</div>
</div>
</footer>
<div style="display:none;">
<iframe src width="200" height="200" id="myframe"></iframe>
</div>
<!-- jQuery -->
<script src="/js/jquery.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="/js/bootstrap.min.js"></script>
<!-- Custom Theme JavaScript -->
<script src="/js/hux-blog.min.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://lcl-101.github.io/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 -->
<script>
// dynamic User by Hux
var _gaId = '{{ site.ga_track_id }}';
var _gaDomain = '{{ site.ga_domain }}';
// Originial
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', _gaId, _gaDomain);
ga('send', 'pageview');
</script>
<!-- Baidu Tongji -->
<script>
// dynamic User by Hux
var _baId = '{{ site.ba_track_id }}';