码迷,mamicode.com
首页 >  
搜索关键字:le ge lt gt eq ne    ( 256714个结果
HTML <!DOCTYPE> 标签
在默认情况下,FF和IE的解释标准是不一样的,也就是说,如果一个网页没有声明DOCTYPE,它就会以默认的DOCTYPE解释下面的HTML。在同 一种标准下,不同浏览器的解释模型都有所差异,如果声明标准不同,不用我说,您自己想就可以了。学习网页标准,浏览器兼容,从哪里开始您自己决定,但是, 请认识D...
分类:Web程序   时间:2014-05-23 12:50:15    阅读次数:355
js中select操作实例
window.onload=function(){ //创建select var select1= document.createElement("select"); select1.id="select1"; for(var i=0;i<5;i++){ ...
分类:Web程序   时间:2014-05-23 12:23:36    阅读次数:439
WM_CAP_DRIVER_CONNECT
WM_CAP_DRIVER_CONNECT//ActiveX ---->OnCreatem_pit.Create(IDD_CAM_DIALOG,this);CRect rc;this->GetClientRect(&rc);m_pit.m_cam.MoveWindow(&rc);m_pit.Show...
分类:其他好文   时间:2014-05-23 12:09:20    阅读次数:570
LeetCode: Maximum Depth of Binary Tree 题解
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:其他好文   时间:2014-05-23 11:54:10    阅读次数:317
插入排序
插入排序伪代码:1 for j=2 to a.length2 key=a[j]3 i=j-14 while i>0 and a[i]>key5 a[i+1]=a[i]6 i=i-17 a[i+1]=key使用实例: 1 ...
分类:其他好文   时间:2014-05-23 11:20:43    阅读次数:227
file_get_contents url
file_get_contents(PHP 4 >= 4.3.0, PHP 5)file_get_contents—将整个文件读入一个字符串说明?stringfile_get_contents(string$filename[,bool$use_include_path= false[,resour...
分类:其他好文   时间:2014-05-23 11:14:47    阅读次数:203
rails中params[:id]与params["id"]分析
写这个帖子的缘由是因为在页面参数传到rails的controller时用params[:]和params[""]都可以取到值:[1] pry(#)> params=> {"action"=>"show", "controller"=>"books", "id"=>"382"}[2] pry(#)> ...
分类:其他好文   时间:2014-05-23 11:10:59    阅读次数:307
AsyncEnumerableExtensions.cs z
public static class Extensions{public static async Task ForEachAsync(this IEnumerable collection, Func> body, IObserver observer = null){foreach (var ...
分类:其他好文   时间:2014-05-23 10:55:36    阅读次数:213
[开发笔记]-VS2012打开解决方案崩溃或点击项目崩溃
下午在使用VS2012建立Service服务项目时,只要一切换到设计视图页面中,VS就崩溃重启,从网上找了一种方法来解决,测试可行。但导致该问题的原因未知。 解决方案:步骤1:开始-->所有程序-->Microsoft Visual Studio 2012-->Visual Studio To...
分类:其他好文   时间:2014-05-23 10:51:24    阅读次数:302
javascript 数组
var arr = [1,2,2,3,3,4,4,5,1];function getRepeat( arr ){ var len = arr.length, map={}; for( var i = 0;i<len;i++ ){ if(!map[arr[i]]...
分类:编程语言   时间:2014-05-23 10:39:49    阅读次数:285
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!