-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
452 lines (222 loc) · 11.4 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
<!DOCTYPE html>
<!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]-->
<!--[if lt IE 9]><html class="no-js lte-ie8"><![endif]-->
<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8">
<title>iostreamin's Blog</title>
<meta name="author" content="iostreamin">
<meta name="description" content="字符串匹配作为计算机的基本任务,有很多种算法可以高效的匹配字符串,其中Knuth-Morris-Pratt算法(简称KMP)是最常用的算法之一。可是很多人都觉得KMP难以理解,所以我就想试着理出一些头绪,如果能给你一些帮助,那就更好了。 ">
<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="http://xeostream.github.com">
<link href="/favicon.png" rel="icon">
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
<link href="/atom.xml" rel="alternate" title="iostreamin's Blog" type="application/atom+xml">
<script src="/javascripts/modernizr-2.0.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="./javascripts/lib/jquery.min.js"%3E%3C/script%3E'))</script>
<script src="/javascripts/octopress.js" type="text/javascript"></script>
<!--Fonts from Google"s Web font directory at http://google.com/webfonts -->
<link href="http://fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-39665397-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body >
<header role="banner"><hgroup>
<h1><a href="/">iostreamin's Blog</a></h1>
<h2>geek for unknown.</h2>
</hgroup>
</header>
<nav role="navigation"><ul class="subscription" data-subscription="rss">
<li><a href="/atom.xml" rel="subscribe-rss" title="subscribe via RSS">RSS</a></li>
</ul>
<form action="http://google.com/search" method="get">
<fieldset role="search">
<input type="hidden" name="q" value="site:xeostream.github.com" />
<input class="search" type="text" name="q" results="0" placeholder="Search"/>
</fieldset>
</form>
<ul class="main-navigation">
<li><a href="/">Blog</a></li>
<li><a href="/blog/archives">Archives</a></li>
</ul>
</nav>
<div id="main">
<div id="content">
<div class="blog-index">
<article>
<header>
<h1 class="entry-title"><a href="/blog/2013/11/10/kmp/">字符串匹配算法-KMP理解</a></h1>
<p class="meta">
<time datetime="2013-11-10T10:03:00+08:00" pubdate data-updated="true">Nov 10<span>th</span>, 2013</time>
| <a href="/blog/2013/11/10/kmp/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><p>字符串匹配作为计算机的基本任务,有很多种算法可以高效的匹配字符串,其中<a href="http://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm">Knuth-Morris-Pratt算法</a>(简称KMP)是最常用的算法之一。可是很多人都觉得KMP难以理解,所以我就想试着理出一些头绪,如果能给你一些帮助,那就更好了。</p>
</div>
<footer>
<a rel="full-article" href="/blog/2013/11/10/kmp/">Read on →</a>
</footer>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2013/07/15/moses-one/">Mint15安装moses教程</a></h1>
<p class="meta">
<time datetime="2013-07-15T21:10:00+08:00" pubdate data-updated="true">Jul 15<span>th</span>, 2013</time>
| <a href="/blog/2013/07/15/moses-one/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><p>我的系统是Linux Mint15,64位的系统,gcc的版本是4.7.3,之后我将以此系统为例演示编译配置moses的步骤。</p>
</div>
<footer>
<a rel="full-article" href="/blog/2013/07/15/moses-one/">Read on →</a>
</footer>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2013/03/26/rails-coreseek/">Coreseek配置rails项目全文搜索</a></h1>
<p class="meta">
<time datetime="2013-03-26T22:07:00+08:00" pubdate data-updated="true">Mar 26<span>th</span>, 2013</time>
| <a href="/blog/2013/03/26/rails-coreseek/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><p>rails是ruby的web框架,由于rails框架的易用性,近几年出现了很多基于rails的网站,随着网站的发展,积累的数据会越来越多,有的时候我们可能要给网站升级,比如增加全文搜索功能,那就要用到我们说到的coreseek软件,coreseek是一款中文全文检索软件,coreseek本身是基于sphinx开发的,接下来介绍coreseek的安装与配置(需要安装包的可以给我留言)。</p>
</div>
<footer>
<a rel="full-article" href="/blog/2013/03/26/rails-coreseek/">Read on →</a>
</footer>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2013/03/16/rubyonrails-one/">RubyOnRails学习之rails框架</a></h1>
<p class="meta">
<time datetime="2013-03-16T17:58:00+08:00" pubdate data-updated="true">Mar 16<span>th</span>, 2013</time>
| <a href="/blog/2013/03/16/rubyonrails-one/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><p>rails是基于MVC的web框架,model对应于active record,controller对应于action controller,view对应于action view。</p>
</div>
<footer>
<a rel="full-article" href="/blog/2013/03/16/rubyonrails-one/">Read on →</a>
</footer>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2013/03/10/TDD/">Test Driven Development/TDD</a></h1>
<p class="meta">
<time datetime="2013-03-10T15:54:00+08:00" pubdate data-updated="true">Mar 10<span>th</span>, 2013</time>
| <a href="/blog/2013/03/10/TDD/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><p>作为一个有理想、有追求的程序员,你成天被各种名词包围着,你对其中一个叫做敏捷的东西特别感兴趣,因为它特别强调人的作用,这听着都让做程序员的你感到舒服。为了让自己早日敏捷起来,你从众多的敏捷实践中选择了一个叫做测试驱动开发(Test Driven Development,TDD)的作为你的起始点。因为它对你周遭的环境要求是最低的:它不像结对那样,要求其他人和你一起合作;也不像采用Story那样改变你所在团队的做事方式……你所需要做的,只是在你编写业务代码之前,把测试先写好。这完全是一种润物细无声的做法,根本无需告诉你之外的任何人。就在别人忙碌的找bug时,你便开始享受敏捷带给你的快乐了。顺便带来的好处是,下次在那里和别人争论敏捷的时候,你可以以一个实践者的姿态出现,而不是在那里信口开河。</p>
</div>
<footer>
<a rel="full-article" href="/blog/2013/03/10/TDD/">Read on →</a>
</footer>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2013/03/03/first-blog/">First Blog</a></h1>
<p class="meta">
<time datetime="2013-03-03T19:14:00+08:00" pubdate data-updated="true">Mar 3<span>rd</span>, 2013</time>
| <a href="/blog/2013/03/03/first-blog/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><h1>This is my first blog</h1>
<p>This is my first blog</p>
</div>
</article>
<div class="pagination">
<a href="/blog/archives">Blog Archives</a>
</div>
</div>
<aside class="sidebar">
<section>
<h1>About Me</h1>
<p>A little something about me.</p>
</section>
<section>
<h1>Recent Posts</h1>
<ul id="recent_posts">
<li class="post">
<a href="/blog/2013/11/10/kmp/">字符串匹配算法-KMP理解</a>
</li>
<li class="post">
<a href="/blog/2013/07/15/moses-one/">Mint15安装moses教程</a>
</li>
<li class="post">
<a href="/blog/2013/03/26/rails-coreseek/">Coreseek配置rails项目全文搜索</a>
</li>
<li class="post">
<a href="/blog/2013/03/16/rubyonrails-one/">RubyOnRails学习之rails框架</a>
</li>
<li class="post">
<a href="/blog/2013/03/10/TDD/">Test Driven Development/TDD</a>
</li>
</ul>
</section>
<section>
<h1>GitHub Repos</h1>
<ul id="gh_repos">
<li class="loading">Status updating…</li>
</ul>
<a href="https://github.com/xeostream">@xeostream</a> on GitHub
<script type="text/javascript">
$(document).ready(function(){
if (!window.jXHR){
var jxhr = document.createElement('script');
jxhr.type = 'text/javascript';
jxhr.src = '/javascripts/libs/jXHR.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(jxhr, s);
}
github.showRepos({
user: 'xeostream',
count: 0,
skip_forks: true,
target: '#gh_repos'
});
});
</script>
<script src="/javascripts/github.js" type="text/javascript"> </script>
</section>
</aside>
</div>
</div>
<footer role="contentinfo"><p>
Copyright © 2014 - iostreamin -
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a></span>
</p>
</footer>
<script type="text/javascript">
var disqus_shortname = 'iostreaminsblog';
var disqus_script = 'count.js';
(function () {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/' + disqus_script;
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
}());
</script>
<script type="text/javascript">
(function(){
var twitterWidgets = document.createElement('script');
twitterWidgets.type = 'text/javascript';
twitterWidgets.async = true;
twitterWidgets.src = '//platform.twitter.com/widgets.js';
document.getElementsByTagName('head')[0].appendChild(twitterWidgets);
})();
</script>
</body>
</html>