-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex5.html
606 lines (560 loc) · 26.6 KB
/
index5.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>My Note Book</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="liugehao">
<!-- Le styles -->
<link rel="stylesheet" href="http://liugehao.github.io/theme/css/bootstrap.min.css" type="text/css" />
<style type="text/css">
body {
padding-top: 60px;
padding-bottom: 40px;
}
.sidebar-nav {
padding: 9px 0;
}
.tag-1 {
font-size: 13pt;
}
.tag-2 {
font-size: 10pt;
}
.tag-2 {
font-size: 8pt;
}
.tag-4 {
font-size: 6pt;
}
</style>
<link href="http://liugehao.github.io/theme/css/bootstrap-responsive.min.css" rel="stylesheet">
<link href="http://liugehao.github.io/theme/css/font-awesome.css" rel="stylesheet">
<link href="http://liugehao.github.io/theme/css/pygments.css" rel="stylesheet">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="http://liugehao.github.io/theme/images/favicon.ico">
<link rel="apple-touch-icon" href="http://liugehao.github.io/theme/images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="http://liugehao.github.io/theme/images/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="http://liugehao.github.io/theme/images/apple-touch-icon-114x114.png">
<link href="http://liugehao.github.io/" type="application/atom+xml" rel="alternate" title="My Note Book ATOM Feed" />
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="http://liugehao.github.io/index.html">My Note Book </a>
<div class="nav-collapse">
<ul class="nav">
<li class="divider-vertical"></li>
<li >
<a href="http://liugehao.github.io/category/c.html">
<i class="icon-folder-open icon-large"></i>c
</a>
</li>
<li >
<a href="http://liugehao.github.io/category/db.html">
<i class="icon-folder-open icon-large"></i>db
</a>
</li>
<li >
<a href="http://liugehao.github.io/category/linux.html">
<i class="icon-folder-open icon-large"></i>linux
</a>
</li>
<li >
<a href="http://liugehao.github.io/category/linux2fe697a0e7babfe7bd91e58da1make3a202a2a2a2flib.html">
<i class="icon-folder-open icon-large"></i>linux(2fe697a0e7babfe7bd91e58da1)make(3a202a2a2a2f)lib
</a>
</li>
<li >
<a href="http://liugehao.github.io/category/nginx.html">
<i class="icon-folder-open icon-large"></i>nginx
</a>
</li>
<li >
<a href="http://liugehao.github.io/category/others.html">
<i class="icon-folder-open icon-large"></i>Others
</a>
</li>
<li >
<a href="http://liugehao.github.io/category/php.html">
<i class="icon-folder-open icon-large"></i>php
</a>
</li>
<li >
<a href="http://liugehao.github.io/category/python.html">
<i class="icon-folder-open icon-large"></i>python
</a>
</li>
<li >
<a href="http://liugehao.github.io/category/ruby.html">
<i class="icon-folder-open icon-large"></i>ruby
</a>
</li>
<li >
<a href="http://liugehao.github.io/category/tmp.html">
<i class="icon-folder-open icon-large"></i>tmp
</a>
</li>
<ul class="nav pull-right">
<li><a href="http://liugehao.github.io/archives.html"><i class="icon-th-list"></i>Archives</a></li>
</ul>
</ul>
<!--<p class="navbar-text pull-right">Logged in as <a href="#">username</a></p>-->
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="span9" id="content">
<div class="article">
<h1><a href="http://liugehao.github.io/zhang-jie-3-ke-shi-38-jiang-jie-grub-grub-troubleshooting.html">章节3 课时 38 讲解grub-grub-troubleshooting</a></h1>
<div class="well small"><footer class="post-info">
<span class="label">Date</span>
<abbr class="published" title="2013-08-23T00:00:00">
<i class="icon-calendar"></i>五 23 八月 2013
</abbr>
<span class="label">By</span>
<a href="http://liugehao.github.io/author/liugehao.html"><i class="icon-user"></i>liugehao</a>
<span class="label">Category</span>
<a href="http://liugehao.github.io/category/linux.html"><i class="icon-folder-open"></i>linux</a>.
</footer><!-- /.post-info --></div>
<div class="summary"><p>开机过程
BIOS-->Bootloader --> Kernel--> init --> service --> login --> bash</p>
<p>智能手机
Bootloader(bios+bootloader)->Kernel-></p>
<p>window xp bootloader ntldr
boot.ini 引导多个windows</p>
<p>sector 512byte
446 MBR
64 DPT
2 55AA</p>
<p>/boot/grub/stage1 512byte //出问题,硬盘不可引导
/boot/grub/stage1_5_ext3 //出问题,屏幕出到“GRUB ”无反应,或者屏幕不停刷gurb
上面2个已经写入硬盘最前面
/boot/grub/stage2 写在分区里,不可删除,如果删除系统无法启动</p>
<p>/boot ...</p>
<a class="btn primary xsmall" href="http://liugehao.github.io/zhang-jie-3-ke-shi-38-jiang-jie-grub-grub-troubleshooting.html">more ...</a>
</div>
</div>
<hr />
<div class="article">
<h1><a href="http://liugehao.github.io/describe-linuxgwan-g-wan-keyvalue-store-zlib-base64-here.html">Describe linux/gwan g-wan keyvalue store zlib base64 here.</a></h1>
<div class="well small"><footer class="post-info">
<span class="label">Date</span>
<abbr class="published" title="2013-08-22T00:00:00">
<i class="icon-calendar"></i>四 22 八月 2013
</abbr>
<span class="label">By</span>
<a href="http://liugehao.github.io/author/liugehao.html"><i class="icon-user"></i>liugehao</a>
<span class="label">Category</span>
<a href="http://liugehao.github.io/category/linux.html"><i class="icon-folder-open"></i>linux</a>.
</footer><!-- /.post-info --></div>
<div class="summary"><p>requests post数据时,进行了escape, 所以在http服务器端要unescape才是原数据。</p>
<p>file kv4.c
{{{#!highlight c</p>
<h1>include "gwan.h" // G-WAN exported functions</h1>
<h1>include <malloc.h></h1>
<h1>include <string.h></h1>
<h1>include <stdlib.h></h1>
<h1>include <base64.c></h1>
<p>typedef struct record_s // this is a user-defined 'record' structure
{
char *content;
u64 tm;
} record_t;</p>
<p>int main(int argc, char <em>argv[])
{
xbuf_t </em>reply = get_reply(argv);
char <em>act="", </em>content="", *tm="";</p>
<div class="highlight"><pre><span class="nx">get_arg</span><span class="p">(</span><span class="s2">"act="</span><span class="p">,</span> <span class="o">&</span><span class="nx">act ...</span></pre></div>
<a class="btn primary xsmall" href="http://liugehao.github.io/describe-linuxgwan-g-wan-keyvalue-store-zlib-base64-here.html">more ...</a>
</div>
</div>
<hr />
<div class="article">
<h1><a href="http://liugehao.github.io/describe-linuxrhceshi-pin-31-33-zhong-duan-sudo-autologin-respawn-terminal-here.html">Describe linux/rhce视频/31-33 终端 sudo autologin respawn terminal here.</a></h1>
<div class="well small"><footer class="post-info">
<span class="label">Date</span>
<abbr class="published" title="2013-08-21T00:00:00">
<i class="icon-calendar"></i>三 21 八月 2013
</abbr>
<span class="label">By</span>
<a href="http://liugehao.github.io/author/liugehao.html"><i class="icon-user"></i>liugehao</a>
<span class="label">Category</span>
<a href="http://liugehao.github.io/category/linux.html"><i class="icon-folder-open"></i>linux</a>.
</footer><!-- /.post-info --></div>
<div class="summary"><p>== 31 tty pts ttys0 terminal ==</p>
<p>tty1 tty2 tty3 ...虚拟控制台</p>
<p>/dev/ttyS0 com口</p>
<p>pstree 命令查看进程树时,所有进程的父进程为init(/etc/inittab)</p>
<p>运行级别为2345时</p>
<p>respawn 反复打开子进程 ,如果它监视的子进程被关闭,会自动启动</p>
<p>运行/sbin/mingetty 打开虚拟控制台</p>
<h1>/sbin/mingetty tty12 //执行此命令后,准备好tty12控制台</h1>
<p>/sbin/agetty ttyS0 //com</p>
<p>xwindows下终端,伪终端 pts/0</p>
<p>/dev/pts/ 多伪终端一个登录,多一个文件</p>
<p>skill -9 pts/2 //杀掉进程及子进程</p>
<p>== 32 讲解autologin-respawn ...</p>
<a class="btn primary xsmall" href="http://liugehao.github.io/describe-linuxrhceshi-pin-31-33-zhong-duan-sudo-autologin-respawn-terminal-here.html">more ...</a>
</div>
</div>
<hr />
<div class="article">
<h1><a href="http://liugehao.github.io/describe-linuxvishang-xia-zuo-you-jian-bian-abcd-bashrc-here.html">Describe linux/vi上下左右键变abcd .bashrc here.</a></h1>
<div class="well small"><footer class="post-info">
<span class="label">Date</span>
<abbr class="published" title="2013-08-21T00:00:00">
<i class="icon-calendar"></i>三 21 八月 2013
</abbr>
<span class="label">By</span>
<a href="http://liugehao.github.io/author/liugehao.html"><i class="icon-user"></i>liugehao</a>
<span class="label">Category</span>
<a href="http://liugehao.github.io/category/linux.html"><i class="icon-folder-open"></i>linux</a>.
</footer><!-- /.post-info --></div>
<div class="summary"><p>ubuntu使用的是默认的vim-tiny,那么你可以在终端中输入如下命令:
{{{
export TERM=linux
}}}
'''terminal 类型位于 /usr/share/terminfo目录下'''</p>
<p>这样可以解决上下左右键变成ABCD这些,ubuntu11.04默认的是TERM=xterm,你可以使用echo $term来查看一下。如果不是最新的11.4,上述操作不能成功的话,尝试使用export TERM=vt100试试。</p>
<p>如果你安装过了vim,那么找到vimrc_example.vim拷贝的用户目录下,改名为.vimrc。</p>
<p>==== 最好方案 ====
{{{
apt-get isntall vim
}}}</p>
<a class="btn primary xsmall" href="http://liugehao.github.io/describe-linuxvishang-xia-zuo-you-jian-bian-abcd-bashrc-here.html">more ...</a>
</div>
</div>
<hr />
<div class="article">
<h1><a href="http://liugehao.github.io/mysql-mysqldump-dao-chu-csv-shu-ju.html">mysql mysqldump 导出 csv 数据</a></h1>
<div class="well small"><footer class="post-info">
<span class="label">Date</span>
<abbr class="published" title="2013-08-20T00:00:00">
<i class="icon-calendar"></i>二 20 八月 2013
</abbr>
<span class="label">By</span>
<a href="http://liugehao.github.io/author/liugehao.html"><i class="icon-user"></i>liugehao</a>
<span class="label">Category</span>
<a href="http://liugehao.github.io/category/db.html"><i class="icon-folder-open"></i>db</a>.
</footer><!-- /.post-info --></div>
<div class="summary"><ul>
<li>导出本地数据库数据到本地文件
{{{#!highlight sql
mysql -A service_db -h your_host -utest -ptest</li>
</ul>
<p>mysql> select * from t_apps where created>'2012-07-02 00:00:00' into outfile /tmp/apps.csv
}}}</p>
<ul>
<li>
<p>导出远程数据库数据到本地文件
{{{#!highlight sql
mysql -A service_db -h your_host -utest -ptest -ss -e "SELECT * from t_apps limit 300;" | sed 's/\t/","/g;s/^/"/;s/$/"/;s/\n ...</p></li></ul>
<a class="btn primary xsmall" href="http://liugehao.github.io/mysql-mysqldump-dao-chu-csv-shu-ju.html">more ...</a>
</div>
</div>
<hr />
<div class="article">
<h1><a href="http://liugehao.github.io/describe-linuxbash-bi-ji-here.html">Describe linux/bash 笔记 here.</a></h1>
<div class="well small"><footer class="post-info">
<span class="label">Date</span>
<abbr class="published" title="2013-08-17T00:00:00">
<i class="icon-calendar"></i>六 17 八月 2013
</abbr>
<span class="label">By</span>
<a href="http://liugehao.github.io/author/liugehao.html"><i class="icon-user"></i>liugehao</a>
<span class="label">Category</span>
<a href="http://liugehao.github.io/category/linux.html"><i class="icon-folder-open"></i>linux</a>.
</footer><!-- /.post-info --></div>
<div class="summary"><p>=== 命令组合 ===
||管道|| | ||
||<|4>重定向|| < 重定向输入。指定文件读取数据,而不是键盘输入||
||> >> 重定向输出。将输出结果覆盖、追加到指定文件 ||
||2> 2>> 标准错误输出。 结果覆盖、追加到指定文件||
||&> &>> 将标准输出和错误信息覆盖、追加到指定文件 ||</p>
<p>下面2条相同结果
{{{
find / -name shrek > /tmp/find 2>&1
find / -name shrek &> /tmp/find
cat << EEE
skjdf
sfd
EEE(^D)</p>
<p>}}}
多条命令的逻辑关系
|| 逻辑与 ||&& 语名都执行成功。前面成功,执行后面的。如果前面失败,后面的不执行。||
||逻辑或 || || 前面成功不执行后面。前面失败,执行后面的。||
||逻辑分隔||; 按顺序执行多条语句 ||
=== 3 ...</p>
<a class="btn primary xsmall" href="http://liugehao.github.io/describe-linuxbash-bi-ji-here.html">more ...</a>
</div>
</div>
<hr />
<div class="article">
<h1><a href="http://liugehao.github.io/describe-linuxlinuxcha-kan-xi-tong-pei-zhi-chang-yong-ming-ling-here.html">Describe linux/Linux查看系统配置常用命令 here.</a></h1>
<div class="well small"><footer class="post-info">
<span class="label">Date</span>
<abbr class="published" title="2013-08-15T00:00:00">
<i class="icon-calendar"></i>四 15 八月 2013
</abbr>
<span class="label">By</span>
<a href="http://liugehao.github.io/author/liugehao.html"><i class="icon-user"></i>liugehao</a>
<span class="label">Category</span>
<a href="http://liugehao.github.io/category/linux.html"><i class="icon-folder-open"></i>linux</a>.
</footer><!-- /.post-info --></div>
<div class="summary"><p>{{{
系统</p>
<h1>uname -a # 查看内核/操作系统/CPU信息</h1>
<h1>head -n 1 /etc/issue # 查看操作系统版本</h1>
<h1>cat /proc/cpuinfo # 查看CPU信息</h1>
<h1>hostname # 查看计算机名</h1>
<h1>lspci -tv # 列出所有PCI设备</h1>
<h1>lsusb -tv # 列出所有USB设备</h1>
<h1>lsmod # 列出加载的内核模块</h1>
<h1>env # 查看环境变量</h1>
<p>资源</p>
<h1>free -m # 查看内存使用量和交换区使用量</h1>
<h1>df -h # 查看各分区使用情况</h1>
<h1>du -sh <目录名> # 查看指定目录的大小</h1>
<h1>grep MemTotal /proc/meminfo # 查看内存总量</h1>
<h1>grep MemFree /proc/meminfo # 查看空闲内存量</h1>
<h1>uptime ...</h1>
<a class="btn primary xsmall" href="http://liugehao.github.io/describe-linuxlinuxcha-kan-xi-tong-pei-zhi-chang-yong-ming-ling-here.html">more ...</a>
</div>
</div>
<hr />
<div class="article">
<h1><a href="http://liugehao.github.io/redis-and-hiredis-install.html">redis and hiredis install</a></h1>
<div class="well small"><footer class="post-info">
<span class="label">Date</span>
<abbr class="published" title="2013-08-15T00:00:00">
<i class="icon-calendar"></i>四 15 八月 2013
</abbr>
<span class="label">By</span>
<a href="http://liugehao.github.io/author/liugehao.html"><i class="icon-user"></i>liugehao</a>
<span class="label">Category</span>
<a href="http://liugehao.github.io/category/db.html"><i class="icon-folder-open"></i>db</a>.
</footer><!-- /.post-info --></div>
<div class="summary"><p>=== Redis安装步骤 ===</p>
<ol>
<li>
<p>redis server安装
{{{
wget http://redis.googlecode.com/files/redis-2.4.6.tar.gz #下载文件
tar xzf redis-2.4.6.tar.gz
cd redis-2.4.6
make
cp src/redis-server src/redis-cli /usr/bin/ #方便在终端在任何地方直接运行
cp redis.conf /etc/
ufw allow 6379 #ubuntu下开启端口
}}}</p>
<p>修改/etc/redis.conf,让server以守护进程在后台执行。
daemonize yes ...</p></li></ol>
<a class="btn primary xsmall" href="http://liugehao.github.io/redis-and-hiredis-install.html">more ...</a>
</div>
</div>
<hr />
<div class="article">
<h1><a href="http://liugehao.github.io/linuxrhceshi-pin-18-jie-jue-linuxfang-wen-bi-jiao-man-de-wen-ti.html">linux/rhce视频/18 解决linux访问比较慢的问题</a></h1>
<div class="well small"><footer class="post-info">
<span class="label">Date</span>
<abbr class="published" title="2013-08-14T00:00:00">
<i class="icon-calendar"></i>三 14 八月 2013
</abbr>
<span class="label">By</span>
<a href="http://liugehao.github.io/author/liugehao.html"><i class="icon-user"></i>liugehao</a>
<span class="label">Category</span>
<a href="http://liugehao.github.io/category/linux.html"><i class="icon-folder-open"></i>linux</a>.
</footer><!-- /.post-info --></div>
<div class="summary"><p>{{{
icmp协议:
ping www.sina.com.cn
traceroute www.sina.com.cn
mtr www.sina.com.cn
通路 ,掉包率</p>
<p>查看本机
top
vmstat
netstat
netstat -antup
tcp listen
udp 无状态</p>
<p>特别多的 ESTABLISHED ,有可能多人在看网站,也可能是CC攻击(恶意访问,查看IP,同一IP数多为CC)
如果连接中ESTABLISHED占少数,syn-flood DDOS攻击</p>
<p>抓包工具
iptraf tcpdump wireshark</p>
<p>arping 网关IP
如果有2个mac地址,有arp欺骗,(一般情况下,出现次数多的mac为假网关)</p>
<p>arp -s ...</p>
<a class="btn primary xsmall" href="http://liugehao.github.io/linuxrhceshi-pin-18-jie-jue-linuxfang-wen-bi-jiao-man-de-wen-ti.html">more ...</a>
</div>
</div>
<hr />
<div class="article">
<h1><a href="http://liugehao.github.io/pythonshi-yong-pythonjin-xing-zi-dong-hua-ce-shi.html">python/使用Python进行自动化测试</a></h1>
<div class="well small"><footer class="post-info">
<span class="label">Date</span>
<abbr class="published" title="2013-08-14T00:00:00">
<i class="icon-calendar"></i>三 14 八月 2013
</abbr>
<span class="label">By</span>
<a href="http://liugehao.github.io/author/liugehao.html"><i class="icon-user"></i>liugehao</a>
<span class="label">Category</span>
<a href="http://liugehao.github.io/category/others.html"><i class="icon-folder-open"></i>Others</a>.
</footer><!-- /.post-info --></div>
<div class="summary"><ul>
<li>单元测试</li>
</ul>
<p>. unittest :Python自带的单元测试框架
. pyunit:Junit的Python版本</p>
<ul>
<li>使用Pyhon进行Windows GUI测试</li>
</ul>
<p>这部分的功能主要就是和大家平时使用的QTP类似。在Windows下我们可以使用pywinauto这个开源的框架:
http://code.google.com/p/pywinauto/
来个小例子:
{{{
app.Notepad.MenuSelect("Help->About Notepad")
app.AboutNotepad.OK.Click()
app.Notepad.Edit.TypeKeys ("pywinauto Works!", with_spaces = True)
}}}
呵呵,强大吧</p>
<ul>
<li>使用Python进行Web自动化测试</li>
</ul>
<p>使用Python进行Web自动化测试的工具有很多,这里就向大家推荐一下我比较熟悉的Selenium(Web Driver)吧。
http://seleniumhq.org</p>
<p>我的其他博客有关于Selenium的文章,大家可以看一下。
RF也是不错的框架啊,基于关键字驱动的
http ...</p>
<a class="btn primary xsmall" href="http://liugehao.github.io/pythonshi-yong-pythonjin-xing-zi-dong-hua-ce-shi.html">more ...</a>
</div>
</div>
<hr />
<div class="pagination">
<ul>
<li class="prev"><a href="http://liugehao.github.io/index4.html">← Previous</a></li>
<li class=""><a href="http://liugehao.github.io/index.html">1</a></li>
<li class=""><a href="http://liugehao.github.io/index2.html">2</a></li>
<li class=""><a href="http://liugehao.github.io/index3.html">3</a></li>
<li class=""><a href="http://liugehao.github.io/index4.html">4</a></li>
<li class="active"><a href="http://liugehao.github.io/index5.html">5</a></li>
<li class=""><a href="http://liugehao.github.io/index6.html">6</a></li>
<li class=""><a href="http://liugehao.github.io/index7.html">7</a></li>
<li class=""><a href="http://liugehao.github.io/index8.html">8</a></li>
<li class=""><a href="http://liugehao.github.io/index9.html">9</a></li>
<li class=""><a href="http://liugehao.github.io/index10.html">10</a></li>
<li class=""><a href="http://liugehao.github.io/index11.html">11</a></li>
<li class=""><a href="http://liugehao.github.io/index12.html">12</a></li>
<li class=""><a href="http://liugehao.github.io/index13.html">13</a></li>
<li class=""><a href="http://liugehao.github.io/index14.html">14</a></li>
<li class=""><a href="http://liugehao.github.io/index15.html">15</a></li>
<li class=""><a href="http://liugehao.github.io/index16.html">16</a></li>
<li class=""><a href="http://liugehao.github.io/index17.html">17</a></li>
<li class="next"><a href="http://liugehao.github.io/index6.html">Next →</a></li>
</ul>
</div>
</div><!--/span-->
<div class="span3 well sidebar-nav" id="sidebar">
<ul class="nav nav-list">
<li class="nav-header"><h4><i class="icon-external-link"></i>blogroll</h4></li>
<li><a href="http://getpelican.com/"><i class="icon-external-link"></i>Pelican</a></li>
<li><a href="http://python.org/"><i class="icon-external-link"></i>Python.org</a></li>
<li><a href="http://jinja.pocoo.org/"><i class="icon-external-link"></i>Jinja2</a></li>
<li><a href="#"><i class="icon-external-link"></i>You can modify those links in your config file</a></li>
<li class="nav-header"><h4><i class="icon-home icon-large"></i> social</h4></li>
<li><a href="http://liugehao.github.io/" rel="alternate"><i class="icon-bookmark icon-large"></i>atom feed</a></li>
<li><a href="#"><i class="icon-You can add links in your config file-sign icon-large"></i>You can add links in your config file</a></li>
<li><a href="#"><i class="icon-Another social link-sign icon-large"></i>Another social link</a></li>
<li class="nav-header"><h4><i class="icon-folder-close icon-large"></i>Categories</h4></li>
<li>
<a href="http://liugehao.github.io/category/c.html">
<i class="icon-folder-open icon-large"></i>c
</a>
</li>
<li>
<a href="http://liugehao.github.io/category/db.html">
<i class="icon-folder-open icon-large"></i>db
</a>
</li>
<li>
<a href="http://liugehao.github.io/category/linux.html">
<i class="icon-folder-open icon-large"></i>linux
</a>
</li>
<li>
<a href="http://liugehao.github.io/category/linux2fe697a0e7babfe7bd91e58da1make3a202a2a2a2flib.html">
<i class="icon-folder-open icon-large"></i>linux(2fe697a0e7babfe7bd91e58da1)make(3a202a2a2a2f)lib
</a>
</li>
<li>
<a href="http://liugehao.github.io/category/nginx.html">
<i class="icon-folder-open icon-large"></i>nginx
</a>
</li>
<li>
<a href="http://liugehao.github.io/category/others.html">
<i class="icon-folder-open icon-large"></i>Others
</a>
</li>
<li>
<a href="http://liugehao.github.io/category/php.html">
<i class="icon-folder-open icon-large"></i>php
</a>
</li>
<li>
<a href="http://liugehao.github.io/category/python.html">
<i class="icon-folder-open icon-large"></i>python
</a>
</li>
<li>
<a href="http://liugehao.github.io/category/ruby.html">
<i class="icon-folder-open icon-large"></i>ruby
</a>
</li>
<li>
<a href="http://liugehao.github.io/category/tmp.html">
<i class="icon-folder-open icon-large"></i>tmp
</a>
</li>
<li class="nav-header"><h4><i class="icon-tags icon-large"></i>Tags</h4></li>
</ul> </div><!--/.well -->
</div><!--/row-->
<hr>
<footer>
<address id="about">
Proudly powered by <a href="http://pelican.notmyidea.org/">Pelican <i class="icon-external-link"></i></a>,
which takes great advantage of <a href="http://python.org">Python <i class="icon-external-link"></i></a>.
</address><!-- /#about -->
<p>The theme is from <a href="http://twitter.github.com/bootstrap/">Bootstrap from Twitter <i class="icon-external-link"></i></a>,
and <a href="http://fortawesome.github.com/Font-Awesome/">Font-Awesome <i class="icon-external-link"></i></a>, thanks!</p>
</footer>
</div><!--/.fluid-container-->
<script type="text/javascript">
var disqus_shortname = 'liugehaonotebook';
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
<!-- Le javascript -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="http://liugehao.github.io/theme/js/jquery-1.7.2.min.js"></script>
<script src="http://liugehao.github.io/theme/js/bootstrap.min.js"></script>
</body>
</html>