-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
765 lines (396 loc) · 26.6 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
765
<!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>流水笔记</title>
<meta name="author" content="huangcd">
<meta name="description" content="SublimeCodeIntel 支持N多语言的Intelligence。主要提供几个功能。 定义跳转(光标在标示符上的时候按ctrl+F3或者alt+鼠标左键
自动补全(写的时候会自动出来,如果没有自动出来可以按ctrl+j强制弹出(貌似没有效果)) 配置 可以配置外部库的路径,具体参考自带文档 …">
<!-- 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://huangcd.github.com/">
<link href="/favicon.png" rel="icon">
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
<script src="/javascripts/modernizr-2.0.js"></script>
<script src="/javascripts/ender.js"></script>
<script src="/javascripts/octopress.js" type="text/javascript"></script>
<link href="/atom.xml" rel="alternate" title="流水笔记" type="application/atom+xml">
<!--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-33586871-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="/">流水笔记</a></h1>
<h2>面向免费零食和饮料的编程</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:huangcd.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/2012/07/25/sublime-text-package-usage/">Sublime Text 2各种插件及使用方法</a></h1>
<p class="meta">
<time datetime="2012-07-25T17:32:00+08:00" pubdate data-updated="true">Jul 25<span>th</span>, 2012</time>
</p>
</header>
<div class="entry-content"><h2>SublimeCodeIntel</h2>
<p>支持N多语言的Intelligence。主要提供几个功能。</p>
<ul>
<li>定义跳转(光标在标示符上的时候按<code>ctrl+F3</code>或者<code>alt+鼠标左键</code></li>
<li>自动补全(写的时候会自动出来,如果没有自动出来可以按<code>ctrl+j</code>强制弹出(貌似没有效果))</li>
</ul>
<h3>配置</h3>
<p>可以配置外部库的路径,具体参考自带文档。。。</p>
<h2>Pylinter</h2>
<p>Python代码的动态检查(主要是语法和格式层面的),打开py文件就会自动运行。有错误/警告的地方会用方框框住,光标移到方框里面的时候会在状态栏支出错误/警告的内容。有几个快捷键<code>ctrl+alt+x</code>、<code>ctrl+alt+z</code>、<code>ctrl+alt+c</code>,不够实测都没什么用。。。</p>
<h3>配置</h3>
<p>Pylinter依赖python的pylint包,运行前需要修改目录下的Pylinter.sublime-settings的文件。设置pylint_path变量,指定pylint的位置。</p>
<h2>Sublime Alignment</h2>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2012/07/25/scope-notes/">Scope学习笔记</a></h1>
<p class="meta">
<time datetime="2012-07-25T11:29:00+08:00" pubdate data-updated="true">Jul 25<span>th</span>, 2012</time>
</p>
</header>
<div class="entry-content">
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2012/07/25/awk-usage/">Awk 简单应用</a></h1>
<p class="meta">
<time datetime="2012-07-25T11:17:00+08:00" pubdate data-updated="true">Jul 25<span>th</span>, 2012</time>
</p>
</header>
<div class="entry-content">
<figure class='code'><figcaption><span>使用制表符\t来过滤第4列的元素 </span></figcaption>
<div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
</pre></td><td class='code'><pre><code class='awk'><span class='line'><span class="nx">awk</span> <span class="s1">'BEGIN {FS = "[\t]+" }; {print $1"\t"$2"\t"$3"\t"$5"\t"$6}'</span>
</span></code></pre></td></tr></table></div></figure>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2012/07/21/sieve-using-linq/">使用LINQ表达式来求素数</a></h1>
<p class="meta">
<time datetime="2012-07-21T12:03:00+08:00" pubdate data-updated="true">Jul 21<span>st</span>, 2012</time>
</p>
</header>
<div class="entry-content"><p>不得不说,这是相当无聊的问题,用LINQ来做Sieve,不仅效率低,而且可读性差,因此纯粹是练习LINQ。。</p>
<p>同样不得不说的是,Aggregate函数(也就是一般意义上的reduce函数)确实异常强大。。</p>
<figure class='code'><figcaption><span>sieve in LINQ </span></figcaption>
<div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
<span class='line-number'>3</span>
<span class='line-number'>4</span>
<span class='line-number'>5</span>
<span class='line-number'>6</span>
<span class='line-number'>7</span>
<span class='line-number'>8</span>
<span class='line-number'>9</span>
<span class='line-number'>10</span>
<span class='line-number'>11</span>
<span class='line-number'>12</span>
<span class='line-number'>13</span>
<span class='line-number'>14</span>
<span class='line-number'>15</span>
</pre></td><td class='code'><pre><code class='csharp'><span class='line'><span class="k">public</span> <span class="n">IEnumerable</span><span class="p"><</span><span class="kt">int</span><span class="p">></span> <span class="n">GetPrimesUsingLinq</span><span class="p">(</span><span class="kt">int</span> <span class="n">maxValue</span><span class="p">)</span>
</span><span class='line'><span class="p">{</span>
</span><span class='line'> <span class="k">return</span> <span class="n">Enumerable</span><span class="p">.</span><span class="n">Range</span><span class="p">(</span><span class="m">2</span><span class="p">,</span> <span class="n">maxValue</span> <span class="p">-</span> <span class="m">1</span><span class="p">).</span><span class="n">Aggregate</span><span class="p">(</span>
</span><span class='line'> <span class="n">Enumerable</span><span class="p">.</span><span class="n">Range</span><span class="p">(</span><span class="m">0</span><span class="p">,</span> <span class="n">maxValue</span> <span class="p">+</span> <span class="m">1</span><span class="p">).</span><span class="n">ToList</span><span class="p">(),</span>
</span><span class='line'> <span class="p">(</span><span class="n">sieve</span><span class="p">,</span> <span class="n">x</span><span class="p">)</span> <span class="p">=></span>
</span><span class='line'> <span class="p">{</span>
</span><span class='line'> <span class="k">if</span> <span class="p">(</span><span class="n">sieve</span><span class="p">[</span><span class="n">x</span><span class="p">]</span> <span class="p">></span> <span class="m">0</span><span class="p">)</span>
</span><span class='line'> <span class="p">{</span>
</span><span class='line'> <span class="n">Enumerable</span><span class="p">.</span><span class="n">Range</span><span class="p">(</span><span class="m">2</span><span class="p">,</span> <span class="n">maxValue</span> <span class="p">/</span> <span class="n">x</span> <span class="p">-</span> <span class="m">1</span><span class="p">).</span><span class="n">Select</span><span class="p">(</span><span class="n">i</span> <span class="p">=></span> <span class="n">i</span> <span class="p">*</span> <span class="n">x</span><span class="p">).</span><span class="n">Aggregate</span><span class="p">(</span><span class="n">sieve</span><span class="p">,</span> <span class="p">(</span><span class="n">s</span><span class="p">,</span> <span class="n">i</span><span class="p">)</span> <span class="p">=></span> <span class="p">{</span> <span class="n">s</span><span class="p">[</span><span class="n">i</span><span class="p">]</span> <span class="p">=</span> <span class="m">0</span><span class="p">;</span> <span class="k">return</span> <span class="n">s</span><span class="p">;</span> <span class="p">});</span>
</span><span class='line'> <span class="p">}</span>
</span><span class='line'> <span class="k">return</span> <span class="n">sieve</span><span class="p">;</span>
</span><span class='line'> <span class="p">},</span>
</span><span class='line'> <span class="n">x</span> <span class="p">=></span> <span class="n">x</span><span class="p">.</span><span class="n">Where</span><span class="p">(</span><span class="n">i</span> <span class="p">=></span> <span class="n">i</span> <span class="p">></span> <span class="m">1</span><span class="p">)</span>
</span><span class='line'> <span class="p">);</span>
</span><span class='line'><span class="p">}</span>
</span></code></pre></td></tr></table></div></figure>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2012/07/19/shi-yong-octopresszai-githubda-jian-bo-ke/">使用Octopress在github搭建博客</a></h1>
<p class="meta">
<time datetime="2012-07-19T16:48:00+08:00" pubdate data-updated="true">Jul 19<span>th</span>, 2012</time>
</p>
</header>
<div class="entry-content"><ul>
<li>使用<a href="http://rubyforge.org/frs/download.php/75127/rubyinstaller-1.9.2-p290.exe">rubyInstaller</a>安装ruby1.9.2</li>
<li>使用<a href="http://code.google.com/p/msysgit/downloads/list">msysgit</a>安装git</li>
<li>按照<a href="https://github.com/oneclick/rubyinstaller/wiki/development-kit">教程</a>安装<a href="https://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe">development-kit</a></li>
<li>在命令行下执行下面代码</li>
</ul>
<figure class='code'><figcaption><span>gem install </span></figcaption>
<div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
<span class='line-number'>3</span>
<span class='line-number'>4</span>
</pre></td><td class='code'><pre><code class='sh'><span class='line'>git clone git://github.com/imathis/octopress.git octopress
</span><span class='line'><span class="nb">cd </span>octopress
</span><span class='line'>gem install bundler
</span><span class='line'>bundle install
</span></code></pre></td></tr></table></div></figure>
<p>安装过程中可能会遇到一些问题,自行google之。</p>
<figure class='code'><figcaption><span>gem source </span></figcaption>
<div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
</pre></td><td class='code'><pre><code class='sh'><span class='line'>gem sources --remove http://rubygems.org/
</span><span class='line'>gem sources -a http://ruby.taobao.org/
</span></code></pre></td></tr></table></div></figure>
<p>如果gem install的速度比较慢,可以把gem的源换成taobao的。</p>
<ul>
<li>在github创建一个名字为[userName].github.com的项目,然后根据<a href="https://help.github.com/">help</a>的内容进行配置。</li>
<li>执行下面代码</li>
</ul>
<figure class='code'><figcaption><span>setup and deploy </span></figcaption>
<div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
<span class='line-number'>3</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>rake setup_github_pages
</span><span class='line'>rake generate
</span><span class='line'>rake deploy</span></code></pre></td></tr></table></div></figure>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2012/07/18/functional-c-number/">函数式C#的尝试</a></h1>
<p class="meta">
<time datetime="2012-07-18T07:20:00+08:00" pubdate data-updated="true">Jul 18<span>th</span>, 2012</time>
</p>
</header>
<div class="entry-content"><p>由于工作的需要,最近需要大量使用MS系的产品,Visual Studio和C#首当其冲(吐槽一下,Visual Studio的快捷键和Intelligence太弱了,好不容易有个ReSharper还是收费的。。。)</p>
<p>不得不说,几年不见,C#跟以前长得都不一样了。我印象中的C#基本上是Java的翻版,现在一看,我勒个去,各种lambda、LINQ满天飞。。。</p>
</div>
<footer>
<a rel="full-article" href="/blog/2012/07/18/functional-c-number/">Read on →</a>
</footer>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2010/12/29/yi-ran-shi-jin-tian-de-shi-qing/">依然是今天的事情</a></h1>
<p class="meta">
<time datetime="2010-12-29T00:00:00+08:00" pubdate data-updated="true">Dec 29<span>th</span>, 2010</time>
</p>
</header>
<div class="entry-content"><p>宋老师说William做事很快,果然是很快。今天看了一个工具以后把我的看法给他发过去,顺便提了一下等价性证明无从下手的问题。过了不大一会他就打电话过来详细了解了Lego小车的模型,然后指出了现在的系统实际上应该是有两层的控制器在工作,high level是我写的pid控制器,low level是Lego本身的一个控制系统,就像卫星一样(说得好像很高级的样子,赞~),我们之前的验证其实都是在high level上面做的,low level里面的事情还没说清楚。所以我最好能把这个事情给弄明白。</p>
<p>然后下午又开始搬出尘封已久的Lego小车。试了一下,发现代码几个月不用,大概是生锈了,跑起来各种不给力,效果很不好,还原因不明。想想还是先专心看看low level实现比较靠谱,看了一下Motor那块,发现其实真没做什么事情,无非就是把速度等比例转换成马达的功率,然后稍微做了点调整。。。</p>
<p>忘了说个号外,今天看到一个很给力的哥们,用Lego和纸杯了个留声机。<a href="http://www.josepino.com/lego/ntx-gramophone">这里</a>可以围观。亮点是最后一句的粗体。。。</p>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2010/12/29/tools/">Tools</a></h1>
<p class="meta">
<time datetime="2010-12-29T00:00:00+08:00" pubdate data-updated="true">Dec 29<span>th</span>, 2010</time>
</p>
</header>
<div class="entry-content"><p>SPIN: I haven’t tried it. I read the manual and find out that SPIN use its own language Promela, so I have to change the C code. And the manual also says that “Spin is a tool for analyzing the logical consistency of concurrent systems, specifically of data communication protocols”. So I think it’s not suitable.
(http://spinroot.com/spin/sitemap.html)</p>
<p>MAGIC: I haven’t tried it either. However after I read the introduction and tutorial, I think it might be a very good tools for us. It’s used to verify an implementation in C code conforms to its specification.
(http://www.cs.cmu.edu/~chaki/magic/)</p>
<p>CBMC: I’ve tried this tool. It’s a Bounded Model Checker for ANSI-C programs. It allows verifying array bounds, pointer safety and user-specified assertions. It’s kind of useful, but not performs well with loops in C code.
(http://www-2.cs.cmu.edu/~modelcheck/cbmc/)</p>
<p>VeriSoft: I an unable to download the software. It seems to be useful, but I am not sure if it can deal with multiplication.
(http://cm.bell-labs.com/who/god/verisoft/files.html)</p>
<p>BANDERA: for model checking concurrent Java software. not for me.
(http://bandera.projects.cis.ksu.edu/)</p>
<p>FSP notation: might be useful
(http://www.doc.ic.ac.uk/~jnm/LTSdocumention/FSP-notation.html)</p>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2010/12/28/huan-shi-jin-tian-de-shi-qing/">还是今天的事情</a></h1>
<p class="meta">
<time datetime="2010-12-28T00:00:00+08:00" pubdate data-updated="true">Dec 28<span>th</span>, 2010</time>
</p>
</header>
<div class="entry-content"><p>早上看了一下那篇所谓的Model Checking on python和eXplode,发现是挂着Model checking的狗头卖autoamted-testing的羊肉。跟我要做的东西完全不沾边。。。不过eXplode里面有提到几个implementation-level model checking的文章,主要是Java和C的。估计看看能有点收获。</p>
<p>中午跟William通了个电话。他也是觉得裸写BLAST Algorithm工作量确实有点大,所以最好还是能够再找找其他工具看看能不能凑活一下,他提了几个,我也找了几个,计有SLAM、CBMC、SPIN等等,明天逐一试试看看靠不靠谱。今天先简单试了一下,SPIN貌似不是针对C的,估计不行;CBMC挺好,但是循环处理很不给力;SLAM微软出品,不抱什么希望。。。</p>
<p>抛开这些东西不说吧,其实回到最根本的问题,William想证的是python code和数学方程的等价性,这个就是我一直不知道怎么证的。说可以写invariant来保证,但invariant怎么写呢?真是一大堆头疼的问题。</p>
<p>总的来说今天很不给力。</p>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2010/12/27/you-shi-jin-tian-de-shi-qing/">又是今天的事情</a></h1>
<p class="meta">
<time datetime="2010-12-27T00:00:00+08:00" pubdate data-updated="true">Dec 27<span>th</span>, 2010</time>
</p>
</header>
<div class="entry-content"><p>先说昨天的,开了一上午会,干了一下午活,然后晚上开了一个晚上的会。昨天是星期天!!!早上自己啃面包,中午一小撮人吃饺子,晚上一大坨人吃汉堡,总的来说没一顿好的,饺子很难吃。麦当劳的汉堡,不能说难吃,就是吃完之后觉得不太舒服。。。</p>
<p>今天上午干了几件事情:办了新的学生卡(居然要30块工本费。。。),洗了最近积攒的衣服,剪了个鸟头,不过我喜欢。。。晚上洗澡回来头发终于不结冰了。</p>
<p>下午主要工作就是给William发了封邮件,说了一下我想做的事情,大概就是想在python上面做model checking,思路是python code转CFG转BLAST Algorithm,发完邮件之后仔细看了看,想了想。发现虽然原来想着就不简单,但实际应该更难。Pypy出来的CFG有限制,CPython出来的CFG没看过,不过网上有人说很麻烦,估计最后如果要做的话可能还要自己写转换。突然想起三年前其实就是做着类似的事情,只不过是在PHP code上检查infeasible branch,实际上做的事情都很类似。想想真是可悲,研究所换来换去,导师换来换去,最后还是在做同样的东西,早知道这样还不如当初直截了当地跟宇哥混了,虽然谨慎觉得可能也很悲惨,但至少不至于三年什么都干不出来,而且那边至少有口头上承诺的好处。</p>
<p>伤心的往事掠过不提了,转换出CFG以后BLAST Algorithm也不好弄,不过至少如果William觉得靠谱的话可以奋起一搏。</p>
<p>另外今天认识了一个很可爱的人,恩。</p>
</div>
</article>
<div class="pagination">
<a class="prev" href="/blog/page/2/">← Older</a>
<a href="/blog/archives">Blog Archives</a>
</div>
</div>
<aside class="sidebar">
<section>
<h1>Categories</h1>
<ul id="categories">
<li class='category'><a href='/blog/categories/cosmos/'>Cosmos (1)</a></li>
<li class='category'><a href='/blog/categories/csharp/'>Csharp (2)</a></li>
<li class='category'><a href='/blog/categories/haskell/'>Haskell (3)</a></li>
<li class='category'><a href='/blog/categories/java/'>Java (2)</a></li>
<li class='category'><a href='/blog/categories/linq/'>LINQ (1)</a></li>
<li class='category'><a href='/blog/categories/lego/'>Lego (1)</a></li>
<li class='category'><a href='/blog/categories/octopress/'>Octopress (1)</a></li>
<li class='category'><a href='/blog/categories/plc/'>PLC (3)</a></li>
<li class='category'><a href='/blog/categories/programming/'>Programming (5)</a></li>
<li class='category'><a href='/blog/categories/python/'>Python (14)</a></li>
<li class='category'><a href='/blog/categories/scope/'>Scope (1)</a></li>
<li class='category'><a href='/blog/categories/ubuntu/'>Ubuntu (7)</a></li>
<li class='category'><a href='/blog/categories/vim/'>Vim (2)</a></li>
<li class='category'><a href='/blog/categories/webkit/'>Webkit (3)</a></li>
<li class='category'><a href='/blog/categories/awk/'>awk (1)</a></li>
<li class='category'><a href='/blog/categories/blog/'>blog (1)</a></li>
<li class='category'><a href='/blog/categories/functional/'>functional (1)</a></li>
<li class='category'><a href='/blog/categories/github/'>github (1)</a></li>
<li class='category'><a href='/blog/categories/image/'>image (1)</a></li>
<li class='category'><a href='/blog/categories/lambda/'>lambda (1)</a></li>
<li class='category'><a href='/blog/categories/python/'>python (1)</a></li>
<li class='category'><a href='/blog/categories/sublime text/'>sublime text (1)</a></li>
<li class='category'><a href='/blog/categories/transparent/'>transparent (1)</a></li>
<li class='category'><a href='/blog/categories/water/'>water (1)</a></li>
<li class='category'><a href='/blog/categories/仙剑/'>仙剑 (5)</a></li>
<li class='category'><a href='/blog/categories/流水笔记/'>流水笔记 (20)</a></li>
<li class='category'><a href='/blog/categories/游戏/'>游戏 (2)</a></li>
<li class='category'><a href='/blog/categories/电影/'>电影 (1)</a></li>
</ul>
</section><section>
<h1>Recent Posts</h1>
<ul id="recent_posts">
<li class="post">
<a href="/blog/2012/07/25/sublime-text-package-usage/">Sublime Text 2各种插件及使用方法</a>
</li>
<li class="post">
<a href="/blog/2012/07/25/scope-notes/">Scope学习笔记</a>
</li>
<li class="post">
<a href="/blog/2012/07/25/awk-usage/">Awk 简单应用</a>
</li>
<li class="post">
<a href="/blog/2012/07/21/sieve-using-linq/">使用LINQ表达式来求素数</a>
</li>
<li class="post">
<a href="/blog/2012/07/19/shi-yong-octopresszai-githubda-jian-bo-ke/">使用Octopress在github搭建博客</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/huangcd">@huangcd</a> on GitHub
<script type="text/javascript">
$.domReady(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: 'huangcd',
count: 0,
skip_forks: true,
target: '#gh_repos'
});
});
</script>
<script src="/javascripts/github.js" type="text/javascript"> </script>
</section>
<section>
<h1>Latest Tweets</h1>
<ul id="tweets">
<li class="loading">Status updating…</li>
</ul>
<script type="text/javascript">
$.domReady(function(){
getTwitterFeed("huangcd", 4, false);
});
</script>
<script src="/javascripts/twitter.js" type="text/javascript"> </script>
<a href="http://twitter.com/huangcd" class="twitter-follow-button" data-show-count="false">Follow @huangcd</a>
</section>
<section class="googleplus">
<h1>
<a href="https://plus.google.com/112457374017832727892?rel=author">
<img src="http://www.google.com/images/icons/ui/gprofile_button-32.png" width="32" height="32">
Google+
</a>
</h1>
</section>
</aside>
</div>
</div>
<footer role="contentinfo"><p>
Copyright © 2012 - huangcd -
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a></span>
</p>
</footer>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#appId=212934732101925&xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script type="text/javascript">
(function(){
var twitterWidgets = document.createElement('script');
twitterWidgets.type = 'text/javascript';
twitterWidgets.async = true;
twitterWidgets.src = 'http://platform.twitter.com/widgets.js';
document.getElementsByTagName('head')[0].appendChild(twitterWidgets);
})();
</script>
</body>
</html>