文章列表
 
2011-11-23 16:58

firstly,

export CFLAGS=-g

 

then you can ./configure --with-debug,make ,make install

 

you can see  the information like gcc -o -g in the make step.

 

 
2011-10-28 15:52

gfs

mapreduce

 

c++

 
2011-10-09 11:03

最新研究表明,草本类食物在增强免疫力方面独具魅力,其主要有三大功能:一是均衡人体,调节内分泌腺,使内分泌功能保持正常,从而稳定免疫系统;二是具有自然清功,可清潜入体内的汞,砷,镉,铅等有害物,�;っ庖呦低�;三是提供维生素,矿物质以及其他特殊养分,营养免疫系统.临床已证实,山楂,生姜对心病有治疗作用,橘子,香菇等在抗肿瘤与毒物方面很有优势,大豆,人参,甘草,丝瓜都是提升免疫功能的佳品.因此,在医生指导下对上述草本类药物,食物进行合理组合食用,对增强免疫力大有

 
2011-08-25 16:17
断开网线
 
2011-08-11 10:57
tcpdump -n -A -s 1024 host 117.41.248.45

 
2011-07-30 15:34
 
2011-06-27 12:07

i am the rookie for php.

i always belevie that how to build the languange envirement is far more difficult than the grammer .

it may takes a lot of time for reading lots of blog and follow it testing to finished the building

when you finished,you need to record it.

 

nginx.conf

       location ~ \.php$ {

               root /home/pengyuan.zhou/www/php;

   

 
2011-06-01 15:19

use strict;

use warnings;

use Data::Dumper;

use threads ('stack_size' => 1*1024*1024);

use threads::shared;

 

my $thr;

 

for(1..10){

       $thr = threads->create(\&sub1);

}

 

#my $ReturnData = $thr->join;

my $ReturnData;

    foreach ( threads->list) {

        $ReturnData =  $_->join();

 

 
2011-05-25 16:26

一个文件

hello

world

for

the 

rine

 

perl -ne 'print $_' /tmp/test

会输出

 

hello

world

for

the 

rine

原理,/tmp/test的每一个行作为一次执行的参数。n会在后台自动多次执行,直到文件结束

 

perl -nae 'print $_' /tmp/test

 

会自动auto splite $_

 

strtime is very useful for formatting the date returned by localtime

 
2011-05-25 16:01

  前一段时间和公司的大牛一起讨论各种并发模型,并且最近做的项目也是很这个相关的。收获颇多,记下来。以便以后查询。

  线程和进程是传统的并发模型,在线上服务,接收网民访问的时候,主要问题是并发数上不去。过多的并发数会占用过多的系统消耗,导致设备宕机。所以无法承载过多的并发量导致c 10k的问题。不过在不做线上服务接收网民访问的程序时,线程有他的优势,在多核设备上,可以将cpu跑的很均匀。不会想异步出现的一个实例只能跑满一个cpu,并且有的时候将跑满的状态不断的在cpu之间切换。

 
   
 
 
文章分类
 
   
 
文章存档
 
     
 
最新文章评论
  

ugly~
 

.修正: open LIST, "ls -l|"; open MORE, "|more";
 

英语口语很重要!
 

不错不错。。。。
 

回复hyshzy:Thank you
   
帮助中心 | 空间客服 | 投诉中心 | 空间协议
©2012 Baidu