摘要: Sql Server2005提供了两种基于快照的隔离类型,他们都是利用行版本控制来维护快照的: 1、已提交读快照隔离(RCSI),通过修改数据库的一个选项来启用 alter database AdventureWorks set READ_COMMITTED_SNAPSHOT on 2、快照隔离(SI),必须在两个地方开启 A、启用数据库的ALLOW_ISOLATION_SNAPSHOT... 阅读全文
posted @ 2008-06-10 12:23 new 维生素C.net() 阅读(599) 评论(0) 推荐(0) 编辑
摘要: % 搜索相对应的括号,或转到第一个括号 ^ 到行首第一个非空格字符 u和c-r 是undo和redo,U是对一行整体的undo a 在行末开始添加 n$ 可以转到下n行的行尾 0 移动到行首 nG 移动到第n行,``可以返回 gg 转到第1行,G 最后一行 H,M,L 该显示页的头、中和尾 zz 将该行置于屏幕中间 ... 阅读全文
posted @ 2008-06-09 15:58 new 维生素C.net() 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 先看截图: 我使用ubuntu server 8.04,siege和lighttpd都在这台机器上,也跑着x,并且是跑在vmware下。 longest transaction为2.85秒,看lighttpd的error log大概找了下原因: 2008-06-08 12:15:12: (mod_fastcgi.c.3524) all handlers for /code.py/code.... 阅读全文
posted @ 2008-06-09 00:34 new 维生素C.net() 阅读(1417) 评论(1) 推荐(0) 编辑
摘要: http://www.ibm.com/developerworks/cn/linux/l-spider/ 阅读全文
posted @ 2008-06-09 00:05 new 维生素C.net() 阅读(227) 评论(0) 推荐(0) 编辑
摘要: set nu colorscheme darkblue set nocompatible filetype plugin on filetype indent on set mouse=a set autoindent syntax enable set backspace=eol,start,indent set ignorecase set incsearch set magic ... 阅读全文
posted @ 2008-06-08 23:52 new 维生素C.net() 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 连接:http://webpy.org/cookbook/fastcgi-lighttpd 在ubuntu server下最好在/etc/lighttpd/lighttpd.conf中的error.log的位置单独拿出来,然后chmod给这个log文件设置好权限,方便调试。如果要调试程序最方便的还是python YOUR_CODE_NAME来启动自带的web服务器的方式运行。 阅读全文
posted @ 2008-06-08 23:44 new 维生素C.net() 阅读(452) 评论(0) 推荐(0) 编辑
摘要: 首先用php-cgi -v看一下php是否支持fastcgi。在我的机器上的输出如下: PHP 5.2.4-2ubuntu5.1 with Suhosin-Patch 0.9.6.2 (cgi-fcgi) (built: May 9 2008 16:26:18)Copyright (c) 1997-2007 The PHP GroupZend Engine v2.2.0, Copyright (... 阅读全文
posted @ 2008-06-08 15:08 new 维生素C.net() 阅读(4533) 评论(0) 推荐(0) 编辑
摘要: 在清除ubuntu的log后,lighttpd无法启动,启动后就报no configuration availble的错误,使用/etc/init.d/lighttpd -f /etc/lighttpd/lighttpd.conf来制定配置文件启动会报找不到log的错误。 这时候有两种处理方式: 1.创建.log文件,并赋予相应的权限2.删除lighttpd,再reinstall,这也是本文使用的... 阅读全文
posted @ 2008-06-07 09:43 new 维生素C.net() 阅读(467) 评论(0) 推荐(0) 编辑
摘要: Open a command window (Start, Run and type cmd or command depending on version of Windows) Change Directory to %SystemRoot%\Downloaded Program Files\ Type TransferMgr.exe 阅读全文
posted @ 2008-06-04 02:55 new 维生素C.net() 阅读(645) 评论(0) 推荐(0) 编辑
摘要: http://www.nokarma.de/2007/1/22/ubuntu-lighttpd-and-php5-cgi 阅读全文
posted @ 2008-05-29 00:26 new 维生素C.net() 阅读(257) 评论(0) 推荐(0) 编辑