-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
2708 lines (1462 loc) · 175 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 class="theme-next mist use-motion" lang="zh-Hans">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />
<link href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />
<link href="/css/main.css?v=5.1.1" rel="stylesheet" type="text/css" />
<meta name="keywords" content="Hexo, NexT" />
<link rel="alternate" href="/atom.xml" title="古古天" type="application/atom+xml" />
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?v=5.1.1" />
<meta name="description" content="这里是古古天的博客">
<meta property="og:type" content="website">
<meta property="og:title" content="古古天">
<meta property="og:url" content="http://blog.gugutian.com/index.html">
<meta property="og:site_name" content="古古天">
<meta property="og:description" content="这里是古古天的博客">
<meta property="og:locale" content="zh-Hans">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="古古天">
<meta name="twitter:description" content="这里是古古天的博客">
<script type="text/javascript" id="hexo.configurations">
var NexT = window.NexT || {};
var CONFIG = {
root: '/',
scheme: 'Mist',
sidebar: {"position":"left","display":"post","offset":12,"offset_float":0,"b2t":false,"scrollpercent":false,"onmobile":false},
fancybox: true,
motion: true,
duoshuo: {
userId: '0',
author: '博主'
},
algolia: {
applicationID: '',
apiKey: '',
indexName: '',
hits: {"per_page":10},
labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
}
};
</script>
<link rel="canonical" href="http://blog.gugutian.com/"/>
<title>古古天</title>
<script>
(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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-65425061-1', 'auto');
ga('send', 'pageview');
</script>
<script type="text/javascript">
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?33f92b88fa5da2ab1d17e2a54d225a58";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">
<div class="container sidebar-position-left
page-home
">
<div class="headband"></div>
<header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
<div class="header-inner"><div class="site-brand-wrapper">
<div class="site-meta ">
<div class="custom-logo-site-title">
<a href="/" class="brand" rel="start">
<span class="logo-line-before"><i></i></span>
<span class="site-title">古古天</span>
<span class="logo-line-after"><i></i></span>
</a>
</div>
<p class="site-subtitle"></p>
</div>
<div class="site-nav-toggle">
<button>
<span class="btn-bar"></span>
<span class="btn-bar"></span>
<span class="btn-bar"></span>
</button>
</div>
</div>
<nav class="site-nav">
<ul id="menu" class="menu">
<li class="menu-item menu-item-home">
<a href="/" rel="section">
<i class="menu-item-icon fa fa-fw fa-home"></i> <br />
首页
</a>
</li>
<li class="menu-item menu-item-categories">
<a href="/categories/" rel="section">
<i class="menu-item-icon fa fa-fw fa-th"></i> <br />
分类
</a>
</li>
<li class="menu-item menu-item-about">
<a href="/about/" rel="section">
<i class="menu-item-icon fa fa-fw fa-user"></i> <br />
关于
</a>
</li>
<li class="menu-item menu-item-archives">
<a href="/archives/" rel="section">
<i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
归档
</a>
</li>
<li class="menu-item menu-item-tags">
<a href="/tags/" rel="section">
<i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
标签
</a>
</li>
<li class="menu-item menu-item-search">
<a href="javascript:;" class="st-search-show-outputs">
<i class="menu-item-icon fa fa-search fa-fw"></i> <br />
搜索
</a>
</li>
</ul>
<div class="site-search">
<form class="site-search-form">
<input type="text" id="st-search-input" class="st-search-input st-default-search-input" />
</form>
<script type="text/javascript">
(function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){
(w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);
e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e);
})(window,document,'script','//s.swiftypecdn.com/install/v2/st.js','_st');
_st('install', 'SDgAx7r-heZocnsHH6Lw','2.0.0');
</script>
</div>
</nav>
</div>
</header>
<main id="main" class="main">
<div class="main-inner">
<div class="content-wrap">
<div id="content" class="content">
<section id="posts" class="posts-expand">
<article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
<link itemprop="mainEntityOfPage" href="http://blog.gugutian.com/2017/07/27/Meta annotation/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="古古天">
<meta itemprop="description" content="">
<meta itemprop="image" content="/images/avatar.jpg">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="古古天">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a class="post-title-link" href="/2017/07/27/Meta annotation/" itemprop="url">Annotation-元注解</a></h1>
<div class="post-meta">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建于" itemprop="dateCreated datePublished" datetime="2017-07-27T23:06:01+08:00">
2017-07-27
</time>
</span>
<span class="post-category" >
<span class="post-meta-divider">|</span>
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">分类于</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Java/" itemprop="url" rel="index">
<span itemprop="name">Java</span>
</a>
</span>
</span>
<span class="post-comments-count">
<span class="post-meta-divider">|</span>
<span class="post-meta-item-icon">
<i class="fa fa-comment-o"></i>
</span>
<a href="/2017/07/27/Meta annotation/#comments" itemprop="discussionUrl">
<span class="post-comments-count disqus-comment-count"
data-disqus-identifier="2017/07/27/Meta annotation/" itemprop="commentCount"></span>
</a>
</span>
<span id="/2017/07/27/Meta annotation/" class="leancloud_visitors" data-flag-title="Annotation-元注解">
<span class="post-meta-divider">|</span>
<span class="post-meta-item-icon">
<i class="fa fa-eye"></i>
</span>
<span class="post-meta-item-text">阅读次数 </span>
<span class="leancloud-visitors-count"></span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<h2 id="元注解"><a href="#元注解" class="headerlink" title="元注解"></a>元注解</h2><p>Java里面定义了4个标准的元注解:</p>
<ol>
<li>@Target</li>
<li>@Retention</li>
<li>@Documented</li>
<li>@Inherited</li>
</ol>
<p>这四个元注解的作用是负责注解其他注解,其他所有的注解都是通过元注解扩散开来。</p>
<h3 id="Target"><a href="#Target" class="headerlink" title="Target"></a><code>Target</code></h3><p>这个元注解的作用是负责指明注解的作用域。如果指明类型为<code>METHOD</code>,说明这个注解只能用在方法上面。<br>以下是可以指明<code>Target</code>的所有作用类型:<br><figure class="highlight java"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div></pre></td><td class="code"><pre><div class="line"><span class="keyword">public</span> <span class="keyword">enum</span> ElementType {</div><div class="line"> ANNOTATION_TYPE,</div><div class="line"> CONSTRUCTOR,</div><div class="line"> FIELD,</div><div class="line"> LOCAL_VARIABLE,</div><div class="line"> METHOD,</div><div class="line"> PACKAGE,</div><div class="line"> PARAMETER,</div><div class="line"> TYPE,</div><div class="line"> TYPE_PARAMETER,</div><div class="line"> TYPE_USE;</div><div class="line"></div><div class="line"> <span class="function"><span class="keyword">private</span> <span class="title">ElementType</span><span class="params">()</span> </span>{</div><div class="line"> }</div><div class="line">}</div></pre></td></tr></table></figure></p>
<h3 id="Retention"><a href="#Retention" class="headerlink" title="Retention"></a><code>Retention</code></h3><p>这个元注解的作用是对Annotation的<code>作用时间</code>进行限制:某些Annotation仅出现在源代码中,而被编译器丢弃;而另一些却被编译在class文件中;编译在class文件中的Annotation可能会被虚拟机忽略,而另一些在class被装载时将被读取。<br>以下是可以指明<code>Retention</code>的所有作用类型:<br><figure class="highlight java"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div></pre></td><td class="code"><pre><div class="line"><span class="keyword">public</span> <span class="keyword">enum</span> RetentionPolicy {</div><div class="line"> CLASS,</div><div class="line"> RUNTIME,</div><div class="line"> SOURCE;</div><div class="line"></div><div class="line"> <span class="function"><span class="keyword">private</span> <span class="title">RetentionPolicy</span><span class="params">()</span> </span>{</div><div class="line"> }</div><div class="line">}</div></pre></td></tr></table></figure></p>
<ul>
<li><code>RetentionPolicy.SOURCE</code>:在源文件中有效</li>
<li><code>RetentionPolicy.CLASS</code>:在class文件中有效</li>
<li><code>RetentionPolicy.RUNTIME</code>:在运行时有效</li>
</ul>
<h3 id="Documented"><a href="#Documented" class="headerlink" title="Documented"></a><code>Documented</code></h3><p>这个元注解的作用是标识是否能够在生成JavaDoc文档是,注解依然保存。这个只是一个标记注解,没有任何成员。<br>如下:<br>1.标记有<code>Documented</code>的Annotation与生成的JavaDoc文档<br><figure class="highlight java"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div></pre></td><td class="code"><pre><div class="line"><span class="meta">@Target</span>(ElementType.CONSTRUCTOR)</div><div class="line"><span class="meta">@Inherited</span></div><div class="line"><span class="meta">@Documented</span></div><div class="line"><span class="meta">@Retention</span>(RetentionPolicy.SOURCE)</div><div class="line"><span class="keyword">public</span> <span class="meta">@interface</span> SourceAnnotation {</div><div class="line"> <span class="function">String <span class="title">name</span><span class="params">()</span></span>;</div><div class="line"> <span class="function">String <span class="title">age</span><span class="params">()</span></span>;</div><div class="line"> <span class="function">String <span class="title">gender</span><span class="params">()</span> <span class="keyword">default</span> "Male"</span>;</div><div class="line">}</div></pre></td></tr></table></figure></p>
<p><img src="/blog-img/annotation-person-documented.png" alt="annotation-person-documented"><br>2.没有标记的Annotation与生成的JavaDoc文档<br><figure class="highlight java"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div></pre></td><td class="code"><pre><div class="line"><span class="meta">@Target</span>(ElementType.CONSTRUCTOR)</div><div class="line"><span class="meta">@Inherited</span></div><div class="line"><span class="meta">@Retention</span>(RetentionPolicy.SOURCE)</div><div class="line"><span class="keyword">public</span> <span class="meta">@interface</span> SourceAnnotation {</div><div class="line"> <span class="function">String <span class="title">name</span><span class="params">()</span></span>;</div><div class="line"> <span class="function">String <span class="title">age</span><span class="params">()</span></span>;</div><div class="line"> <span class="function">String <span class="title">gender</span><span class="params">()</span> <span class="keyword">default</span> "Male"</span>;</div><div class="line">}</div></pre></td></tr></table></figure></p>
<p><img src="/blog-img/annotation-person-not-documented.png" alt="annotation-person-not-documented"></p>
<p>使用注解的类:<br><figure class="highlight java"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div></pre></td><td class="code"><pre><div class="line"><span class="keyword">public</span> <span class="class"><span class="keyword">class</span> <span class="title">Person</span> </span>{</div><div class="line"> <span class="keyword">private</span> String name;</div><div class="line"></div><div class="line"> <span class="meta">@SourceAnnotation</span>(</div><div class="line"> name=<span class="string">"Person"</span>,</div><div class="line"> age=<span class="string">"1"</span></div><div class="line"> )</div><div class="line"> <span class="function"><span class="keyword">public</span> <span class="title">Person</span><span class="params">(String name)</span> </span>{</div><div class="line"> <span class="keyword">this</span>.name = name;</div><div class="line"> }</div><div class="line"> <span class="function"><span class="keyword">public</span> String <span class="title">getName</span><span class="params">()</span> </span>{</div><div class="line"> <span class="keyword">return</span> name;</div><div class="line"> }</div><div class="line"></div><div class="line"> <span class="function"><span class="keyword">public</span> <span class="keyword">void</span> <span class="title">setName</span><span class="params">(String name)</span> </span>{</div><div class="line"> <span class="keyword">this</span>.name = name;</div><div class="line"> }</div><div class="line">}</div></pre></td></tr></table></figure></p>
<h3 id="Inherited"><a href="#Inherited" class="headerlink" title="Inherited"></a><code>Inherited</code></h3><p>这个元注解的作用是来阐述某个被标注的类型是可以被继承的。如果一个使用了@Inherited修饰的annotation类型被用于一个class,则这个annotation将被用于该class的子类。</p>
<hr>
</div>
<div>
</div>
<div>
</div>
<div>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
<link itemprop="mainEntityOfPage" href="http://blog.gugutian.com/2016/09/11/Run for a better life/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="古古天">
<meta itemprop="description" content="">
<meta itemprop="image" content="/images/avatar.jpg">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="古古天">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a class="post-title-link" href="/2016/09/11/Run for a better life/" itemprop="url">Run for a better life</a></h1>
<div class="post-meta">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建于" itemprop="dateCreated datePublished" datetime="2016-09-11T20:35:42+08:00">
2016-09-11
</time>
</span>
<span class="post-comments-count">
<span class="post-meta-divider">|</span>
<span class="post-meta-item-icon">
<i class="fa fa-comment-o"></i>
</span>
<a href="/2016/09/11/Run for a better life/#comments" itemprop="discussionUrl">
<span class="post-comments-count disqus-comment-count"
data-disqus-identifier="2016/09/11/Run for a better life/" itemprop="commentCount"></span>
</a>
</span>
<span id="/2016/09/11/Run for a better life/" class="leancloud_visitors" data-flag-title="Run for a better life">
<span class="post-meta-divider">|</span>
<span class="post-meta-item-icon">
<i class="fa fa-eye"></i>
</span>
<span class="post-meta-item-text">阅读次数 </span>
<span class="leancloud-visitors-count"></span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>本文最初分享在<code>卡牛玩卡互助学堂</code>微信群,后期整理而成。</p>
<hr>
<p>我大概从高中起就有跑步的习惯,不过之前都是短距离慢跑,三五公里的样子,现在倾向于长跑(>10km),时间足够的情况下长跑是很舒服的。</p>
<p><strong>关于呼吸</strong></p>
<p>一开始我也是用嘴呼吸的,后来别人看我跑起来总是气喘吁吁的,于是教我用鼻子呼吸,适应了几次后,我觉得这种方式非常好,呼吸起来有节奏感,跑起来也不感觉有那么累。上次焦总带来的教练也说了,用嘴或者用鼻子呼气都行,关键要有呼吸节奏。在没有加速的前提下,如果越跑呼吸越大,说明节奏是有问题的。</p>
<p><strong>关于跑步姿势</strong></p>
<p>头部不要前倾,目视前方,双肩放松,前后摆臂,前脚掌先落地,不要把力量集中在后脚跟,落地轻盈,膝盖处减少用力。跑步的姿势很重要,如果不对的话长时间跑步会对膝盖造成损伤。<br><img src="/blog-img/20160912-running-posture.png" alt="跑步姿势"></p>
<p><strong>关于跑步速度</strong></p>
<p>速度是跑步成绩的直接体现,刚开始时很多人关注速度胜过关注距离。我的经验是可以更多的关注距离、时间以及身体的感受。特别是对于初跑者,倾听身体的声音,更有利于提高成绩,跑步速度按照不会气喘,能正常交谈为宜。</p>
<p><strong>关于长距离跑</strong></p>
<p>其实跑步就是一项考验耐力的运动,就是身体承受力。如果节奏对了,身体又承受得起,一直跑下去都没有问题。不要在觉得很累的时候停下来,有时候跨过了这个很累的点,你又能多跑几公里,可以通过这样子锻炼自己的耐力。之前我很累的时候就是脚都几乎抬不起来了,以这样的方式坚持几分钟,会发现跑起来又轻松许多。LSD是长距离慢跑,这种方式也可以提高耐力,一般是20~35km。更多的跑者常见术语,可以<a href="http://mp.weixin.qq.com/s?__biz=MzA5ODE5MzkyNA==&mid=2655241236&idx=1&sn=de94380ff62a3dc9a955ac9bff4d8127&scene=0#wechat_redirect" target="_blank" rel="external">看这里</a></p>
<p><strong>关于装备</strong></p>
<p>对于装备控而言,装备不是表明要取得多好的成绩,而是表示坚持跑步的决心,只要决心有了,不用太烧装备,如果还没有决心,就通过烧装备建立吧。跑鞋是最基本的装备,既然不能通过成绩表明我们是个高手,那至少要用跑鞋证明我们是跑步爱好者。经济又实惠的跑鞋可以到迪卡侬购买,我现在穿的就是KALENJI系列的跑鞋,更专业的可以考虑asics跑鞋,价格略贵。</p>
<p>配速表和心率监控对于常跑者也是基本装备。心率可以通过心率带来监控,通过心率既能了解自己的身体状况,保证自己的安全,也能根据当前心率调整自己的跑步节奏。配速表的品牌就比较多了,Garmin是专业运动手表,SUnnto是专业户外品牌。我自己配备的是Garmin FENIX3HR,配备了光电心率功能,主要用于跑步、骑车和游泳。</p>
<p><strong>跑步也要量力而行,对于没有经常跑步的同学,一下子就跑得很远这样很容易受伤,之前跟我一起跑步的跑友就是因为这样子,跑了几次后脚疼,去医院看骨伤科,休养了几个月,现在才可以勉强跑起来。</strong></p>
</div>
<div>
</div>
<div>
</div>
<div>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
<link itemprop="mainEntityOfPage" href="http://blog.gugutian.com/2015/11/09/Webview problem/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="古古天">
<meta itemprop="description" content="">
<meta itemprop="image" content="/images/avatar.jpg">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="古古天">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a class="post-title-link" href="/2015/11/09/Webview problem/" itemprop="url">webview问题</a></h1>
<div class="post-meta">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建于" itemprop="dateCreated datePublished" datetime="2015-11-09T17:35:42+08:00">
2015-11-09
</time>
</span>
<span class="post-comments-count">
<span class="post-meta-divider">|</span>
<span class="post-meta-item-icon">
<i class="fa fa-comment-o"></i>
</span>
<a href="/2015/11/09/Webview problem/#comments" itemprop="discussionUrl">
<span class="post-comments-count disqus-comment-count"
data-disqus-identifier="2015/11/09/Webview problem/" itemprop="commentCount"></span>
</a>
</span>
<span id="/2015/11/09/Webview problem/" class="leancloud_visitors" data-flag-title="webview问题">
<span class="post-meta-divider">|</span>
<span class="post-meta-item-icon">
<i class="fa fa-eye"></i>
</span>
<span class="post-meta-item-text">阅读次数 </span>
<span class="leancloud-visitors-count"></span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>1.Uncaught ReferenceError: NPObject deleted<br>如果js注入遇到此类问题,无法执行,可以考虑一下是不是用了iframe框架导致的。</p>
<p>2.uri的<code>getQueryParameter()</code>引起的问题<br>用这个方法找寻url里面的参数时,最好检查一下该uri是否是<code>isHierarchical()</code>,不然会<code>throw new UnsupportedOperationException(NOT_HIERARCHICAL)</code></p>
</div>
<div>
</div>
<div>
</div>
<div>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
<link itemprop="mainEntityOfPage" href="http://blog.gugutian.com/2015/11/06/Chrome Customize UserAgent/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="古古天">
<meta itemprop="description" content="">
<meta itemprop="image" content="/images/avatar.jpg">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="古古天">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a class="post-title-link" href="/2015/11/06/Chrome Customize UserAgent/" itemprop="url">Chrome自定义UserAgent</a></h1>
<div class="post-meta">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建于" itemprop="dateCreated datePublished" datetime="2015-11-06T12:41:10+08:00">
2015-11-06
</time>
</span>
<span class="post-category" >
<span class="post-meta-divider">|</span>
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">分类于</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Chrome/" itemprop="url" rel="index">
<span itemprop="name">Chrome</span>
</a>
</span>
</span>
<span class="post-comments-count">
<span class="post-meta-divider">|</span>
<span class="post-meta-item-icon">
<i class="fa fa-comment-o"></i>
</span>
<a href="/2015/11/06/Chrome Customize UserAgent/#comments" itemprop="discussionUrl">
<span class="post-comments-count disqus-comment-count"
data-disqus-identifier="2015/11/06/Chrome Customize UserAgent/" itemprop="commentCount"></span>
</a>
</span>
<span id="/2015/11/06/Chrome Customize UserAgent/" class="leancloud_visitors" data-flag-title="Chrome自定义UserAgent">
<span class="post-meta-divider">|</span>
<span class="post-meta-item-icon">
<i class="fa fa-eye"></i>
</span>
<span class="post-meta-item-text">阅读次数 </span>
<span class="leancloud-visitors-count"></span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p><strong>怎么样用Chrome实现自定义UserAgent呢</strong></p>
<p>目前我的Chrome版本为<code>44.0.2403.157 (64-bit)</code>,可以采用下面的方式实现:</p>
<p>1.点击右键-审查元素(<code>Ctrl+Shift+I</code>),调出调试界面,进入右上方的设置界面;</p>
<p><img src="/blog-img/20151106-custom-user-agent-1.png" alt="Custom-User-Agent"></p>
<p>2.设置页面有一个<code>Devices</code>选项,选择Add Custom device</p>
<p><img src="/blog-img/20151106-custom-user-agent-2.png" alt="Custom-User-Agent"></p>
<p>3.填入对应的信息保存就可以了.</p>
<p><img src="/blog-img/20151106-custom-user-agent-3.png" alt="Custom-User-Agent"></p>
<p>4.需要用该设备时,在调试页面的左上方选择你建立的Device就可以了</p>
<p><img src="/blog-img/20151106-custom-user-agent-4.png" alt="Custom-User-Agent"></p>
</div>
<div>
</div>
<div>
</div>
<div>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
<link itemprop="mainEntityOfPage" href="http://blog.gugutian.com/2015/08/31/Customize the general steps of View/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="古古天">
<meta itemprop="description" content="">
<meta itemprop="image" content="/images/avatar.jpg">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="古古天">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a class="post-title-link" href="/2015/08/31/Customize the general steps of View/" itemprop="url">自定义View的一般步骤</a></h1>
<div class="post-meta">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建于" itemprop="dateCreated datePublished" datetime="2015-08-31T23:27:51+08:00">
2015-08-31
</time>
</span>
<span class="post-category" >
<span class="post-meta-divider">|</span>