-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
454 lines (259 loc) · 11 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
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>lyre</title>
<meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
<meta name="author" content="lyre">
<meta name="description">
<meta property="og:type" content="website">
<meta property="og:title" content="lyre">
<meta property="og:url" content="https://github.com/lyre2468/lyre2468.github.io.git/index.html">
<meta property="og:site_name" content="lyre">
<meta property="og:description">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="lyre">
<meta name="twitter:description">
<link rel="alternative" href="/atom.xml" title="lyre" type="application/atom+xml">
<link rel="stylesheet" href="/css/style.css" type="text/css">
</head>
<body>
<header>
<div>
<div id="textlogo">
<h1 class="site-name"><a href="/" title="lyre">lyre</a></h1>
<h2 class="blog-motto"></h2>
</div>
<div class="navbar"><a class="navbutton navmobile" href="#" title="菜单">
</a></div>
<nav class="animated">
<ul>
<ul>
<li><a href="/">主页</a></li>
<li><a href="/archives">归档</a></li>
<li><a href="/about">关于我</a></li>
<li>
<form class="search" action="//google.com/search" method="get" accept-charset="utf-8">
<label>Search</label>
<input type="search" id="search" name="q" autocomplete="off" maxlength="20" placeholder="搜索" />
<input type="hidden" name="q" value="site:github.com/lyre2468/lyre2468.github.io.git">
</form>
</li>
</ul>
</nav>
</div>
</header>
<div id="container">
<div id="main">
<section class="post" itemscope itemprop="blogitem">
<a href="/2015/05/07/闭包/" title="闭包" itemprop="url">
<h1 itemprop="name">闭包</h1>
<p itemprop="description" >一直对Js的闭包有点迷糊,今天偶然读到Javascript权威指南第六版本,相当的厚,大概1000多页,Js博大精深,要熟悉精通需要大毅力大功夫。闭包是一个比较抽象的概念,尤其是对js新手来说,但是他也是js能力提升中无法绕过的一环。</p>
<time datetime="2015-05-07T08:43:33.000Z" itemprop="datePublished">2015-05-07</time>
</a>
</section>
<section class="post" itemscope itemprop="blogitem">
<a href="/2015/04/03/视差滚动2/" title="视差滚动" itemprop="url">
<h1 itemprop="name">视差滚动</h1>
<p itemprop="description" >视差滚动(Parallax Scrolling)是指让多层背景以不同的速度移动,形成立体的运动效果,带来非常出色的视觉体验。</p>
<time datetime="2015-04-03T12:24:33.000Z" itemprop="datePublished">2015-04-03</time>
</a>
</section>
<section class="post" itemscope itemprop="blogitem">
<a href="/2015/04/03/快速排序2/" title="快速排序" itemprop="url">
<h1 itemprop="name">快速排序</h1>
<p itemprop="description" >快速排序的基本思想基本思想是:通过一趟排序将要排序的数据分割成独立的两部分,其中一部分的所有数据都比另外一部分的所有数据都要小,然后再按此方法对这两部分数据分别进行快速排序,整个排序过程可以递归进行,以此达到整个数据变成有序序列。</p>
<time datetime="2015-04-03T05:10:22.000Z" itemprop="datePublished">2015-04-03</time>
</a>
</section>
<section class="post" itemscope itemprop="blogitem">
<a href="/2015/03/07/hello-world - 副本2/" title="hexo 简单命令介绍" itemprop="url">
<h1 itemprop="name">hexo 简单命令介绍</h1>
<p itemprop="description" >hexo 简单命令介绍</p>
<time datetime="2015-03-07T10:44:12.000Z" itemprop="datePublished">2015-03-07</time>
</a>
</section>
<section class="post" itemscope itemprop="blogitem">
<a href="/2015/03/07/hai/" title="hai" itemprop="url">
<h1 itemprop="name">hai</h1>
<p itemprop="description" >欢迎来到lyre小屋哦</p>
<time datetime="2015-03-07T10:44:12.000Z" itemprop="datePublished">2015-03-07</time>
</a>
</section>
</div>
<div class="openaside"><a class="navbutton" href="#" title="显示侧边栏"></a></div>
<div id="asidepart">
<div class="closeaside"><a class="closebutton" href="#" title="隐藏侧边栏"></a></div>
<aside class="clearfix">
<div class="categorieslist">
<p class="asidetitle">分类</p>
<ul>
<li><a href="/categories/前端/" title="前端">前端<sup>2</sup></a></li>
<li><a href="/categories/生活/" title="生活">生活<sup>1</sup></a></li>
<li><a href="/categories/编程/" title="编程">编程<sup>1</sup></a></li>
</ul>
</div>
<div class="tagslist">
<p class="asidetitle">标签</p>
<ul class="clearfix">
<li><a href="/tags/js/" title="js">js<sup>2</sup></a></li>
<li><a href="/tags/html/" title="html">html<sup>2</sup></a></li>
<li><a href="/tags/开始/" title="开始">开始<sup>1</sup></a></li>
<li><a href="/tags/我/" title="我">我<sup>1</sup></a></li>
<li><a href="/tags/C/" title="C++">C++<sup>1</sup></a></li>
<li><a href="/tags/数据结构/" title="数据结构">数据结构<sup>1</sup></a></li>
</ul>
</div>
<div class="linkslist">
<p class="asidetitle">友情链接</p>
<ul>
<li>
<a href="http://www.w3school.com.cn/" target="_blank" title="w3cschool">w3cschool</a>
</li>
<li>
<a href="http://www.csdn.net/" target="_blank" title="CSDN中文论坛">CSDN中文论坛</a>
</li>
</ul>
</div>
<div class="doubanshow">
<p class="asidetitle">豆瓣秀</p>
<div>
<script type="text/javascript" src="http://www.douban.com/service/badge/douabn## e.g. wuchong1014 or your id for https://www.douban.com/people/wuchong1014/?show=collection&n=12&columns=3&hidelogo=yes&hideself=yes&cat=book|movie" ></script>
</div>
</div>
<div class="rsspart">
<a href="/atom.xml" target="_blank" title="rss">RSS 订阅</a>
</div>
</aside>
</div>
</div>
<footer><div id="footer" >
<div class="line">
<span></span>
<div class="author"></div>
</div>
<section class="info">
<p> 大家好,我是lyre. <br/>
作为一名热爱前端的小蜗牛,缓缓前进.</p>
</section>
<div class="social-font" class="clearfix">
<a href="http://weibo.com/2122937592" target="_blank" class="icon-weibo" title="微博"></a>
<a href="https://github.com/https://github.com/lyre" target="_blank" class="icon-github" title="github"></a>
<a href="https://www.douban.com/people/douabn## e.g. wuchong1014 or your id for https://www.douban.com/people/wuchong1014" target="_blank" class="icon-douban" title="豆瓣"></a>
<a href="mailto:lyredq@qq.com" target="_blank" class="icon-email" title="Email Me"></a>
</div>
<p class="copyright">
Powered by <a href="http://hexo.io" target="_blank" title="hexo">hexo</a> and Theme by <a href="https://github.com/wuchong/jacman" target="_blank" title="Jacman">Jacman</a> © 2015
<a href="/about" target="_blank" title="lyre">lyre</a>
</p>
</div>
</footer>
<script src="/js/jquery-2.0.3.min.js"></script>
<script src="/js/jquery.imagesloaded.min.js"></script>
<script src="/js/gallery.js"></script>
<script src="/js/jquery.qrcode-0.12.0.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.navbar').click(function(){
$('header nav').toggleClass('shownav');
});
var myWidth = 0;
function getSize(){
if( typeof( window.innerWidth ) == 'number' ) {
myWidth = window.innerWidth;
} else if( document.documentElement && document.documentElement.clientWidth) {
myWidth = document.documentElement.clientWidth;
};
};
var m = $('#main'),
a = $('#asidepart'),
c = $('.closeaside'),
o = $('.openaside');
c.click(function(){
a.addClass('fadeOut').css('display', 'none');
o.css('display', 'block').addClass('fadeIn');
m.addClass('moveMain');
});
o.click(function(){
o.css('display', 'none').removeClass('beforeFadeIn');
a.css('display', 'block').removeClass('fadeOut').addClass('fadeIn');
m.removeClass('moveMain');
});
$(window).scroll(function(){
o.css("top",Math.max(80,260-$(this).scrollTop()));
});
$(window).resize(function(){
getSize();
if (myWidth >= 1024) {
$('header nav').removeClass('shownav');
}else{
m.removeClass('moveMain');
a.css('display', 'block').removeClass('fadeOut');
o.css('display', 'none');
}
});
});
</script>
<script type="text/javascript">
var duoshuoQuery = {short_name:"lyre"};
(function() {
var ds = document.createElement('script');
ds.type = 'text/javascript';ds.async = true;
ds.src = '//static.duoshuo.com/embed.js';
ds.charset = 'UTF-8';
(document.getElementsByTagName('head')[0]
|| document.getElementsByTagName('body')[0]).appendChild(ds);
})();
</script>
<script type="text/javascript">
var disqus_shortname = 'lyre';
(function(){
var dsq = document.createElement('script');
dsq.type = 'text/javascript';
dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
}());
(function(){
var dsq = document.createElement('script');
dsq.type = 'text/javascript';
dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
}());
</script>
<link rel="stylesheet" href="/fancybox/jquery.fancybox.css" media="screen" type="text/css">
<script src="/fancybox/jquery.fancybox.pack.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.article-content').each(function(i){
$(this).find('img').each(function(){
if ($(this).parent().hasClass('fancybox')) return;
var alt = this.alt;
if (alt) $(this).after('<span class="caption">' + alt + '</span>');
$(this).wrap('<a href="' + this.src + '" title="' + alt + '" class="fancybox"></a>');
});
$(this).find('.fancybox').each(function(){
$(this).attr('rel', 'article' + i);
});
});
if($.fancybox){
$('.fancybox').fancybox();
}
});
</script>
<!-- Analytics Begin -->
<!-- Analytics End -->
<!-- Totop Begin -->
<div id="totop">
<a title="返回顶部"><img src="/img/scrollup.png"/></a>
</div>
<script src="/js/totop.js"></script>
<!-- Totop End -->
<!-- MathJax Begin -->
<!-- mathjax config similar to math.stackexchange -->
<!-- MathJax End -->
<!-- Tiny_search Begin -->
<!-- Tiny_search End -->
</body>
</html>