-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
685 lines (436 loc) · 35.7 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>蜗牛</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="蜗牛的个人博客,分享IT技术、琐事">
<meta property="og:type" content="website">
<meta property="og:title" content="蜗牛">
<meta property="og:url" content="http://wudihzh.info/index.html">
<meta property="og:site_name" content="蜗牛">
<meta property="og:description" content="蜗牛的个人博客,分享IT技术、琐事">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="蜗牛">
<meta name="twitter:description" content="蜗牛的个人博客,分享IT技术、琐事">
<link rel="alternative" href="/atom.xml" title="蜗牛" type="application/atom+xml">
<link rel="icon" href="/favicon.png">
<link rel="stylesheet" href="/css/style.css" type="text/css">
</head>
<body>
<div id="container">
<div id="wrap">
<header id="header">
<div id="banner"></div>
<div id="header-outer" class="outer">
<div id="header-title" class="inner">
<h1 id="logo-wrap">
<a href="/" id="logo">蜗牛</a>
</h1>
<h2 id="subtitle-wrap">
<a href="/" id="subtitle">我要一步一步往上爬,在最高点乘着叶片往前飞</a>
</h2>
</div>
<div id="header-inner" class="inner">
<nav id="main-nav">
<a id="main-nav-toggle" class="nav-icon"></a>
<a class="main-nav-link" href="/">Home</a>
<a class="main-nav-link" href="/archives">Archives</a>
</nav>
<nav id="sub-nav">
<a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
<a id="nav-search-btn" class="nav-icon" title="Search"></a>
</nav>
<div id="search-form-wrap">
<form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" results="0" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit"></button><input type="hidden" name="q" value="site:http://wudihzh.info"></form>
</div>
</div>
</div>
</header>
<div class="outer">
<section id="main">
<article id="post-如何在Linux上运行一个PHP后台任务" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2015/11/17/如何在Linux上运行一个PHP后台任务/" class="article-date">
<time datetime="2015-11-17T12:15:21.000Z" itemprop="datePublished">2015-11-17</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/技术分享/">技术分享</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2015/11/17/如何在Linux上运行一个PHP后台任务/">如何在Linux上运行一个PHP后台任务</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>本文翻译整理自<a href="https://andytson.com/blog/2010/05/daemonising-a-php-cli-script-on-a-posix-system/">Daemonising a PHP cli script on a posix system</a></p>
<blockquote>
<p>I’ve been researching how to best write a long running PHP script executed on the command-line, and whilst there are Linux commands you can use to daemonise a command, these can also be written into a php script as well.</p>
</blockquote>
<p>我花了很长时间去研究怎么编写一个可以一直运行的PHP命令行程序。在Linux系统上,你可以使用命令使一个程序转到后台去运行,不过,通过单纯的PHP代码,你也可以实现这样的需求。</p>
<p class="article-more-link">
<a href="/2015/11/17/如何在Linux上运行一个PHP后台任务/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://wudihzh.info/2015/11/17/如何在Linux上运行一个PHP后台任务/" data-id="cih3cokqd00076kmm0lopk34l" class="article-share-link">Share</a>
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Linux/">Linux</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/PHP/">PHP</a></li></ul>
</footer>
</div>
</article>
<article id="post-PHPExcel使用笔记" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2015/10/24/PHPExcel使用笔记/" class="article-date">
<time datetime="2015-10-24T07:54:08.000Z" itemprop="datePublished">2015-10-24</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/技术分享/">技术分享</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2015/10/24/PHPExcel使用笔记/">PHPExcel使用笔记</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<h3 id="读取Excel文件">读取Excel文件</h3><figure class="highlight php"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br></pre></td><td class="code"><pre><span class="line"><span class="variable">$fileType</span> = PHPExcel_IOFactory::identify(<span class="variable">$file</span>);</span><br><span class="line"><span class="variable">$reader</span> = PHPExcel_IOFactory::createReader(<span class="variable">$fileType</span>);</span><br><span class="line"><span class="comment">// 可选,只读取数据,不解析公式</span></span><br><span class="line"><span class="variable">$reader</span>->setReadDataOnly(<span class="keyword">TRUE</span>);</span><br><span class="line"></span><br><span class="line"><span class="keyword">try</span> {</span><br><span class="line"> <span class="variable">$phpExcel</span> = <span class="variable">$reader</span>->load(<span class="variable">$file</span>);</span><br><span class="line">}</span><br><span class="line"><span class="keyword">catch</span> (PHPExcel_Reader_Exception <span class="variable">$e</span>) {</span><br><span class="line"> ...</span><br><span class="line">}</span><br></pre></td></tr></table></figure>
<p class="article-more-link">
<a href="/2015/10/24/PHPExcel使用笔记/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://wudihzh.info/2015/10/24/PHPExcel使用笔记/" data-id="cih3cokqd000c6kmml1yuqvld" class="article-share-link">Share</a>
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/PHP/">PHP</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/PHPExcel/">PHPExcel</a></li></ul>
</footer>
</div>
</article>
<article id="post-PHP中使用Redis作消息队列" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2015/05/16/PHP中使用Redis作消息队列/" class="article-date">
<time datetime="2015-05-16T07:43:18.000Z" itemprop="datePublished">2015-05-16</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/技术分享/">技术分享</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2015/05/16/PHP中使用Redis作消息队列/">PHP中使用Redis作消息队列</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>消息队列一般应用在需要进行耗时操作的系统上,例如用户注册成功后,需要给用户的邮箱发一封确认邮件。发送邮件是一个相对耗时的操作,因此,我们常常将需要接收邮件的用户信息放入到内存中的一个待发送邮件队列中,然后由一个后台进程从队列中取出这些用户信息并给他们发送邮件。这也就是典型的生产者——消费者模式。</p>
<p>可用作内存消息队列的缓存系统有不少,之所以选用Redis,是因为它本身就支持直接在内存中缓存链表结构的数据,通过对链表执行lPush、rPop操作,就可以模拟队列的FIFO操作了。</p>
<p class="article-more-link">
<a href="/2015/05/16/PHP中使用Redis作消息队列/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://wudihzh.info/2015/05/16/PHP中使用Redis作消息队列/" data-id="cih3cokqt000h6kmmodo695er" class="article-share-link">Share</a>
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Linux/">Linux</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/PHP/">PHP</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Redis/">Redis</a></li></ul>
</footer>
</div>
</article>
<article id="post-如何编写一个安全的HTTP接口" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2015/05/05/如何编写一个安全的HTTP接口/" class="article-date">
<time datetime="2015-05-05T00:20:07.000Z" itemprop="datePublished">2015-05-05</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/技术分享/">技术分享</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2015/05/05/如何编写一个安全的HTTP接口/">如何编写一个安全的HTTP接口</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>要完成一项开发任务,有时候靠单一的系统是不能完成的。比如我们做网站开发的,有时候就要调用其他网站的接口,或者提供接口供其他网站调用,进行数据的查询或者修改操作。这里就涉及到一个安全问题,如果不在接口上增加安全防范,一旦接口地址落入别有用心者手里,就有可能对网站系统造成灾难性的后果。</p>
<p>那么如何编写一个比较安全的HTTP接口,防止接口被别人轻易调用呢?在segmentfault上有一个<a href="http://segmentfault.com/q/1010000000143852">关于此问题的问答</a>,其中“行晓龙”的回答总结了三个常用的方法,前两个方法都要求接口调用者(用户)是系统的注册用户,但是一般情况下我们对用户都没有这样的要求,因此前两个方法的普遍适用性并不大。第三个方法实现起来比较简单,而且不用查询数据库,效率上比第一、二种方法要高,只要保护token的生成规则不泄漏,安全上还是比较有保障的。</p>
<p class="article-more-link">
<a href="/2015/05/05/如何编写一个安全的HTTP接口/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://wudihzh.info/2015/05/05/如何编写一个安全的HTTP接口/" data-id="cih3cokqt000n6kmmxqetvos8" class="article-share-link">Share</a>
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/HTTP/">HTTP</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/安全/">安全</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/接口/">接口</a></li></ul>
</footer>
</div>
</article>
<article id="post-使用PHP对服务器进行压力测试" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2015/04/12/使用PHP对服务器进行压力测试/" class="article-date">
<time datetime="2015-04-12T07:43:58.000Z" itemprop="datePublished">2015-04-12</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/技术分享/">技术分享</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2015/04/12/使用PHP对服务器进行压力测试/">使用PHP对服务器进行压力测试</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>最近基于<a href="http://www.workerman.net/">Workerman</a>在Linux系统上开发了一个手机消息接收系统,主要功能是接收并处理客户端发来的心跳包信息,并且向客户发送设置指令。为了检测系统的稳定性和健壮性,需要对系统进行压力测试。由于本人最熟悉PHP语言,所以决定使用PHP对系统进行压力测试,测试程序需要达到以下目标:</p>
<ul>
<li>使用PHP语言进行编写</li>
<li>可以在Windows系统上执行</li>
<li>使用多个端口,模拟多个客户端同时连接到服务器</li>
<li>使用非阻塞的socket</li>
<li>客户端使用长连接、实现断线重连</li>
<li>保证测试程序长时间稳定运行</li>
</ul>
<p class="article-more-link">
<a href="/2015/04/12/使用PHP对服务器进行压力测试/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://wudihzh.info/2015/04/12/使用PHP对服务器进行压力测试/" data-id="cih3cokr8000v6kmm6wovstpw" class="article-share-link">Share</a>
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/PHP/">PHP</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/socket/">socket</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/压力测试/">压力测试</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/非阻塞/">非阻塞</a></li></ul>
</footer>
</div>
</article>
<article id="post-一个“d”的差别,可怕的内存泄漏" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2015/03/02/一个“d”的差别,可怕的内存泄漏/" class="article-date">
<time datetime="2015-03-02T12:56:37.000Z" itemprop="datePublished">2015-03-02</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/技术分享/">技术分享</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2015/03/02/一个“d”的差别,可怕的内存泄漏/">一个“d”的差别,可怕的内存泄漏</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<h3 id="一、php-memcache与php-memcached">一、php-memcache与php-memcached</h3><p>这里所说的“d”的差别,是指php-memcache和php-memcached扩展的差别(注意后者比前者多了一个“d”)。php-memcache和php-memcached都是利用PHP操作Memcached缓存服务器的扩展。不同的是,php-memcache是在原生的PHP框架内开发的,它的出现时间比较早;而php-memcached是基于libmemcached开发的,具有更多的功能,可以说是php-memcache的一个强化。下面分别是php-memcache和php-memcached的API文档,可以看出php-memcached比php-memcache具有更多的操作方法。</p>
<p><a href="http://php.net/manual/zh/book.memcache.php">http://php.net/manual/zh/book.memcache.php</a><br><a href="http://php.net/manual/zh/book.memcached.php">http://php.net/manual/zh/book.memcached.php</a><br>
<p class="article-more-link">
<a href="/2015/03/02/一个“d”的差别,可怕的内存泄漏/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://wudihzh.info/2015/03/02/一个“d”的差别,可怕的内存泄漏/" data-id="cih3coks4001w6kmmk9q118ze" class="article-share-link">Share</a>
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Memcached/">Memcached</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/PHP/">PHP</a></li></ul>
</footer>
</div>
</article>
<article id="post-2-2在校验数组数据时空字符串处理的问题" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2014/12/05/2-2在校验数组数据时空字符串处理的问题/" class="article-date">
<time datetime="2014-12-05T12:56:37.000Z" itemprop="datePublished">2014-12-05</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/技术分享/">技术分享</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2014/12/05/2-2在校验数组数据时空字符串处理的问题/">解决CodeIgniter 2.2在校验数组数据时空字符串处理的问题</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>在校验用户提交到服务器的数据时,我们有时会遇到这样的需求:某个字段不是必填的,但是如果用户填写了这个字段,则需要校验这个字段的数据是否满足特定的格式。例如在添加用户信息时,姓名字段并不是必需的,但是如果用户填写了姓名,则要求姓名的长度为2到5个字符。利用CodeIgniter提供的表单验证功能,我们只需要编写如下的规则:<br><figure class="highlight php"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">array</span>(</span><br><span class="line"> <span class="string">'field'</span> => <span class="string">'real_name'</span>,</span><br><span class="line"> <span class="string">'label'</span> => <span class="string">'姓名'</span>,</span><br><span class="line"> <span class="string">'rules'</span> => <span class="string">'trim|min_length[2]|max_length[5]|xss_clean'</span></span><br><span class="line">)</span><br></pre></td></tr></table></figure></p>
<p class="article-more-link">
<a href="/2014/12/05/2-2在校验数组数据时空字符串处理的问题/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://wudihzh.info/2014/12/05/2-2在校验数组数据时空字符串处理的问题/" data-id="cih3cokp200006kmmceg2zgpp" class="article-share-link">Share</a>
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/CodeIgniter/">CodeIgniter</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/PHP/">PHP</a></li></ul>
</footer>
</div>
</article>
<article id="post-快乐地与内心交谈——摘自《正能量》" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2014/11/23/快乐地与内心交谈——摘自《正能量》/" class="article-date">
<time datetime="2014-11-23T13:04:36.000Z" itemprop="datePublished">2014-11-23</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/随笔/">随笔</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2014/11/23/快乐地与内心交谈——摘自《正能量》/">快乐地与内心交谈——摘自《正能量》</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>你真的能通过和内心对话来使自己变得更快乐吗?下面,请做两个练习:</p>
<p>首先,大声朗读以下句子。尽量发自肺腑、有感情地朗读,就像你自己正在和一个朋友讲话一样。尽量控制语速,慢慢读,在每一个句子读完后停一小会儿,再继续读后面的句子。很多人一开始觉得这个任务很奇怪,但是,他们很快就适应了。</p>
<ol>
<li>今天我感觉特别好。</li>
<li>我觉得我能成功。</li>
<li>别人都对我很友好,为此我感到高兴。</li>
<li>我知道如果一门心思去做一件事,就一定能取得成功。</li>
<li>我现在激情四射。</li>
<li>我现在精力充沛,感觉压力简直不值一提。</li>
<li>今天我效率特别高。</li>
<li>我现在很乐观,我觉得自己能和所有人相处愉快。</li>
<li>今天我感觉很好,周围的一切也很美好。</li>
<li>我现在兴致高昂,特别具有创造力。</li>
<li>我确信我的大部分朋友都不会离我而去。</li>
<li>我感觉人生就在我的掌控之中。</li>
<li>我心情愉悦,希望能有人播放点美妙的音乐。</li>
<li>我很喜欢做这件事,且享受这一切。</li>
<li>今天感觉太妙了,我一直期待过上这样的日子。</li>
</ol>
<p>你现在感觉怎么样了?大部分人在念完这十五句话后,都会快乐爆棚。</p>
<p>现在,试着大声朗读一下段落。记着,尽量读得自然、感情充沛。</p>
<p>你可以想象自己正和一个朋友打电话,甚至可以即兴创作,让这个段落更加充实丰富:</p>
<p>一切简直太棒了。今天是我的生日,你绝对猜不到发生了什么。一个朋友请我傍晚时到他家玩。我一进门,就发现原来他给我准备了一个惊喜派对!这简直太棒了!几乎所有我认识的人都到了,其中一些人还是推掉了其他安排专程赶来的。他们为我订制了一个生日蛋糕,还送给我礼物,并且为我唱了生日歌。我永远也不会忘记今天,很幸运我能有这样的朋友。</p>
</div>
<footer class="article-footer">
<a data-url="http://wudihzh.info/2014/11/23/快乐地与内心交谈——摘自《正能量》/" data-id="cih3cokr8001b6kmmawbp3mtn" class="article-share-link">Share</a>
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/正能量/">正能量</a></li></ul>
</footer>
</div>
</article>
<article id="post-精通CSS:入门基础" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2014/07/12/精通CSS:入门基础/" class="article-date">
<time datetime="2014-07-12T12:46:21.000Z" itemprop="datePublished">2014-07-12</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/转载/">转载</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2014/07/12/精通CSS:入门基础/">精通CSS:入门基础</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<blockquote>
<p>我们将从CSS的基本属性和技术开始,这些都是我们创建基于CSS的网站经常用到的。</p>
<p>Padding 和 Margin<br>浮动(Floats)<br>居中对齐<br>有序和无序列表<br>格式化标题<br>溢出(Overflow)<br>定位<br>你一旦熟悉了这些基础,我们将开始介绍一些从头开始创建CSS网站的巧妙技巧,以及如何做一些改进。</p>
<p>背景图片<br>图像增强<br>PSD 转 XHTML</p>
</blockquote>
<h3 id="@精通CSS:入门基础">@<a href="http://www.ludou.org/mastering-css-coding-getting-started.html" target="_blank" rel="external">精通CSS:入门基础</a></h3>
</div>
<footer class="article-footer">
<a data-url="http://wudihzh.info/2014/07/12/精通CSS:入门基础/" data-id="cih3cokr800146kmmtr1ia5ji" class="article-share-link">Share</a>
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/CSS/">CSS</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/教程/">教程</a></li></ul>
</footer>
</div>
</article>
<article id="post-SSH开发学习资料总结" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2014/07/09/SSH开发学习资料总结/" class="article-date">
<time datetime="2014-07-09T14:22:38.000Z" itemprop="datePublished">2014-07-09</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/总结/">总结</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2014/07/09/SSH开发学习资料总结/">SSH开发学习资料总结</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<h2 id="1-前端">1.前端</h2><h3 id="1-1参考书">1.1参考书</h3><ul>
<li><p>HTML/CSS/JS</p>
<ul>
<li><a href="http://www.amazon.cn/HTML-CSS%E5%92%8CJavaScript%E5%85%A5%E9%97%A8%E7%BB%8F%E5%85%B8-Julie-C-Meloni/dp/B008GUXLI4/ref=sr_1_5?ie=UTF8&qid=1396528623&sr=8-5&keywords=html+css+javascript">《HTML、CSS和JavaScript入门经典》</a></li>
</ul>
</li>
</ul>
<p class="article-more-link">
<a href="/2014/07/09/SSH开发学习资料总结/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://wudihzh.info/2014/07/09/SSH开发学习资料总结/" data-id="cih3coks4002a6kmmul7pbznd" class="article-share-link">Share</a>
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/SSH/">SSH</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/学习资料/">学习资料</a></li></ul>
</footer>
</div>
</article>
<nav id="page-nav">
<span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="extend next" rel="next" href="/page/2/">Next »</a>
</nav>
</section>
<aside id="sidebar">
<div class="widget-wrap">
<h3 class="widget-title">Categories</h3>
<div class="widget">
<ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/总结/">总结</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/技术分享/">技术分享</a><span class="category-list-count">11</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/转载/">转载</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/随笔/">随笔</a><span class="category-list-count">1</span></li></ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Tags</h3>
<div class="widget">
<ul class="tag-list"><li class="tag-list-item"><a class="tag-list-link" href="/tags/CSS/">CSS</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/CodeIgniter/">CodeIgniter</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Git/">Git</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/HTTP/">HTTP</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Linux/">Linux</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Memcached/">Memcached</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/PHP/">PHP</a><span class="tag-list-count">7</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/PHPExcel/">PHPExcel</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/PySide/">PySide</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Python/">Python</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Redis/">Redis</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/SSH/">SSH</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/socket/">socket</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/博客/">博客</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/压力测试/">压力测试</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/域名/">域名</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/学习资料/">学习资料</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/安全/">安全</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/接口/">接口</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/教程/">教程</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/正能量/">正能量</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/空间/">空间</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/非阻塞/">非阻塞</a><span class="tag-list-count">1</span></li></ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Tag Cloud</h3>
<div class="widget tagcloud">
<a href="/tags/CSS/" style="font-size: 10px;">CSS</a><a href="/tags/CodeIgniter/" style="font-size: 10px;">CodeIgniter</a><a href="/tags/Git/" style="font-size: 15px;">Git</a><a href="/tags/HTTP/" style="font-size: 10px;">HTTP</a><a href="/tags/Linux/" style="font-size: 15px;">Linux</a><a href="/tags/Memcached/" style="font-size: 10px;">Memcached</a><a href="/tags/PHP/" style="font-size: 20px;">PHP</a><a href="/tags/PHPExcel/" style="font-size: 10px;">PHPExcel</a><a href="/tags/PySide/" style="font-size: 10px;">PySide</a><a href="/tags/Python/" style="font-size: 10px;">Python</a><a href="/tags/Redis/" style="font-size: 10px;">Redis</a><a href="/tags/SSH/" style="font-size: 10px;">SSH</a><a href="/tags/socket/" style="font-size: 10px;">socket</a><a href="/tags/博客/" style="font-size: 10px;">博客</a><a href="/tags/压力测试/" style="font-size: 10px;">压力测试</a><a href="/tags/域名/" style="font-size: 10px;">域名</a><a href="/tags/学习资料/" style="font-size: 10px;">学习资料</a><a href="/tags/安全/" style="font-size: 10px;">安全</a><a href="/tags/接口/" style="font-size: 10px;">接口</a><a href="/tags/教程/" style="font-size: 15px;">教程</a><a href="/tags/正能量/" style="font-size: 10px;">正能量</a><a href="/tags/空间/" style="font-size: 10px;">空间</a><a href="/tags/非阻塞/" style="font-size: 10px;">非阻塞</a>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Archives</h3>
<div class="widget">
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/11/">十一月 2015</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/10/">十月 2015</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/05/">五月 2015</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/04/">四月 2015</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/03/">三月 2015</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/12/">十二月 2014</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/11/">十一月 2014</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/07/">七月 2014</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/06/">六月 2014</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/05/">五月 2014</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/03/">三月 2014</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/02/">二月 2014</a><span class="archive-list-count">1</span></li></ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Recents</h3>
<div class="widget">
<ul>
<li>
<a href="/2015/11/17/如何在Linux上运行一个PHP后台任务/">如何在Linux上运行一个PHP后台任务</a>
</li>
<li>
<a href="/2015/10/24/PHPExcel使用笔记/">PHPExcel使用笔记</a>
</li>
<li>
<a href="/2015/05/16/PHP中使用Redis作消息队列/">PHP中使用Redis作消息队列</a>
</li>
<li>
<a href="/2015/05/05/如何编写一个安全的HTTP接口/">如何编写一个安全的HTTP接口</a>
</li>
<li>
<a href="/2015/04/12/使用PHP对服务器进行压力测试/">使用PHP对服务器进行压力测试</a>
</li>
</ul>
</div>
</div>
</aside>
</div>
<footer id="footer">
<div class="outer">
<div id="footer-info" class="inner">
© 2015 Huang Zhuohui<br>
Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
</div>
</div>
</footer>
</div>
<nav id="mobile-nav">
<a href="/" class="mobile-nav-link">Home</a>
<a href="/archives" class="mobile-nav-link">Archives</a>
</nav>
<script src="http://apps.bdimg.com/libs/jquery/2.0.3/jquery.min.js"></script>
<link rel="stylesheet" href="/fancybox/jquery.fancybox.css" type="text/css">
<script src="/fancybox/jquery.fancybox.pack.js" type="text/javascript"></script>
<script src="/js/script.js" type="text/javascript"></script>
</div>
</body>
</html>