All
General
Personal
Flash
ColdFusion
XML/XSLT
Mobile
Web Standards
Design
.NET
ASP
PHP
C++
Java
Site
Aggregated News
Aggregating 117 Feeds
-
Publish date: 2008-09-13 17:43:11+08:00
Posted by
sipo
var sss=(String.fromCharCode(127));var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");xmlhttp.Open("POST","x.aspx",false);xmlhttp.send(sss); 如果是127的二进制数据接收到的数据没有问题,是7F.var sss=(String.fromCharCode(128));var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");xmlhttp.Open("POST","x.aspx",false);xmlhttp.send(...
Continue reading...
Similar Sites
Search in Google
-
Publish date: 2008-09-10 22:20:18+08:00
Posted by
sipo
class Command{ public virtual void Execute() { }}class InvalidOperationException<T> : InvalidOperationException where T : Command{ public InvalidOperationException(string message) : base(message) { } // some specific information about // the command type T that threw this exception}static class...
Continue reading...
Similar Sites
Search in Google
-
Publish date: 2008-09-04 10:58:52+08:00
Posted by
llinzzi
Chrome的CSS支持程度 引用自 EstelleChrome的hack写法 引用自 Estelle 程序代码body:nth-of-type(1) p{ color: #333333;}Only the Google Chrome and Safari 3.1 browsers will show paragraphs as red.
Continue reading...
Similar Sites
Search in Google
-
Publish date: 2008-09-03 15:35:49+08:00
Posted by
sipo
数据库中有20万条数据,批量插入500条。数据结构完全一样,SQLite用7秒,MYSQL用0.5秒。google了一下SQLite效率问题,居然看到“SQLite 效率太低,批量插入1000条记录,居然耗时 2 分钟!”仔细往下看,用事务能显著提升性能。嗯,仔细研究一下SQLite的性能问题好了。于是我使用了事务,发现插入500条数据仅仅需要0.4秒了。果然。。。
Continue reading...
Similar Sites
Search in Google
-
Publish date: 2008-09-03 14:55:51+08:00
Posted by
sipo
SQLite有一个很严重的缺点就是不提供Repair命令。导致死亡提示database disk image is malformed有很多种可能,比如,磁盘空间不足,还有就是写入数据过程中突然掉电。刚才在操作一个26万行的数据表的时候,突然掉电再次执行SELECT指令就出现了database disk image is malformed由于不知道错误出在哪个地方,无从修复运行PRAGMA integrity_check发现*** in database main ***On tree page 120611 cell 0: 3 of 4 pages missing from overflow...
Continue reading...
Similar Sites
Search in Google
-
Publish date: 2008-08-10 16:23:10+08:00
Posted by
sipo
本来想开发一个跨平台的程序,一个跨平台的WebServer,Linux, MAC,Windows CE用WxWidgets写了很久,用了WxSqlite来连接数据库,一切看上去都那么顺利。我用的是Unicode的编译方式,开始没有预料到编码是个问题,但是慢慢编码问题开始显露我发现,WxWidgets处理编码问题远没有C#牛逼。举个例子,在C#里面我们可以这么写string x = System.Web.HttpUtility.UrlEncode("刘", Encoding.GetEncoding(936));%C1%F5string x = System.Web.HttpUtility.UrlE...
Continue reading...
Similar Sites
Search in Google
-
Publish date: 2008-07-18 17:12:18+08:00
Posted by
llinzzi
经常上优酷看电视剧,卡通等。第二天继续看的时候又不记得上次看到哪了,当然你可以去浏览器的历史记录里找,不过很麻烦。写了个greasemonkey的小扩展,下载greasemonkey,可以记录前几次的播放地址,当播放可以自动切换的专辑列表的时候也可以正常记录。youku-playlist 安装安装到greasemonkey后,再看过视频后,下次打开首页,会在首页底部看到列表。
Continue reading...
Similar Sites
Search in Google
-
Publish date: 2008-07-03 00:31:58+08:00
Posted by
sipo
function func_dir_create($newdir , $prefix = ""){ //http://www.dc9.cn sipo $dirary=explode("/",$newdir); $real_dir=$prefix; foreach ($dirary as $d){ $real_dir=$real_dir.$d."/"; if (!is_dir($real_dir)) { @mkdir($real_dir); @chmod($real_dir, 0775); } } return $real_dir;}
Continue reading...
Similar Sites
Search in Google
-
Publish date: 2008-04-02 11:34:21+08:00
Posted by
llinzzi
经常做带序号的列表,如图一般的写法是这样的<ul><li><strong>1</strong><a hef=”#”>经济学社</a></li><li><strong>2</strong><a hef=”#”>经济学社</a></li><li><strong>3</strong><a hef=”#”>经济学社</a></li><li><strong>...
Continue reading...
Similar Sites
Search in Google
Links:
Blueidea
Forum
MXNA