06 2008 档案

摘要:/etc/init.d/network stop/sbin/rmmod vmxnet/sbin/modprobe vmxnet/etc/init.d/network start 阅读全文
posted @ 2008-06-28 12:07 new 维生素C.net() 阅读(705) 评论(0) 推荐(0) 编辑
摘要:这里所说的web,特指large scale web,大规模,高负载,高并发是它最显著的特点.技术应该是没有界线的,就像微软也从不排斥其他技术一样.写这篇blog希望更多的可以让园友们看到基于.net的web开发上的一些死角和一些固定思路... 阅读全文
posted @ 2008-06-23 00:51 new 维生素C.net() 阅读(7228) 评论(44) 推荐(0) 编辑
摘要:仿照google的guestbook这个sample写了一个,upload到appengine host上后,访问页面却出错了: # 221.221.203.253 - - [21/06/2008:10:13:01 -0700] "GET / HTTP/1.1" 500 1908 "http://appengine.google.com/deployment?app_id=vanvc" - # E... 阅读全文
posted @ 2008-06-22 02:38 new 维生素C.net() 阅读(1079) 评论(3) 推荐(0) 编辑
摘要:在ubuntu下使用 python dev_appserver.py 站点名称 启动站点调试,有时可以看到两个错误,一个错误是说找不到与datastore相关的warning,这个是由于第一次启动该站点的缘故其次便是这个错误: "Could not initialize images API" you are likely missing the Python "PIL" module. Impo... 阅读全文
posted @ 2008-06-21 02:28 new 维生素C.net() 阅读(604) 评论(0) 推荐(0) 编辑
摘要:Google出来的文章全都一个样,最后在一个老外的blog上找到了可以work的配置:(/etc/X11/xorg.conf) Section "InputDevice" Identifier "Configured Mouse" Driver "vmmouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Prot... 阅读全文
posted @ 2008-06-20 20:03 new 维生素C.net() 阅读(302) 评论(0) 推荐(0) 编辑
摘要:PlentyOfFish:http://highscalability.com/plentyoffish-architecture twitter.comhttp://highscalability.com/scaling-twitter-making-twitter-10000-percent-fasterslide:http://www.slideshare.net/Blaine/scalin... 阅读全文
posted @ 2008-06-15 00:51 new 维生素C.net() 阅读(212) 评论(0) 推荐(0) 编辑
摘要:var o = 'hello world'; // first snippet (function() { alert(this); }).call(o); // second snippet window.setTimeout(function() { (function() { alert(this); }).call(o); }, 5000); 阅读全文
posted @ 2008-06-15 00:46 new 维生素C.net() 阅读(233) 评论(0) 推荐(0) 编辑
摘要:http://code.msdn.microsoft.com/dynamicdata/Release/ProjectReleases.aspx?ReleaseId=994 包括了scaffold, mvc(p3)+dynamic data等几个sample 阅读全文
posted @ 2008-06-14 05:40 new 维生素C.net() 阅读(272) 评论(0) 推荐(0) 编辑
摘要:http://blogs.technet.com/mscom/archive/2008/06/09/microsoft-com-operations-performance-analysis-of-iis-7-0-windows-server-2008.aspx 阅读全文
posted @ 2008-06-10 13:36 new 维生素C.net() 阅读(1458) 评论(0) 推荐(0) 编辑
摘要: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() 阅读(1418) 评论(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() 阅读(4536) 评论(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) 编辑