Skip navigation.

乱步斑驳

秋叶之静

work pressure

常思见己过, 莫议他人非.

佛说要放下自在.

过程和结果有一个巨大差别在于过程相对于结果更加可控.

timing

,

随便写写.

想想真的很奇怪的, 自己很想提高工作效率的时候老大就来问进度.

目前来说工作上总感觉时间不太够(那你还写blog? :cool: , 既想提高知识面又要兼顾每个工作任务的质量,
还想着要利用闲暇时间做个小工具, 整理整理一下旧文档, 事情就这样有一茬没一茬的.

连续两天晚上接到花花小盆友(就是我的头像那个真佛)的电话, 说些不着边际的话, 还被揭穿自己记性差的事实.
还是十分感动的, 这么个一年没见两次面的别人的小盆友, 如此厚爱我尊称我为叔叔, 前缀"番茄酱" :cry: .

现在我的年纪是她的5倍左右, 希望她能记住我更长的岁月.

That's new

, ,

I've tried to get nginx and pmwiki work together on my work PC, and after some "struggles", I made it.

This time, I've found that documentation about howtos are always out of date.
To get pmwiki work, you should make sure nginx and php are properly configured.

My box is a PC, so, I just download nginx for windows, and "VC6 x86 Thread Safe" of latest php zip file.
Extract nginx to C:\nginx, then create a new dir, say, C:\nginx\www.
Extract php zip file to C:\nginx\. All php file would be located at C:\nginx\php.
Download pmwiki zip file and extract files inside to C:\nginx\www\pmwiki.
Make sure file "pmwiki.php" should be located at C:\nginx\www\pmwiki.

Here's my nginx.conf :


#user nobody;
worker_processes 1;

#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;

#pid logs/nginx.pid;


events {
worker_connections 1024;
}


http {
include mime.types;
default_type application/octet-stream;

#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';

#access_log logs/access.log main;

sendfile on;
#tcp_nopush on;

#keepalive_timeout 0;
keepalive_timeout 65;

#gzip on;
server {
listen 80;
server_name xxx.xxx; #If you don't get DNS done, put your ip here I think.


location / {
root www; #This is the directory where you put "pmwiki/".
#full path should be like this: C:\nginx\www\pmwiki
index index.html index.htm index.php;
}



error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}


## below is for php file parsing, you MUST do it.
location ~ \.php$ {
#root C:/nginx/php; # Windows PHP path with uppercase drive letter
fastcgi_pass 127.0.0.1:9000; # php-cgi.exe listens here
fastcgi_param SCRIPT_FILENAME C:/nginx/www$fastcgi_script_name; #VERY IMPORTANT
fastcgi_param QUERY_STRING $query_string;
include fastcgi_params;
}
}
}


It doesn't work, right?

Yes, there's no "index.php" under C:\nginx\www directory.
Create one for it.
Put following line to a new text file, and change that text file to index.php:
<?php chdir('pmwiki'); include_once('pmwiki.php');


Comments?

特殊文件夹建立和删除

今天办了件蠢事, 建立了一个通常办法删除不了的文件夹.
Google了下解决办法, 记在此:

特殊文件名、文件夹名的删除方法

文件夹的后面有个点“.”

建立方法:

md kk..\ 建立一个无法删除的文件夹,文件夹名为“kk.”,比建立时少了“.\” (直接删除此类文件夹时会提示:引用了一个不可用的位置。它可能是一个在本机或网络上的计算机上的硬盘驱动器。请检查以确认此盘正确连接,或者您连接到Internet或您的网络上,然后再试一次。如果仍然不能定位,可能信息已经被移到其他地方)删除包含此类文件夹的父文件夹时会提示:无法删除 文件,无法读源文件或磁盘。

删除方法:

rd kk..\ 可以用这个命令删除此类文件夹——这种文件夹的特征是都以一个点结尾,所以碰到这种难删的文件夹就到命令行下 用rd命令来删,但要注意在文件夹名的后面加上“.\”

wound

蒙上眼睛
就以为看不见 
捂上耳朵 
就以为听不到 
而真理在心中 
创痛在胸口 
还要忍多久 
还要沉默多久

如果热泪 
可以洗尽尘埃 
如果热血 
可以换来自由 
让明天能记得 
今天的怒吼 
让世界都看到 
历史的伤口
哦------ 
哦------ 
哦------ 
永远都记得 
历史的伤口 
哦------ 
哦-------
哦------- 
永远都记得 
历史的伤口

only imagination is ...

, , ,

Only imagination is, NOT enough.

是我, 也是身边的一些朋友, 总在憧憬未来如何如何, 总在谈笑间说到自己梦想中的一些事情.

也是我, 也是他们, 被自己的梦想压迫, 甚至狠狠打击, 心不甘情不愿过着当下例行公事般的每日生活.

我知道生活和梦想之间存在许许多多的不同, 生活中好多都是不可能, 不可以, 不能够...

不能光靠想象来填补生活与自己梦想之间巨大的空白.

rainbow

Your rainbow is slightly shaded violet.

 
 
 
 
 
 
 

What is says about you: You are a creative person. You appreciate beauty and craftsmanship. You are patient and will keep trying to understand something until you've mastered it.

Find the colors of your rainbow at spacefem.com.
my rainbow :ko: I've never thought that creative person could be someone like me. what about your rainbow?

Revolutionary Road

《Revolutionary Road》这部,看到最后一度以为女主角要自尽.平常而又温馨的早餐之后,女主角在门口那种诀别的眼神,着实让我心里担心这成一个悲剧了,最后的结局多少让我有些不解:难道说互相指责以至一度成恨在心,经过了一夜,暴风雨就停息了,安宁就在清晨的餐桌上略显尴尬的来临了?

April 在一夜之中想到了什么,于是她做了决定,我的理解是她又作了一回天使,就如Frank生日那晚,为了成就Frank,她鼓励他,用爱包容和支持他,而这一次,又一次,她在暴风雨之后的清晨好好地收拾了屋子,耐心、温和地为丈夫准备早餐,这难道不是浓浓的爱吗?

不得不说,冲破现实的境遇,直面现实中带给我们的种种精神枷锁,需要莫大的勇气;而与之相比,义无反顾、真诚而热烈的爱着一个人,支持他/她,包容、鼓励他/她,难道不也是一种勇敢吗?

为什么婚姻变成了这样的桎梏,让我们深陷其中而一而再再而三地忽略了身边的人纯朴而热烈地爱着自己这样的事实?

doodle to craft

纸笔可以在最快的时间内,帮你记录同时辅助思考.
使用软件的话,也许打字速度会快些,但往往没有那种信手拈来的快意和随性.

今天开始记录 日期-时间-事件
持续一个礼拜,看看效果
December 2009
S M T W T F S
November 2009January 2010
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