-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
396 lines (304 loc) · 15.2 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
<!DOCTYPE html>
<!--[if lte IE 8 ]>
<html class="ie" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<!--
*************** * * *
8 * * *
8 * * *
8 ** *
8 * * *
8 * * *
8 * * *
8 * * *********** -----Theme By Kieran(http://go.kieran.top)
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<!--<![endif]-->
<head>
<title>FairyTail</title>
<!-- Meta data -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8" >
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="generator" content="FairyTail">
<meta name="author" content="FairyTail">
<meta name="description" content="To pursue the fairytail" />
<meta name="keywords" content="" />
<!-- Favicon, (keep icon in root folder) -->
<link rel="Shortcut Icon" href="/img/favicon.ico" type="image/ico">
<link rel="alternate" href="/atom.xml" title="FairyTail" type="application/atom+xml">
<link rel="stylesheet" href="/css/all.css" media="screen" type="text/css">
<link rel="stylesheet" href="/highlightjs/vs.css" type="text/css">
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="/css/ie8.css" />
<![endif]-->
<!-- jQuery | Load our jQuery, with an alternative source fallback to a local version if request is unavailable -->
<script src="/js/jquery-1.11.1.min.js"></script>
<script>window.jQuery || document.write('<script src="js/jquery-1.11.1.min.js"><\/script>')</script>
<!-- Load these in the <head> for quicker IE8+ load times -->
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="/js/html5shiv.min.js"></script>
<script src="/js/respond.min.js"></script>
<![endif]-->
<style>.col-md-8.col-md-offset-2.opening-statement img{display:none;}</style>
</head>
<!--
<body class="home-template">
-->
<body id="index" class="lightnav animsition">
<!-- ============================ Off-canvas navigation =========================== -->
<div class="sb-slidebar sb-right sb-style-overlay sb-momentum-scrolling">
<div class="sb-close" aria-label="Close Menu" aria-hidden="true">
<img src="/img/close.png" alt="Close"/>
</div>
<!-- Lists in Slidebars -->
<ul class="sb-menu">
<li><a href="/" class="animsition-link" title="Home">Home</a></li>
<li><a href="/archives" class="animsition-link" title="archive">archives</a></li>
<!-- Dropdown Menu -->
<li>
<a class="sb-toggle-submenu">Works<span class="sb-caret"></span></a>
<ul class="sb-submenu">
<li><a href="http://www.jianshu.com/u/d9470395c0ca" target="_BLANK" class="animsition-link">我的简书</a></li>
<li><a href="https://github.com/TWBfly" target="_BLANK" class="animsition-link">我的github</a></li>
</ul>
</li>
<li>
<a class="sb-toggle-submenu">Links<span class="sb-caret"></span></a>
<ul class="sb-submenu">
<li><a href="http://blog.csdn.net/lmj623565791?viewmode=contents" class="animsition-link">鸿洋</a></li>
<li><a href="https://juejin.im/welcome/android" class="animsition-link">掘金</a></li>
<li><a href="http://www.jcodecraeer.com/plus/list.php?tid=16" class="animsition-link">泡在网上的日子</a></li>
<li><a href="http://www.jikedaohang.com/" class="animsition-link">专为Android程序员的导航</a></li>
</ul>
</li>
</ul>
<!-- Lists in Slidebars -->
<ul class="sb-menu secondary">
<li><a href="/about.html" class="animsition-link" title="about">About</a></li>
<li><a href="/atom.xml" class="animsition-link" title="rss">RSS</a></li>
</ul>
</div>
<!-- ============================ END Off-canvas navigation =========================== -->
<!-- ============================ #sb-site Main Page Wrapper =========================== -->
<div id="sb-site">
<!-- #sb-site - All page content should be contained within this id, except the off-canvas navigation itself -->
<!-- ============================ Header & Logo bar =========================== -->
<div id="navigation" class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<!-- Nav logo -->
<div class="logo">
<a href="/" title="Logo" class="animsition-link">
<img src="/img/failytail.png" alt="Logo" width="35px;"/>
</a>
</div>
<!-- // Nav logo -->
<!-- Info-bar -->
<nav>
<ul class="nav">
<li><a href="/" class="animsition-link">FairyTail</a></li>
<li class="nolink"><span>Always </span>Creative.</li>
<li><a href="https://github.com/TWBfly" title="Github" target="_blank"><i class="icon-github"></i></a></li>
<li><a href="https://twitter.com/" title="Twitter" target="_blank"><i class="icon-twitter"></i></a></li>
<li><a href="https://www.facebook.com/" title="Facebook" target="_blank"><i class="icon-facebook"></i></a></li>
<li><a href="https://google.com/" title="Google-Plus" target="_blank"><i class="icon-google-plus"></i></a></li>
<li><a href="http://weibo.com/" title="Sina-Weibo" target="_blank"><i class="icon-sina-weibo"></i></a></li>
<li class="nolink"><span>Welcome!</span></li>
</ul>
</nav>
<!--// Info-bar -->
</div>
<!-- // .container -->
<div class="learnmore sb-toggle-right">More</div>
<button type="button" class="navbar-toggle menu-icon sb-toggle-right" title="More">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar before"></span>
<span class="icon-bar main"></span>
<span class="icon-bar after"></span>
</button>
</div>
<!-- // .navbar-inner -->
</div>
<!-- ============================ Header & Logo bar =========================== -->
<!-- ============================ Hero Image =========================== -->
<section id="hero" class="scrollme">
<div class="container-fluid element-img" style="background: url(/img/bg.png) no-repeat center center fixed;background-size: cover">
<div class="row">
<div class="col-xs-12 col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2 vertical-align cover boost text-center">
<div class="center-me animateme" data-when="exit" data-from="0" data-to="0.6" data-opacity="0" data-translatey="100">
<div>
<h2>YOU'VE MADE A <span>BRAVE</span> DECISION, WELCOME.</h2>
<p></p>
<h2></h2>
<p>每一个不曾起舞的日子都是对生命的辜负。</p>
</div>
</div>
</div>
<!-- // .col-md-12 -->
</div>
<div class="herofade beige-dk"></div>
</div>
</section>
<!-- Height spacing helper -->
<div class="heightblock"></div>
<!-- // End height spacing helper -->
<!-- ============================ END Hero Image =========================== -->
<!-- ============================ Content =========================== -->
<section id="intro">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2 opening-statement">
<div class="col-md-4">
<h3><a href="/2017/05/11/面试/">面试</a></h3>
<span>
<span class="post-meta">
<time datetime="2017-05-11T10:08:57.000Z" itemprop="datePublished">
2017-05-11
</time>
</span>
</span>
</div>
<div class="col-md-8">
<p>
oom避免方法总结1.减少内存占用
使用轻量级数据结构
少使用枚举.比static占内存多几倍
减少bitmap内存占用:预加载宽高(injustDecodeBounds=true),缩小size(缩小2的inSampleSize次幂),改解码方式(一般不用的).ARGB_8888一个像素32位,改ARGB_4444,RGB啥的,但图片颜色,清晰度什么的会受影响.
2.内存对象复用
bitmap:LRUCache
listView:vi
</p>
<p class="pull-right readMore">
<a href="/2017/05/11/面试/">Read More...</a>
</p>
</div>
<div class="clearfix"></div>
<hr class="nogutter">
</div>
</div>
<div class="row">
<div class="col-md-8 col-md-offset-2 opening-statement">
<div class="col-md-4">
<h3><a href="/2017/05/11/建个人blog/">搭建个人blog</a></h3>
<span>
<span class="post-meta">
<time datetime="2017-05-11T04:40:35.000Z" itemprop="datePublished">
2017-05-11
</time>
</span>
</span>
</div>
<div class="col-md-8">
<p>
第一步:环境准备安装git
安装Node.js
安装hexo,在任意位置点击鼠标右键,选择Git bash1npm install hexo-cli -g
看是否安装成功1hexo
出现以上内容,安装成功.
第二步:创建hexo文件夹在磁盘下创建hexo文件夹,在hexo文件夹内右键,选择Git bash,输入指令初始化1hexo init
安装依赖包1npm install
本地查看,在浏览器输入localhost:400012hex
</p>
<p class="pull-right readMore">
<a href="/2017/05/11/建个人blog/">Read More...</a>
</p>
</div>
<div class="clearfix"></div>
<hr class="nogutter">
</div>
</div>
<nav class="pagination" role="pagination">
</nav>
</div>
</section>
<section id="statement">
<div class="container text-center wow fadeInUp" data-wow-delay="0.5s">
<div class="row">
<p>过去不可以改变,未来可以。</p>
</div>
</div>
</section>
<!-- ============================ END Content =========================== -->
<!-- ============================ Footer =========================== -->
<footer>
<div class="container">
<div class="copy">
<p>
© 2014<script>new Date().getFullYear()>2010&&document.write("-"+new Date().getFullYear());</script>, Content By FairyTail. All Rights Reserved.
</p>
<p>Theme By <a href="//go.kieran.top" style="color: #767D84">Kieran</a></p>
</div>
<div class="social">
<ul>
<li><a href="https://github.com/TWBfly" title="Github" target="_blank"><i class="icon-github"></i></a> </li>
<li><a href="https://twitter.com/" title="Twitter" target="_blank"><i class="icon-twitter"></i></a> </li>
<li><a href="https://www.facebook.com/" title="Facebook" target="_blank"><i class="icon-facebook"></i></a> </li>
<li><a href="https://google.com/" title="Google-Plus" target="_blank"><i class="icon-google-plus"></i></a> </li>
<li><a href="http://weibo.com/" title="Sina-Weibo" target="_blank"><i class="icon-sina-weibo"></i></a> </li>
</ul>
</div>
<div class="clearfix"> </div>
</div>
</footer>
<!-- ============================ END Footer =========================== -->
<!-- Load our scripts -->
<!-- Resizable 'on-demand' full-height hero -->
<script type="text/javascript">
var resizeHero = function () {
var hero = $(".cover,.heightblock"),
window1 = $(window);
hero.css({
"height": window1.height()
});
};
resizeHero();
$(window).resize(function () {
resizeHero();
});
</script>
<script src="/js/plugins.min.js"></script><!-- Bootstrap core and concatenated plugins always load here -->
<script src="/js/jquery.flexslider-min.js"></script><!-- Flexslider plugin -->
<script src="/js/scripts.js"></script><!-- Theme scripts -->
<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">
$('#intro').find('img').each(function(){
var alt = this.alt;
if (alt){
$(this).after('<span class="caption" style="display:none">' + alt + '</span>');
}
$(this).wrap('<a href="' + this.src + '" title="' + alt + '" class="fancybox" rel="gallery" />');
});
(function($){
$('.fancybox').fancybox();
})(jQuery);
</script>
<!-- Initiate flexslider plugin -->
<script type="text/javascript">
$(document).ready(function($) {
(function(){
console.log('font');
var getCss = function(path) {
var head = document.getElementsByTagName('head')[0];
link = document.createElement('link');
link.href = path;
link.rel = 'stylesheet';
link.type = 'text/css';
head.appendChild(link);
};
getCss('https://fonts.googleapis.com/css?family=Montserrat:400,700');
getCss('https://fonts.googleapis.com/css?family=Open+Sans:400,600');
})();
$('.flexslider').flexslider({
animation: "fade",
prevText: "",
nextText: "",
directionNav: true
});
});
</script>
</body>
</html>