-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgoogle118c4e31e5beb7a1.html
554 lines (411 loc) · 19.7 KB
/
google118c4e31e5beb7a1.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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>gishub.info-where to collect gis info</title>
<meta name="author" content="suwenjiang">
<meta name="description" content="gis 知识的集散地">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta property="og:site_name" content="suwen's GISHub"/>
<meta property="og:image" content="undefined"/>
<link rel="icon" type="image/png" href="/favicon.png">
<link rel="alternate" href="/atom.xml" title="suwen's GISHub" type="application/atom+xml">
<link rel="stylesheet" href="/css/lib/materialize.min.css">
<link rel="stylesheet" href="/css/lib/font-awesome.min.css">
<link rel="stylesheet" href="/css/style.css" media="screen" type="text/css">
<link rel="stylesheet" href="/css/lib/prettify-tomorrow-night-eighties.css" type="text/css">
<!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
</head>
<body>
<img src="/weixin_favicon.png" style="position: absolute; left: -9999px; opacity: 0; filter: alpha(opacity=0);">
<nav class="indigo">
<div class="nav-wrapper">
<a href="#" data-activates="main-menu" class="button-collapse">
<i class="fa fa-navicon"></i>
</a>
<div class="">
<a href="/" class="brand-logo hide-on-med-and-down">suwen's GISHub</a>
<ul class="right hide-on-med-and-down">
<li>
<a class="menu-home " href="/" >
<i class="fa fa-home "></i>
首页
</a>
</li>
<li>
<a class="menu-archive " href="/archives" >
<i class="fa fa-archive "></i>
归档
</a>
</li>
<li>
<a class="menu-category category-menu" href="javascript:;" data-activates="category-menu" >
<i class="fa fa-bookmark "></i>
分类
</a>
</li>
<li>
<a class="menu-search modal-trigger " href="#search" >
<i class="fa fa-search "></i>
搜索
</a>
</li>
</ul>
<div>
<ul class="side-nav indigo darken-1" id="main-menu">
<li class="side-user">
<div class="row">
<div class="col s4 no-padding">
<img class="avatar-image circle responsive-img" src="http://ww2.sinaimg.cn/small/74990035jw1f1rjkd681bj20rs0rsdhg.jpg" alt="User Avatar">
</div>
<div class="info col s8 valign-wrapper no-padding">
<div class="valign">
<p class="name">你的大名</p>
<p class="desc">Web前端/iOS/技术宅</p>
</div>
</div>
</div>
</li>
<li class="no-padding">
<a class="waves-effect menu-home " href="/" >
<i class="fa fa-home "></i>
首页
</a>
</li>
<li class="no-padding">
<a class="waves-effect menu-archive " href="/archives" >
<i class="fa fa-archive "></i>
归档
</a>
</li>
<li class="no-padding">
<a class="waves-effect menu-category category-menu" href="javascript:;" data-activates="category-menu" >
<i class="fa fa-bookmark "></i>
分类
</a>
</li>
<li class="no-padding">
<a class="waves-effect menu-search modal-trigger " href="#search" >
<i class="fa fa-search "></i>
搜索
</a>
</li>
</ul>
<ul class="side-nav indigo darken-1" id="category-menu">
<li class="collapse-level-0" collapse-level="0">
<a class="no-padding" href="/categories/Reading-Notes/">
Reading-Notes <span class="right">3 篇</span></a>
</a>
</li>
<li class="collapse-level-0" collapse-level="0">
<a class="no-padding" href="/categories/arcgis-server/">
arcgis-server <span class="right">6 篇</span></a>
</a>
</li>
<li class="collapse-level-0" collapse-level="0">
<a class="no-padding" href="/categories/coding/">
coding <span class="right">3 篇</span></a>
</a>
</li>
<li class="collapse-level-0" collapse-level="0">
<a class="no-padding" href="/categories/opensource/">
opensource <span class="right">4 篇</span></a>
</a>
</li>
<li class="collapse-level-1" collapse-level="1">
<a class="no-padding" href="/categories/opensource/database/">
database <span class="right">2 篇</span></a>
</a>
</li>
</ul>
</div>
</div>
</div>
</nav>
<div id="search" class="modal search-modal">
<div class="row">
<div class="input-field col s12">
<input id="search-input" type="text">
<label for="search-input">搜索</label>
</div>
</div>
<div id="search-result" class="search-result col s12">
</div>
</div>
<main>
<div class="container main-container">
<nav class="page-nav hide-on-small-only">
<div class="nav-wrapper indigo">
<span class="breadcrumb">当前位置(分类目录)</span>
</div>
</nav>
<article>
<div class="card">
<div class="card-content">
<div class="article-title">
<h1>无题</h1>
</div>
<time class="pink-link-context" datetime="2016-03-04T08:45:04.017Z"><a href="/google118c4e31e5beb7a1.html">2016-03-04</a></time>
<div class="toc pink-link-context hide-on-med-and-down">
</div>
<div class="entry pink-link-context">
google-site-verification: google118c4e31e5beb7a1.html
</div>
</div>
</div>
</article>
<section id="comment">
<div class="card">
<div class="card-content">
<!-- Duoshuo Comment BEGIN -->
<div class="ds-thread" data-thread-key="google118c4e31e5beb7a1.html" data-title="" data-url="gishub.info/google118c4e31e5beb7a1.html"></div>
<script type="text/javascript">
console.log(document.querySelector('.ds-thread'));
var duoshuoQuery = {
short_name: 'myyouthlife'
};
(function() {
var ds = document.createElement('script');
ds.type = 'text/javascript';
ds.async = true;
ds.src = (document.location.protocol == 'https:'
? 'https:'
: 'http:') + '//static.duoshuo.com/embed.js';
ds.charset = 'UTF-8';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ds);
})();
</script>
<!-- Duoshuo Comment END -->
</div>
</div>
</section>
</div>
<div class="fixed-action-btn float-sitemap">
<a class="btn-floating btn-large pink">
<i class="fa fa-caret-square-o-up"></i>
</a>
<ul>
<li><a class="btn-return-top btn-floating waves-effect green" title="回到顶部"><i class="fa fa-arrow-circle-o-up"></i></a></li>
<li><a class="btn-floating waves-effect button-collapse yellow darken-1" data-activates="main-menu" title="menu"><i class="fa fa-navicon"></i></a></li>
</ul>
</div>
</main>
<footer class="page-footer indigo darken-1">
<div class="container">
<div class="row">
<div class="social-group col m3 s12">
<h5 class="white-text">社交</h5>
<a class="social-link" href="http://weibo.com/suwenjiang" target="_blank">
<i class="fa fa-2x fa-weibo"></i>
</a>
<a class="social-link" href="https://github.com/myyouthlife" target="_blank">
<i class="fa fa-2x fa-github"></i>
</a>
<a class="social-link" href="/atom.xml" target="_blank">
<i class="fa fa-2x fa-rss"></i>
</a>
</div>
<div class="col m9 s12">
<h5 class="white-text">友情链接</h5>
<a class="social-link" href="http://zhihu.esrichina.com.cn/" target="_blank">ArcGIS知乎</a>
<a class="social-link" href="http://kikitamap.com/" target="_blank">kikita&Maps</a>
<a class="social-link" href="http://oopsliu.github.io/" target="_blank">oopsliu</a>
</div>
</div>
</div>
<div class="footer-copyright pink-link-context">
<div class="container">
© 2016 gishub.info, All rights reserved.
<p class="right" style="margin-top: 0;">本博客由 <a href="https://hexo.io">Hexo</a> 强力驱动 | 主题 <a href="https://github.com/raytaylorlin/hexo-theme-raytaylorism">raytaylorism</a></p>
</div>
</div>
</footer>
<noscript>
<div class="noscript">
<p class="center-align">当前网速较慢或者你使用的浏览器不支持博客特定功能,请尝试刷新或换用Chrome、Firefox等现代浏览器</p>
</div>
</noscript>
<div class="noscript">
<p class="center-align">当前网速较慢或者你使用的浏览器不支持博客特定功能,请尝试刷新或换用Chrome、Firefox等现代浏览器</p>
</div>
<script src="/js/jquery.min.js"></script>
<script src="/js/materialize.min.js"></script>
<script>
(function($) {
$(document).ready(function() {
// 隐藏禁用javascript(针对微信内置浏览器)的提示
$('.noscript').hide();
// 图片缩放效果
var $imgs = $('img').not('.slider-image').not('.avatar-image').not('.carousel-image').not('.card-cover-image').not('.qrcode');
// 给图片加上点击放大效果(materialbox插件)
$imgs.addClass('materialboxed').each(function(i, el) {
$(this).attr('data-caption', $(this).attr('alt') || ' ');
}).materialbox();
// 优化表格的显示
$('table').each(function() {
var $table = $(this);
// 除去多行代码的情况
if ($table.find('pre').length == 0) {
$table.addClass('responsive-table striped bordered');
}
});
// 首页幻灯片
$('.slider').slider({indicators: true, full_width: true, interval: 8000});
$(".button-collapse").sideNav();
$(".category-menu").sideNav();
// 针对gallery post
$('.carousel').carousel({full_width: true});
$('.carousel-control.prev').click(function() {
$('.carousel').carousel('prev');
});
$('.carousel-control.next').click(function() {
$('.carousel').carousel('next');
});
// 文章目录
$('article').not('.simple-article').find('h1').add('h2').add('h3').add('h4').add('h5').add('h6').scrollSpy();
// 修正文章目录的left-border颜色
var color = $('.table-of-contents-text').css('color');
$('.table-of-contents-link').css('border-left-color', color);
// 针对移动端做的优化:FAB按钮点击一下收回
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
$('.fixed-action-btn').addClass('click-to-toggle');
}
// 回到顶部
$('.btn-return-top').click(function() {
$('body, html').animate({
scrollTop: 0
}, 500);
});
// 重置读书页面的Tab标签页的颜色
$('li.tab a').hover(function() {
$(this).toggleClass('text-lighten-4');
});
$('.indicator').addClass('pink lighten-2');
// 添加new标签
$('.menu-reading, .menu-about').append('<span class="new badge pink"></span>');
// 搜索功能
$('.modal-trigger').leanModal({
// 打开搜索框时自动聚焦
ready: function() {
if ($('#search').is(":visible")) {
$('#search-input').focus();
}
}
});
var searchXml = "sitemap.xml";
if (searchXml.length == 0) {
searchXml = "search.xml";
}
var searchPath = "/" + searchXml;
initSearch(searchPath, 'search-input', 'search-result');
});
// 初始化搜索与匹配函数
var initSearch = function(path, search_id, content_id) {
'use strict';
$.ajax({
url: path,
dataType: "xml",
success: function(xmlResponse) {
// get the contents from search data
var datas = $("entry", xmlResponse).map(function() {
return {
title: $("title", this).text(),
content: $("content", this).text(),
url: $("url", this).text()
};
}).get();
var $input = document.getElementById(search_id);
var $resultContent = document.getElementById(content_id);
$input.addEventListener('input', function() {
var str = '<ul class=\"search-result-list\">';
var keywords = this.value.trim().toLowerCase().split(/[\s\-]+/);
$resultContent.innerHTML = "";
if (this.value.trim().length <= 0) {
return;
}
// perform local searching
datas.forEach(function(data) {
var isMatch = true;
var content_index = [];
var data_title = data.title.trim().toLowerCase();
var data_content = data.content.trim().replace(/<[^>]+>/g, "").toLowerCase();
var data_url = data.url;
var index_title = -1;
var index_content = -1;
var first_occur = -1;
// only match artiles with not empty titles and contents
if (data_title != '' && data_content != '') {
keywords.forEach(function(keyword, i) {
index_title = data_title.indexOf(keyword);
index_content = data_content.indexOf(keyword);
if (index_title < 0 && index_content < 0) {
isMatch = false;
} else {
if (index_content < 0) {
index_content = 0;
}
if (i == 0) {
first_occur = index_content;
}
}
});
}
// show search results
if (isMatch) {
keywords.forEach(function(keyword) {
var regS = new RegExp(keyword, "gi");
data_title = data_title.replace(regS, "<span class=\"search-keyword pink lighten-2\">" + keyword + "</span>");
});
str += "<li><a href='" + data_url + "' class='search-result-title'>" + data_title + "</a>";
var content = data.content.trim().replace(/<[^>]+>/g, "");
if (first_occur >= 0) {
// cut out 100 characters
var start = first_occur - 20;
var end = first_occur + 80;
if (start < 0) {
start = 0;
}
if (start == 0) {
end = 100;
}
if (end > content.length) {
end = content.length;
}
var match_content = content.substring(start, end);
// highlight all keywords
keywords.forEach(function(keyword) {
var regS = new RegExp(keyword, "gi");
match_content = match_content.replace(regS, "<span class=\"search-keyword pink lighten-2\">" + keyword + "</span>");
});
str += "<p class=\"search-result\">..." + match_content + "...</p>"
}
str += "</li>";
}
});
str += "</ul>";
$resultContent.innerHTML = str;
});
}
});
}
})(jQuery);
</script>
<script src="/js/prettify.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("pre").addClass("prettyprint");
prettyPrint();
});
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
});
</script>
<script type="text/javascript" async
src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
</body>
</html>