码迷,mamicode.com
首页 > Web开发
浅谈 js 数字格式类型
很多人也许只知道 123,123.456,0xff 之类的数字格式。其实 js 格式还有很多数字格式类型,比如 1., .1 这样的,也有 .1e2 这样的。可能有人说这是什么个格式?其实还不止呢。1 //11.2 //1.21.2e3 //12001.2e+3 //12001.2e-...
分类:Web程序   时间:2014-05-22 15:46:33    阅读次数:256
MVC 过滤器 ActionFilterAttribute
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using 过滤器.Controllers;namespace 过滤器.Filtes{ p...
分类:Web程序   时间:2014-05-22 15:54:09    阅读次数:308
Parallel for loops in .NET C# z
The start index: this is inclusive, i.e. this will be the first index value in the loopThe end index: this is exclusive, so it won’t be processed in t...
分类:Web程序   时间:2014-05-22 15:59:26    阅读次数:264
Parallel for-each loops in .NET C# z
An IEnumerable objectAn Action of T which is used to process each item in the listList dataList = new List { "this", "is", "random", "sentence...
分类:Web程序   时间:2014-05-22 16:01:17    阅读次数:290
Breaking parallel loops in .NET C# using the Stop method z
List integers = new List() { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };Parallel.ForEach(integers, (int item, ParallelLoopState state) =>{ if (item > 5) { ...
分类:Web程序   时间:2014-05-22 16:03:56    阅读次数:287
HTML5资料整理 [From luics]
来自http://www.cnblogs.com/luics/,新浪微博@徐凯-鬼道HTML5资料整理项目组要做html5这块,花了一周左右时间收集的,快有一年时间了,部分内容需要更新,仅供参考。如需更新请回复几点说明:本次收集的信息以HTML5为主,这里的HTML5 ~=HTML5 + Javas...
分类:Web程序   时间:2014-05-22 16:05:18    阅读次数:841
Parallel stepped for loops in .NET C# z
for (int i = 0; i SteppedIntegerList(int startIndex, int endEndex, int stepSize){ for (int i = startIndex; i { Console.WriteLine...
分类:Web程序   时间:2014-05-22 16:08:30    阅读次数:281
MVC 授权过滤器 AuthorizeAttribute
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;namespace 过滤器.Filtes{ /// /// 授权过滤器,在Acti...
分类:Web程序   时间:2014-05-22 16:12:14    阅读次数:371
Web颜色搭配 - 收集
颜色1颜色一背景字RGB43,41,4692,187,207HEX#2B292E#5CBBCFHSB264,11,18190,56,81CMYK7,11,0,8256,10,0,19颜色2Outlook背景字RGB130,186,0255,255,255HEX#82BA00#FFFFFFHSB78,...
分类:Web程序   时间:2014-05-22 16:31:46    阅读次数:289
MVC 全局异常过滤器HandleErrorAttribute
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;namespace 过滤器.Filtes{ /// /// 全局异常过滤器 ...
分类:Web程序   时间:2014-05-22 13:54:14    阅读次数:342
PHP (20140521)
FCKeditor是目前最优秀的可见即可得网页编辑器之一,它采用JavaScript编写。具备功能强大、配置容易、跨浏览器、支持多种编程语言、开源等特点。它非常流行,互联网上很容易找到相关技术文档,国内许多WEB项目和大型网站均采用了FCKeditor。FCKeditor是一个专门使用在网页上属于开...
分类:Web程序   时间:2014-05-22 16:38:35    阅读次数:480
How to cancel parallel loops in .NET C# z
Cancellation tokenParallel optionsCancellationTokenSource cancellationTokenSource = new CancellationTokenSource();Task.Factory.StartNew(() =>{ Thre...
分类:Web程序   时间:2014-05-22 16:43:14    阅读次数:332
jQuery 效果 - animate() 方法
http://www.w3school.com.cn/jquery/effect_animate.asp实例改变 "div" 元素的高度:$(".btn1").click(function(){ $("#box").animate({height:"300px"});});亲自试一试定义和用法an....
分类:Web程序   时间:2014-05-23 02:40:35    阅读次数:313
响应式Web设计
1. 响应式Web设计采用灵活的、设备无关的方法来为Web进行设计。响应式Web设计使用了与渐进增强相同的思想。包括三个核心元素:媒介查询、流动布局、自适应图片。响应式站点不是PC站,也不是手机站。2. 优雅降级当你利用所有新的特性时,你要保证那些相对较老的浏览器也能访问你的内容。3. 渐进增强把优...
分类:Web程序   时间:2014-05-23 02:58:08    阅读次数:288
JSON和XML的比较
JSON和XML的比较 ◆可读性 JSON和XML的可读性可谓不相上下,一边是简易的语法,一边是规范的标签形式,很难分出胜负。 ◆可扩展性 XML天生有很好的扩展性,JSON当然也有,没有什么是XML能扩展,而JSON却不能。不过JSON在Javascript主场作战,可以存储Javascr...
分类:Web程序   时间:2014-05-23 03:16:41    阅读次数:297
远景WEBGIS平台实现客户端SHP文件加载
远景WEBGIS平台的研发目前取得新进展,实现客户端shp文件的加载,可以不经过PC上的数据转换工具转换。远景WEBGIS平台(RemoteGIS)是基于HTML5自主研发的新一代WEBGIS基础平台,它使用Javascript开发,具有良好的系统架构和高可扩展性。是全新的高效、专业、稳定的GI.....
分类:Web程序   时间:2014-05-23 03:18:37    阅读次数:270
MVC - Routing - 网址路由
1.Routing : 路由 主要是比对通过浏览器传来的http要求与响应适当的网址给浏览器。@Html.ActionLink("关于","About","Home") 这段代码生成的HTML超连接: 关于 2. 默认情况下 网址路由规则定义在 App_Start\RouteConfig.cs...
分类:Web程序   时间:2014-05-23 03:53:47    阅读次数:405
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!