在官方的解释中,如[mdn] The slice() method returns a
shallow copy of a portion of an array into a new array
object.简单的说就是根据参数,返回数组的一部分的copy。所以了解其内部实现才能确定它是如何工作...
分类:
Web程序 时间:
2014-05-01 14:10:18
阅读次数:
652
Problem B: The Largest CliqueGiven a directed
graphG, consider the following transformation. First, create a new graphT(G)to
have the same vertex set ...
分类:
其他好文 时间:
2014-05-01 14:09:34
阅读次数:
357
XMLHttpRequest 是 AJAX 的基础。XMLHttpRequest
对象所有现代浏览器均支持 XMLHttpRequest 对象(IE5 和 IE6 使用 ActiveXObject)。XMLHttpRequest
用于在后台与服务器交换数据。这意味着可以在不重新加载整个网页的情况下,...
分类:
其他好文 时间:
2014-05-01 14:08:53
阅读次数:
325
这些天用泛型做了一个数据库的底层,自我感觉很方便,但是功能不是很完善,会继续考虑下去下面给大家分享一下代码1数据库连接的帮助类using
System;using System.Collections.Generic;using System.Linq;using
System.Text;using...
分类:
数据库 时间:
2014-05-01 14:07:32
阅读次数:
603
GridView inside of a UpdatePanel,get the button
to trigger a partial postback ...
分类:
其他好文 时间:
2014-05-01 14:06:55
阅读次数:
355
YII 伪静态 IIS7 方法 web.config 注意把filename
改成对应的yii目录地址,我的这个是把YII嵌套到另一个程序里边了
分类:
Web程序 时间:
2014-05-01 14:06:16
阅读次数:
571
写在开头:
昨天开始,我决定要认真的看看jQuery的源码,选择1.7.2,源于公司用的这个版本。由于源码比较长,这将会是一个比较持久的过程,我将要利用业余时间,和偶尔上班不算忙的时间来进行。其实原本是打算对着源码抄一遍,将对其的理解写成注释,这也算是在强行堆代码量了吧(我想我这是有多懒,必须要反....
分类:
Web程序 时间:
2014-05-01 14:03:08
阅读次数:
472
This is a updated post for a previous post,
where webuilt ffmpeg 0.8 with Android NDK r5 and r6. This post will give
instructions of how to build ffmp...
分类:
其他好文 时间:
2014-05-01 13:58:30
阅读次数:
621
(转自:http://wenku.baidu.com/view/5d41fdbec77da26925c5b08d.html)
Windows系统是建立在事件驱动的机制上的,说穿了就是整个系统都是通过消息的传递来实现的。而钩子是Windows系统中非常重要的系统接口,用它可以截获并处理送给其他应用程....