PageSourceSearch

https://mushank.github.io/page2/

html mushank.github.io collected 2026-10-03 09:38:59 UTC 27,714 bytes, 854 lines download raw bytes

1<!DOCTYPE html>
2<html lang="en">
3
4<head>
5    <meta charset="utf-8">
6    <meta http-equiv="X-UA-Compatible" content="IE=edge">
7    <meta name="google-site-verification" content="xBT4GhYoi5qRD5tr338pgPM5OWHHIDR6mNg1a3euekI" />
8    <meta name="viewport" content="width=device-width, initial-scale=1">
9    <meta name="description" content="关于移动开发与设计、生活与艺术 | Mushank, Mobile Dev & Design, Life & Art | 这里是 @Jack 的个人博客,与你一起发现更大的世界。">
10    <meta name="keyword"  content="Jack, MUSHANK, BLOG">
11    <link rel="shortcut icon" href="/img/favicon.ico">
12
13    <title>MUSHANK (Jack)</title>
14
15    <link rel="canonical" href="http://127.0.0.1:4000/page2/">
16
17    <!-- Bootstrap Core CSS -->
18    <link rel="stylesheet" href="/css/bootstrap.min.css">
19
20    <!-- Custom CSS -->
21    <link rel="stylesheet" href="/css/hux-blog.min.css">
22
23    <!-- Pygments Github CSS -->
24    <link rel="stylesheet" href="/css/syntax.css">
25
26    <!-- Custom Fonts -->
27    <!-- <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"> -->
28    <!-- Hux change font-awesome CDN to qiniu -->
29    <link href="http://cdn.staticfile.org/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
30
31
32    <!-- Hux Delete, sad but pending in China
33    <link href='http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
34    <link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/
35    css'>
36    -->
37
38
39    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
40    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
41    <!--[if lt IE 9]>
42        
42<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
42
43        
43<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
43
44    <![endif]-->
45
46    <!-- ga & ba script hoook -->
47    
47<script></script>
47
48</head>
49
50
51<!-- hack iOS CSS :active style -->
52<body ontouchstart="">
53
54    <!-- Navigation -->
55<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
56    <div class="container-fluid">
57        <!-- Brand and toggle get grouped for better mobile display -->
58        <div class="navbar-header page-scroll">
59            <button type="button" class="navbar-toggle">
60                <span class="sr-only">Toggle navigation</span>
61                <span class="icon-bar"></span>
62                <span class="icon-bar"></span>
63                <span class="icon-bar"></span>
64            </button>
65            <a class="navbar-brand" href="/">MUSHANK</a>
66        </div>
67
68        <!-- Collect the nav links, forms, and other content for toggling -->
69        <!-- Known Issue, found by Hux:
70            <nav>'s height woule be hold on by its content.
71            so, when navbar scale out, the <nav> will cover tags.
72            also mask any touch event of tags, unfortunately.
73        -->
74        <div id="huxblog_navbar">
75            <div class="navbar-collapse">
76                <ul class="nav navbar-nav navbar-right">
77                    <li>
78                        <a href="/">Home</a>
79                    </li>
80                    
81                    <li>
82                        <a href="/about">About</a>
83                    </li>
84                    
85                    <li>
86                        <a href="/tags">Tags</a>
87                    </li>
88                    
89                </ul>
90            </div>
91        </div>
92        <!-- /.navbar-collapse -->
93    </div>
94    <!-- /.container -->
95</nav>
96<script>
97    // Drop Bootstarp low-performance Navbar
98    // Use customize navbar with high-quality material design animation
99    // in high-perf jank-free CSS3 implementation
100    var $body   = document.body;
101    var $toggle = document.querySelector('.navbar-toggle');
102    var $navbar = document.querySelector('#huxblog_navbar');
103    var $collapse = document.querySelector('.navbar-collapse');
104
105    $toggle.addEventListener('click', handleMagic)
106    function handleMagic(e){
107        if ($navbar.className.indexOf('in') > 0) {
108        // CLOSE
109            $navbar.className = " ";
110            // wait until animation end.
111            setTimeout(function(){
112                // prevent frequently toggle
113                if($navbar.className.indexOf('in') < 0) {
114                    $collapse.style.height = "0px"
115                }
116            },400)
117        }else{
118        // OPEN
119            $collapse.style.height = "auto"
120            $navbar.className += " in";
121        }
122    }
123</script>
123
124
125
126    <!-- Page Header -->
127<header class="intro-header" style="background-image: url('/img/home-bg.jpg')">
128    <div class="container">
129        <div class="row">
130            <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 ">
131                <div class="site-heading">
132                    <h1>MUSHANK</h1>
133                    <!--<hr class="small">-->
134                    <span class="subheading">Keep Hungry Keep Foolish</span>
135                </div>
136            </div>
137        </div>
138    </div>
139</header>
140
141<!-- Main Content -->
142<div class="container">
143	<div class="row">
144        
145
146<!-- USE SIDEBAR -->
147    <!-- Post Container -->
148    		<div class="
149                col-lg-8 col-lg-offset-1
150                col-md-8 col-md-offset-1
151                col-sm-12
152                col-xs-12
153                post-container
154            ">
155    			
156<div class="post-preview">
157    <a href="/post/Python-%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0-%E4%BA%94-%E5%87%BD%E6%95%B0%E5%BC%8F%E7%BC%96%E7%A8%8B">
158        <h2 class="post-title">
159            Python|学习笔记(五)- 函数式编程
160        </h2>
161        
162        <h3 class="post-subtitle">
163            Python学习笔记系列
164        </h3>
165        
166        <div class="post-content-preview">
167            前言
168
169
170  本篇是Python学习笔记系列的第(五)篇,主要介绍了函数式编程的相关知识。
171
172
173函数式编程(Functional Programming)
174
175函数式编程是一种抽象程度很高的编程范式,纯粹的函数式编程语言编写的函数没有变量。
176
177函数式编程的一个特点就是,允许把函数本身作为参数传入另一个函数,还允许返回一个函数。
178
179Python对函数式编程提供部分支持。由于Python允许使用变...
180        </div>
181    </a>
182    <p class="post-meta">
183        Posted by Jack on January 6, 2015
184    </p>
185</div>
186<hr>
187
188<div class="post-preview">
189    <a href="/post/Python-%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0-%E5%9B%9B-%E9%AB%98%E7%BA%A7%E7%89%B9%E6%80%A7">
190        <h2 class="post-title">
191            Python|学习笔记(四)- 高级特性
192        </h2>
193        
194        <h3 class="post-subtitle">
195            Python学习笔记系列
196        </h3>
197        
198        <div class="post-content-preview">
199            前言
200
201
202  本篇是Python学习笔记系列的第(四)篇,主要介绍了Python的一些高级特性
203
204
205高级特性
206
207Python的哲学是代码越简单越好,所以Python中有很多高级特性来支持这一条原则。
208
209切片(Slice)
210
211取一个list或tuple的部分元素(对tuple进行切片操作,结果仍然是tuple,不可变)
212
213# 从索引0开始取,直到索引3为止,但不包括索引3。
214&gt;&gt;&...
215        </div>
216    </a>
217    <p class="post-meta">
218        Posted by Jack on January 5, 2015
219    </p>
220</div>
221<hr>
222
223<div class="post-preview">
224    <a href="/post/Python-%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0-%E4%B8%89-%E5%AD%97%E7%AC%A6%E7%BC%96%E7%A0%81">
225        <h2 class="post-title">
226            Python|学习笔记(三)- 字符编码
227        </h2>
228        
229        <h3 class="post-subtitle">
230            Python学习笔记系列
231        </h3>
232        
233        <div class="post-content-preview">
234            前言
235
236
237  本篇是Python学习笔记系列的第(三)篇,主要介绍了字符编码相关的知识。
238
239
240字符编码
241
242计算机只能处理数字,如果要处理文本,就必须先把文本转换为数字才能处理。
243
244最早的计算机在设计时采用8个比特(bit)作为一个字节(byte),所以,一个字节能表示的最大整数就是255(2^8 - 1,二进制11111111 = 十进制255),如果要表示更大的整数,就必须用更多的字节。比...
245        </div>
246    </a>
247    <p class="post-meta">
248        Posted by Jack on January 4, 2015
249    </p>
250</div>
251<hr>
252
253<div class="post-preview">
254    <a href="/post/Python-%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0-%E4%BA%8C-%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95">
255        <h2 class="post-title">
256            Python|学习笔记(二)- 基础语法
257        </h2>
258        
259        <h3 class="post-subtitle">
260            Python学习笔记系列
261        </h3>
262        
263        <div class="post-content-preview">
264            前言
265
266
267  本篇是Python学习笔记系列的第(二)篇,主要介绍了Python基础语法相关知识,包括基本数据类型、条件/循环语句、函数等。
268
269
270语法
271
272Python的语法比较简单,采用缩进的方式,以下面的代码为例:
273
274# print absolute value of an integer:
275a = 100
276if a &gt;= 0:
277    print(a)
278else:
279    prin...
280        </div>
281    </a>
282    <p class="post-meta">
283        Posted by Jack on January 3, 2015
284    </p>
285</div>
286<hr>
287
288<div class="post-preview">
289    <a href="/post/Python-%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0-%E4%B8%80-%E7%AC%AC%E4%B8%80%E4%B8%AAPython%E7%A8%8B%E5%BA%8F">
290        <h2 class="post-title">
291            Python|学习笔记(一)- 第一个Python程序
292        </h2>
293        
294        <h3 class="post-subtitle">
295            Python学习笔记系列
296        </h3>
297        
298        <div class="post-content-preview">
299            前言
300
301
302  本篇是Python学习笔记系列的第(一)篇,主要介绍了如何安装运行Python,以及如何编码运行第一个Python程序。
303
304
305安装Python
306
307Python是跨平台的,可以运行在Windows、Mac以及各种Linux/Unix系统上。在Mac上写的Python程序,放到Windows上也是能够运行的。
308
309要开始编写Python程序,首先得安装Python。安装完成后,将会得...
310        </div>
311    </a>
312    <p class="post-meta">
313        Posted by Jack on January 2, 2015
314    </p>
315</div>
316<hr>
317
318<div class="post-preview">
319    <a href="/post/Python-%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0-%E9%9B%B6-Python%E7%AE%80%E4%BB%8B">
320        <h2 class="post-title">
321            Python|学习笔记(零)- Python简介
322        </h2>
323        
324        <h3 class="post-subtitle">
325            Python学习笔记系列
326        </h3>
327        
328        <div class="post-content-preview">
329            前言
330
331
332  本篇是Python学习笔记系列的第(零)篇,主要对Python语言的由来及其优缺点进行简介。
333
334
335Python的由来
336
337Python是一种用来编写应用程序的高级编程语言。
338
339它是由著名的“龟叔”Guido van Rossum在1989年圣诞节期间,为了打发无聊的圣诞节而编写的。
340
341它为我们提供了非常完善的基础代码库,覆盖了网络、文件、GUI、数据库、文本等大量
341内容,被形象地称...
342        </div>
343    </a>
344    <p class="post-meta">
345        Posted by Jack on January 1, 2015
346    </p>
347</div>
348<hr>
349
350<div class="post-preview">
351    <a href="/post/iOS%E5%BC%80%E5%8F%91-Swift%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0">
352        <h2 class="post-title">
353            iOS开发|Swift学习笔记
354        </h2>
355        
356        <h3 class="post-subtitle">
357            Swift Learning Notes
358        </h3>
359        
360        <div class="post-content-preview">
361            Option
362
363  An Optional is just an enum
364Conceptually it is like this (the  is a generic like as in Array)...
365
366
367enum Optional&lt;T&gt; {
368	case None
369	case Some(T)
370}
371let x:String? = nil
372... is ...
373let x...
374        </div>
375    </a>
376    <p class="post-meta">
377        Posted by Jack on December 27, 2014
378    </p>
379</div>
380<hr>
381
382<div class="post-preview">
383    <a href="/post/iOS%E5%BC%80%E5%8F%91-%E6%B8%90%E5%8F%98%E4%B8%8E%E9%81%AE%E7%BD%A9%E5%9B%BE%E5%B1%82%E5%88%9D%E6%8E%A2">
384        <h2 class="post-title">
385            iOS开发|渐变与遮罩图层初探
386        </h2>
387        
388        <h3 class="post-subtitle">
389            CAGradientLayer, Mask
390        </h3>
391        
392        <div class="post-content-preview">
393            前言
394
395同PS、AE一样,iOS也有自己的渐变图层(CAGradientLayer)和遮罩图层(CALayer.mask)。此处为了实现下图的动态切换效果,综合运用了渐变图层和遮罩图层。
396
397
398
399分析
400
401为了实现颜色的填充动画,可以采用渐变图层改变其渐变色位置的方式来实现。
402
403渐变图层(CAGradientLayer)
404
405
406  
407    首先,实例化一个CAGradientLayer渐变图层
408...
409        </div>
410    </a>
411    <p class="post-meta">
412        Posted by Jack on December 1, 2014
413    </p>
414</div>
415<hr>
416
417<div class="post-preview">
418    <a href="/post/iOS%E5%BC%80%E5%8F%91-%E5%A5%87%E5%B7%A7%E6%B7%AB%E6%8A%80">
419        <h2 class="post-title">
420            iOS开发|奇巧淫技
421        </h2>
422        
423        <h3 class="post-subtitle">
424            持续更新中...
425        </h3>
426        
427        <div class="post-content-preview">
428            打印某控件所有子控件(私有方法,请勿提交AppStore)
429
430NSLog(@"%@", [item performSelector:@selector(recursiveDescription)]);
431
432
433像Safari一样动态隐藏navigationBar和toolbar
434
435navigationController.hidesBarsOnSwipe = YES;	// 支持iOS8及以上版...
436        </div>
437    </a>
438    <p class="post-meta">
439        Posted by Jack on November 15, 2014
440    </p>
441</div>
442<hr>
443
444<div class="post-preview">
445    <a href="/post/iOS%E5%BC%80%E5%8F%91-%E6%B7%B1%E6%B5%85%E6%8B%B7%E8%B4%9D%E6%A2%B3%E7%90%86">
446        <h2 class="post-title">
447            iOS开发|深浅拷贝梳理
448        </h2>
449        
450        <h3 class="post-subtitle">
451            copy, mutableCopy
452        </h3>
453        
454        <div class="post-content-preview">
455            前言
456
457
458  浅拷贝,对内存地址的拷贝,目标对象指针和原对象指针指向同一片内存区域。当内存被销毁时,所有指向这片内存的对象指针都成为了野指针,必须重新定义才可继续使用。
459  深拷贝,对具体内容的拷贝,目标对象指针和原对象指针指向不同的内存区域,这两块内存区域内存储的值是相同的。新的内存地址由系统自主分配,新旧对象互不影响、互不干涉。
460
461
462验证
463
464下面通过代码,简单验证下:验证工程GitHub...
465        </div>
466    </a>
467    <p class="post-meta">
468        Posted by Jack on June 3, 2014
469    </p>
470</div>
471<hr>
472
473
474<!-- Pager -->
475
476<ul class="pager">
477    
478    <li class="previous">
479        <a href="/">&larr; Newer Posts</a>
480    </li>
481    
482    
483    <li class="next">
484        <a href="/page3">Older Posts &rarr;</a>
485    </li>
486    
487</ul>
488
489
490    		</div>
491    <!-- Sidebar Container -->
492            <div class="
493                col-lg-3 col-lg-offset-0
494                col-md-3 col-md-offset-0
495                col-sm-12
496                col-xs-12
497                sidebar-container
498            ">
499                <!-- Featured Tags -->
500                
501                <section>
502                    <hr class="hidden-sm hidden-xs">
503                    <h5><a href="/tags/">FEATURED TAGS</a></h5>
504                    <div class="tags">
505                        
506                            
507                                <a href="/tags/#PAT" title="PAT" rel="3">
508                                    PAT
509                                </a>
510                            
511                        
512                            
513                                <a href="/tags/#C" title="C" rel="2">
514                                    C
515                                </a>
516                            
517                        
518                            
519                        
520                            
521                                <a href="/tags/#Python" title="Python" rel="12">
522                                    Python
523                                </a>
524                            
525                        
526                            
527                                <a href="/tags/#C++" title="C++" rel="3">
528                                    C++
529                                </a>
530                            
531                        
532                            
533                                <a href="/tags/#STL" title="STL" rel="3">
534                                    STL
535                                </a>
536                            
537                        
538                            
539                        
540                            
541                        
542                            
543                        
544                            
545                        
546                            
547                                <a href="/tags/#Usage" title="Usage" rel="6">
548                                    Usage
549                                </a>
550                            
551                        
552                            
553                        
554                            
555                                <a href="/tags/#Git" title="Git" rel="2">
556                                    Git
557                                </a>
558                            
559                        
560                            
561                        
562                            
563                                <a href="/tags/#iOS" title="iOS" rel="15">
564                                    iOS
565                                </a>
566                            
567                        
568                            
569                        
570                            
571                                <a href="/tags/#Xcode" title="Xcode" rel="2">
572                                    Xcode
573                                </a>
574                            
575                        
576                            
577                                <a href="/tags/#ARC" title="ARC" rel="2">
578                                    ARC
579                                </a>
580                            
581                        
582                            
583                                <a href="/tags/#MRC" title="MRC" rel="2">
584                                    MRC
585                                </a>
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                                <a href="/tags/#WWDC2018" title="WWDC2018" rel="2">
620                                    WWDC2018
621                                </a>
622                            
623                        
624                            
625                                <a href="/tags/#App Store Connect API" title="Ap
625p Store Connect API" rel="3">
626                                    App Store Connect API
627                                </a>
628                            
629                        
630                            
631                        
632                    </div>
633                </section>
634                
635
636                <!-- Short About -->
637                <section class="visible-md visible-lg">
638                    <hr><h5><a href="/about/">ABOUT ME</a></h5>
639                    <div class="short-about">
640                        
641                            <img src="/img/avatar-jack.jpg" />
642                        
643                        
644                            <p>人生如逆旅,我亦是行人<br>离开世界之前,一切皆是修行</p>
645                        
646                        <!-- SNS Link -->
647                        <ul class="list-inline">
648                            
649                            
650                            <li>
651                                <a href="https://twitter.com/realmushank">
652                                    <span class="fa-stack fa-lg">
653                                        <i class="fa fa-circle fa-stack-2x"></i>
654                                        <i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
655                                    </span>
656                                </a>
657                            </li>
658                            
659                            
660                            
661                            <li>
662                                <a target="_blank" href="http://weibo.com/mushank">
663                                    <span class="fa-stack fa-lg">
664                                        <i class="fa fa-circle fa-stack-2x"></i>
665                                        <i class="fa fa-weibo fa-stack-1x fa-inverse"></i>
666                                    </span>
667                                </a>
668                            </li>
669                            
670                            
671                            
672                            <li>
673                                <a target="_blank" href="https://github.com/mushank">
674                                    <span class="fa-stack fa-lg">
675                                        <i class="fa fa-circle fa-stack-2x"></i>
676                                        <i class="fa fa-github fa-stack-1x fa-inverse"></i>
677                                    </span>
678                                </a>
679                            </li>
680                            
681                        </ul>
682                    </div>
683                </section>
684                <!-- Friends Blog -->
685                
686                <hr>
687                <h5>FRIENDS</h5>
688                <ul class="list-inline">
689                    
690                        <li><a href="https://www.objc.io/">ojbc.io</a></li>
691                    
692                        <li><a href="https://objccn.io/">objccn.io</a></li>
693                    
694                        <li><a href="https://onevcat.com/">OneV's Den</a></li>
695                    
696                        <li><a href="http://blog.sunnyxx.com/">sunnyxx</a></li>
697                    
698                </ul>
699                
700    		</div>
701        
702	</div>
703</div>
704
705
706    <!-- Footer -->
707<footer>
708    <div class="container">
709        <div class="row">
710            <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
711                <ul class="list-inline text-center">
712                    
713                    
714                    <li>
715                        <a href="https://twitter.com/realmushank">
716                            <span class="fa-stack fa-lg">
717                                <i class="fa fa-circle fa-stack-2x"></i>
718                                <i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
719                            </span>
720                        </a>
721                    </li>
722                    
723
724                    <!-- add Weibo, Zhihu by Hux, add target = "_blank" to <a> by Hux -->
725                    
726                    
727                    <li>
728                        <a target="_blank" href="http://weibo.com/mushank">
729                            <span class="fa-stack fa-lg">
730                                <i class="fa fa-circle fa-stack-2x"></i>
731                                <i class="fa fa-weibo fa-stack-1x fa-inverse"></i>
732                            </span>
733                        </a>
734                    </li>
735                    
736
737
738                    
739                    
740                    <li>
741                        <a target="_blank" href="https://github.com/mushank">
742                            <span class="fa-stack fa-lg">
743                                <i class="fa fa-circle fa-stack-2x"></i>
744                                <i class="fa fa-github fa-stack-1x fa-inverse"></i>
745                            </span>
746                        </a>
747                    </li>
748                    
749                </ul>
750                <p class="copyright text-muted">
751                    Copyright &copy; MUSHANK 2023
752                    <br>
753                    Theme by <a href="https://github.com/mushank">Jack</a> |
754                    <iframe
755                        style="margin-left: 2px; margin-bottom:-5px;"
756                        frameborder="0" scrolling="0" width="100px" height="20px"
757                        src="https://ghbtns.com/github-btn.html?user=mushank&repo=mushank.github.io&type=star&count=true" >
758                    </iframe>
759                </p>
760            </div>
761        </div>
762    </div>
763</footer>
764
765<!-- jQuery -->
766<script src="/js/jquery.min.js "></script>
766
767
768<!-- Bootstrap Core JavaScript -->
769<script src="/js/bootstrap.min.js "></script>
769
770
771<!-- Custom Theme JavaScript -->
772<script src="/js/hux-blog.min.js "></script>
772
773
774
775<!-- async load function -->
776<script>
777    function async(u, c) {
778      var d = document, t = 'script',
779          o = d.createElement(t),
780          s = d.getElementsByTagName(t)[0];
781      o.src = u;
782      if (c) { o.addEventListener('load', function (e) { c(null, e); }, false); }
783      s.parentNode.insertBefore(o, s);
784    }
785</script>
785
786
787<!-- 
788     Because of the native support for backtick-style fenced code blocks 
789     right within the Markdown is landed in Github Pages, 
790     From V1.6, There is no need for Highlight.js, 
791     so Huxblog drops it officially.
792
793     - https://github.com/blog/2100-github-pages-now-faster-and-simpler-with-jekyll-3-0  
794     - https://help.github.com/articles/creating-and-highlighting-code-blocks/    
795-->
796<!--
797    
797<script>
798        async("http://cdn.bootcss.com/highlight.js/8.6/highlight.min.js", function(){
799            hljs.initHighlightingOnLoad();
800        })
801    </script>
801
802    <link href="http://cdn.bootcss.com/highlight.js/8.6/styles/github.min.css" rel="stylesheet">
803-->
804
805
806<!-- jquery.tagcloud.js -->
807<script>
808    // only load tagcloud.js in tag.html
809    if($('#tag_cloud').length !== 0){
810        async("/js/jquery.tagcloud.js",function(){
811            $.fn.tagcloud.defaults = {
812                //size: {start: 1, end: 1, unit: 'em'},
813                color: {start: '#bbbbee', end: '#0085a1'},
814            };
815            $('#tag_cloud a').tagcloud();
816        })
817    }
818</script>
818
819
820<!--fastClick.js -->
821<script>
822    async("http://cdn.bootcss.com/fastclick/1.0.6/fastclick.min.js", function(){
823        var $nav = document.querySelector("nav");
824        if($nav) FastClick.attach($nav);
825    })
826</script>
826
827
828
829<!-- Google Analytics -->
830
831<script>
832    // dynamic User by Hux
833    var _gaId = 'UA-87707150-1';
834    var _gaDomain = '';
835
836    // Originial
837    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
838    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
839    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
840    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
841
842    ga('create', _gaId, _gaDomain);
843    ga('send', 'pageview');
844</script>
844
845
846
847
848<!-- Baidu Tongji -->
849
850
851
852</body>
853
854</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.