-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
764 lines (429 loc) · 23.8 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
<!DOCTYPE html>
<html lang="zh-Hans">
<head>
<!--[if lt IE 9]>
<style>body {display: none; background: none !important} </style>
<meta http-equiv="Refresh" Content="0; url=//outdatedbrowser.com/" />
<![endif]-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="format-detection" content="telephone=no" />
<meta name="author" content="喵小爱" />
<meta property="og:type" content="website">
<meta property="og:title" content="喵小爱的博客">
<meta property="og:url" content="http://xiaoai.site/index.html">
<meta property="og:site_name" content="喵小爱的博客">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="喵小爱的博客">
<link rel="apple-touch-icon" href= "/apple-touch-icon.png">
<link rel="alternate" href="/atom.xml" title="喵小爱的博客" type="application/atom+xml">
<link rel="shortcut icon" href="/favicon.png">
<link href="//cdn.bootcss.com/animate.css/3.5.1/animate.min.css" rel="stylesheet">
<link href="//cdn.bootcss.com/fancybox/2.1.5/jquery.fancybox.min.css" rel="stylesheet">
<script src="//cdn.bootcss.com/pace/1.0.2/pace.min.js"></script>
<link href="//cdn.bootcss.com/pace/1.0.2/themes/blue/pace-theme-minimal.css" rel="stylesheet">
<link rel="stylesheet" href="/css/style.css">
<style> .article { opacity: 0;} </style>
<link href="//cdn.bootcss.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet">
<title>喵小爱的博客</title>
<script src="//cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
<script src="//cdn.bootcss.com/clipboard.js/1.5.10/clipboard.min.js"></script>
<script>
var yiliaConfig = {
fancybox: true,
animate: true,
isHome: true,
isPost: false,
isArchive: false,
isTag: false,
isCategory: false,
fancybox_js: "//cdn.bootcss.com/fancybox/2.1.5/jquery.fancybox.min.js",
scrollreveal: "//cdn.bootcss.com/scrollReveal.js/3.1.4/scrollreveal.min.js",
search: true
}
</script>
<script> yiliaConfig.jquery_ui = [false]; </script>
<script> yiliaConfig.rootUrl = "\/";</script>
</head>
<body>
<div id="container">
<div class="left-col">
<div class="overlay"></div>
<div class="intrude-less">
<header id="header" class="inner">
<a href="/" class="profilepic">
<img src="/img/avatar.jpg" class="animated zoomIn">
</a>
<hgroup>
<h1 class="header-author"><a href="/">喵小爱</a></h1>
</hgroup>
<form id="search-form">
<input type="text" id="local-search-input" name="q" placeholder="search..." class="search form-control" autocomplete="off" autocorrect="off" searchonload="false" />
<i class="fa fa-times" onclick="resetSearch()"></i>
</form>
<div id="local-search-result"></div>
<p class='no-result'>No results found <i class='fa fa-spinner fa-pulse'></i></p>
<div id="switch-btn" class="switch-btn">
<div class="icon">
<div class="icon-ctn">
<div class="icon-wrap icon-house" data-idx="0">
<div class="birdhouse"></div>
<div class="birdhouse_holes"></div>
</div>
<div class="icon-wrap icon-ribbon hide" data-idx="1">
<div class="ribbon"></div>
</div>
<div class="icon-wrap icon-link hide" data-idx="2">
<div class="loopback_l"></div>
<div class="loopback_r"></div>
</div>
</div>
</div>
<div class="tips-box hide">
<div class="tips-arrow"></div>
<ul class="tips-inner">
<li>菜单</li>
<li>标签</li>
<li>友情链接</li>
</ul>
</div>
</div>
<div id="switch-area" class="switch-area">
<div class="switch-wrap">
<section class="switch-part switch-part1">
<nav class="header-menu">
<ul>
<li><a href="/">主页</a></li>
<li><a href="/archives/">所有文章</a></li>
<li><a href="/tags/">标签云</a></li>
</ul>
</nav>
<nav class="header-nav">
<ul class="social">
<a class="fa Email" href="mailto:[email protected]" title="Email"></a>
<a class="fa GitHub" href="https://github.com/flymop" title="GitHub"></a>
<a class="fa RSS" href="/atom.xml" title="RSS"></a>
<a class="fa Twitter" href="https://twitter.com/fly_mop" title="Twitter"></a>
</ul>
</nav>
</section>
<section class="switch-part switch-part2">
<div class="widget tagcloud" id="js-tagcloud">
<ul class="tag-list"><li class="tag-list-item"><a class="tag-list-link" href="/tags/Intellj-IDEA/">Intellj IDEA</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Java/">Java</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Mybatis/">Mybatis</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Python/">Python</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/java/">java</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/mysql/">mysql</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/编程/">编程</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/随笔/">随笔</a></li></ul>
</div>
</section>
<section class="switch-part switch-part3">
<div id="js-friends">
<a class="main-nav-link switch-friends-link" href="http://qaq.gd">bakabush's blog</a>
</div>
</section>
</div>
</div>
</header>
</div>
</div>
<div class="mid-col">
<nav id="mobile-nav">
<div class="overlay">
<div class="slider-trigger"></div>
<h1 class="header-author js-mobile-header hide"><a href="/" title="回到主页">喵小爱</a></h1>
</div>
<div class="intrude-less">
<header id="header" class="inner">
<a href="/" class="profilepic">
<img src="/img/avatar.jpg" class="animated zoomIn">
</a>
<hgroup>
<h1 class="header-author"><a href="/" title="回到主页">喵小爱</a></h1>
</hgroup>
<nav class="header-menu">
<ul>
<li><a href="/">主页</a></li>
<li><a href="/archives/">所有文章</a></li>
<li><a href="/tags/">标签云</a></li>
<div class="clearfix"></div>
</ul>
</nav>
<nav class="header-nav">
<ul class="social">
<a class="fa Email" target="_blank" href="mailto:[email protected]" title="Email"></a>
<a class="fa GitHub" target="_blank" href="https://github.com/flymop" title="GitHub"></a>
<a class="fa RSS" target="_blank" href="/atom.xml" title="RSS"></a>
<a class="fa Twitter" target="_blank" href="https://twitter.com/fly_mop" title="Twitter"></a>
</ul>
</nav>
</header>
</div>
<link class="menu-list" tags="标签" friends="友情链接" about="关于我"/>
</nav>
<div class="body-wrap">
<article id="post-北邮人十大发推机器人" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/posts/byr_topten-twitter-bot/" class="article-date">
<time datetime="2016-09-18T12:19:28.000Z" itemprop="datePublished">2016-09-18</time>
</a>
<a href="/posts/byr_topten-twitter-bot/#comments" title="查看评论">
<i class="fa fa-comments-o" aria-hidden="true"></i>
<span class="count-comment"></span>
<span class="ds-thread-count" data-thread-key="posts/byr_topten-twitter-bot/" ></span>
</a>
</div>
<div class="article-inner">
<input type="hidden" class="isFancy" />
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/posts/byr_topten-twitter-bot/">北邮人十大发推机器人</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<h4 id="脚本用途"><a href="#脚本用途" class="headerlink" title="脚本用途"></a>脚本用途</h4><p>本脚本用于抓取北邮人的十大然后每一条发到推上,这两天刚看python,这个东西很不成熟,另外感谢同班的谢同学<a href="http://www.jianshu.com/p/6ba5b0786a64">Rabin_xie</a> 的指导w<br>
</div>
<div class="article-info article-info-index">
<div class="article-category tagcloud">
<a class="article-category-link" href="/categories/编程/">编程</a>
</div>
<div class="article-tag tagcloud">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Python/">Python</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/编程/">编程</a></li></ul>
</div>
<p class="article-more-link">
<a href="/posts/byr_topten-twitter-bot/#more">阅读全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<article id="post-Java正则表达式的匹配" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/posts/regex-in-java/" class="article-date">
<time datetime="2016-06-29T15:47:12.000Z" itemprop="datePublished">2016-06-29</time>
</a>
<a href="/posts/regex-in-java/#comments" title="查看评论">
<i class="fa fa-comments-o" aria-hidden="true"></i>
<span class="count-comment"></span>
<span class="ds-thread-count" data-thread-key="posts/regex-in-java/" ></span>
</a>
</div>
<div class="article-inner">
<input type="hidden" class="isFancy" />
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/posts/regex-in-java/">Java正则表达式的匹配</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<h4 id="Java中正则匹配的转义"><a href="#Java中正则匹配的转义" class="headerlink" title="Java中正则匹配的转义"></a>Java中正则匹配的转义</h4><p>Java中无论是String.matches()|Pattern.matches|Matcher.matches()所需要的正则表达式均为字符串,因此与常见的正则表达式有所不同。比如有下面一个字符串:<br>
</div>
<div class="article-info article-info-index">
<div class="article-category tagcloud">
<a class="article-category-link" href="/categories/编程/">编程</a>
</div>
<div class="article-tag tagcloud">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Java/">Java</a></li></ul>
</div>
<p class="article-more-link">
<a href="/posts/regex-in-java/#more">阅读全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<article id="post-Intellj-IDEA中配置Spring-Mybatis" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/posts/migrate-spring-mybatis-in-IntelljIDEA/" class="article-date">
<time datetime="2016-05-17T07:06:26.000Z" itemprop="datePublished">2016-05-17</time>
</a>
<a href="/posts/migrate-spring-mybatis-in-IntelljIDEA/#comments" title="查看评论">
<i class="fa fa-comments-o" aria-hidden="true"></i>
<span class="count-comment"></span>
<span class="ds-thread-count" data-thread-key="posts/migrate-spring-mybatis-in-IntelljIDEA/" ></span>
</a>
</div>
<div class="article-inner">
<input type="hidden" class="isFancy" />
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/posts/migrate-spring-mybatis-in-IntelljIDEA/">Intellj IDEA中配置Spring+Mybatis</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<h4 id="Intellj-IDEA中配置Spring-Mybatis"><a href="#Intellj-IDEA中配置Spring-Mybatis" class="headerlink" title="Intellj IDEA中配置Spring+Mybatis"></a>Intellj IDEA中配置Spring+Mybatis</h4><p> Spring+Mybatis 可以面相接口编程(无需接口的实现类),且可由数据库生成代码,减少了大量编码工作量,整合的具体步骤如下:<br>
</div>
<div class="article-info article-info-index">
<div class="article-category tagcloud">
<a class="article-category-link" href="/categories/编程/">编程</a>
</div>
<div class="article-tag tagcloud">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Intellj-IDEA/">Intellj IDEA</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Mybatis/">Mybatis</a></li></ul>
</div>
<p class="article-more-link">
<a href="/posts/migrate-spring-mybatis-in-IntelljIDEA/#more">阅读全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<article id="post-mysql和java中的时间" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/posts/time-in-mysql-and-java/" class="article-date">
<time datetime="2016-04-15T12:48:58.000Z" itemprop="datePublished">2016-04-15</time>
</a>
<a href="/posts/time-in-mysql-and-java/#comments" title="查看评论">
<i class="fa fa-comments-o" aria-hidden="true"></i>
<span class="count-comment"></span>
<span class="ds-thread-count" data-thread-key="posts/time-in-mysql-and-java/" ></span>
</a>
</div>
<div class="article-inner">
<input type="hidden" class="isFancy" />
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/posts/time-in-mysql-and-java/">mysql和java中的时间</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<h3 id="MySQL中的时间"><a href="#MySQL中的时间" class="headerlink" title="MySQL中的时间"></a>MySQL中的时间</h3><p>MySQL中有四种表示时间的类型,分别是 <code>DATETIME</code> <code>DATE</code> <code>TIMESTAMP</code> <code>TIME</code> 分别适用如下:<br>
</div>
<div class="article-info article-info-index">
<div class="article-category tagcloud">
<a class="article-category-link" href="/categories/编程/">编程</a>
</div>
<div class="article-tag tagcloud">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/java/">java</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/mysql/">mysql</a></li></ul>
</div>
<p class="article-more-link">
<a href="/posts/time-in-mysql-and-java/#more">阅读全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<article id="post-既然建了博客就写点东西" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/posts/start/" class="article-date">
<time datetime="2016-04-15T01:38:54.000Z" itemprop="datePublished">2016-04-15</time>
</a>
<a href="/posts/start/#comments" title="查看评论">
<i class="fa fa-comments-o" aria-hidden="true"></i>
<span class="count-comment"></span>
<span class="ds-thread-count" data-thread-key="posts/start/" ></span>
</a>
</div>
<div class="article-inner">
<input type="hidden" class="isFancy" />
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/posts/start/">既然建了博客就写点东西</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>一时冲动看到域名特别便宜就买了,闲置了好长时间,因为懒一直被搁置,最近开始重新看一些编程所以弄了个hexo生成的博客放在github page上,既然弄了所以得写点东西以示存在吧,想了一下这个博客就分为一下两类<br>
</div>
<div class="article-info article-info-index">
<div class="article-category tagcloud">
<a class="article-category-link" href="/categories/随笔/">随笔</a>
</div>
<div class="article-tag tagcloud">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/随笔/">随笔</a></li></ul>
</div>
<p class="article-more-link">
<a href="/posts/start/#more">阅读全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
</div>
<footer id="footer">
<div class="outer">
<div id="footer-info">
<div class="footer-left">
<i class="fa fa-copyright"></i>
2016 喵小爱
</div>
<div class="footer-right">
<a href="http://hexo.io/" target="_blank" title="快速、简洁且高效的博客框架">Hexo</a> Theme <a href="https://github.com/MOxFIVE/hexo-theme-yelee" target="_blank" title="简而不减 Hexo 双栏博客主题 v3.5">Yelee</a> by MOxFIVE <i class="fa fa-heart animated infinite pulse"></i>
</div>
</div>
<div class="visit">
<span id="busuanzi_container_site_pv" style='display:none'>
<span id="site-visit" title="本站到访数"><i class="fa fa-user" aria-hidden="true"></i><span id="busuanzi_value_site_uv"></span>
</span>
</span>
<span>| </span>
<span id="busuanzi_container_page_pv" style='display:none'>
<span id="page-visit" title="本页阅读量"><i class="fa fa-eye animated infinite pulse" aria-hidden="true"></i><span id="busuanzi_value_page_pv"></span>
</span>
</span>
</div>
</div>
</footer>
</div>
<script data-main="/js/main.js" src="//cdn.bootcss.com/require.js/2.2.0/require.min.js"></script>
<script>
$(document).ready(function() {
var iPad = window.navigator.userAgent.indexOf('iPad');
if (iPad > -1 || $(".left-col").css("display") === "none") {
var bgColorList = ["#9db3f4", "#414141", "#e5a859", "#f5dfc6", "#c084a0", "#847e72", "#cd8390", "#996731"];
var bgColor = Math.ceil(Math.random() * (bgColorList.length - 1));
$("body").css({"background-color": bgColorList[bgColor], "background-size": "cover"});
}
else {
var backgroundnum = 3;
var backgroundimg = "url(/background/bg-x.jpg)".replace(/x/gi, Math.ceil(Math.random() * backgroundnum));
$("body").css({"background": backgroundimg, "background-attachment": "fixed", "background-size": "cover"});
}
})
</script>
<script>
if ($(".left-col").is(":visible")) {
var duoshuoQuery = {short_name:"miaoxiaoai"};
(function() {
var d = document, s = d.createElement('script');
s.src = 'http://static.duoshuo.com/embed.js';
s.async = true; s.charset = 'UTF-8';
(d.head || d.body).appendChild(s);
})();
$(document).ready(function(){
var $duoshuoCount = $(".ds-thread-count");
$duoshuoCount.bind("DOMNodeInserted", function(e) {
var num = $(this).text().replace(/[^0-9]/ig,"");
$(this).siblings(".count-comment").text(num);
$(this).remove();
})
})
}
</script>
<!-- Google Analytics -->
<script type="text/javascript">
(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','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-76470812-1', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
<div class="scroll" id="scroll">
<a href="#" title="返回顶部"><i class="fa fa-arrow-up"></i></a>
<a href="#comments" onclick="load$hide();" title="查看评论"><i class="fa fa-comments-o"></i></a>
<a href="#footer" title="转到底部"><i class="fa fa-arrow-down"></i></a>
</div>
<script>
// Open in New Window
var oOpenInNew = {
post: ".article-entry a[href], .copyright a[href]",
archives: ".archive-article-title",
miniArchives: "a.post-list-link",
friends: "#js-friends a",
socail: ".social a"
}
for (var x in oOpenInNew) {
$(oOpenInNew[x]).attr("target", "_blank");
}
</script>
<script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js">
</script>
</div>
</body>
</html>