码迷,mamicode.com
首页 >  
搜索关键字:cap    ( 3348个结果
javascript中的addEventListener与attchEvent
1、addEventListener 该方法用于向指定元素添加事件句柄 浏览器的支持情况为chrome1.0、ie9+、fireFox1.0、opera7.0 该方法包含三个参数event, function, useCapture event为指定事件名,不需要加"on"前缀 function为事 ...
分类:编程语言   时间:2017-05-16 10:57:01    阅读次数:147
.Net Mvc AutoMapper简单使用
1、安装automapper nuget包。 2、新建一个AutoMapper配置类并实现一个静态配置方法。 3、在全局配置Global.asax中引用配置方法。 4、具体使用 附:实体类、Output类 附:AutoMapper GitHub ...
分类:移动开发   时间:2017-05-15 19:51:57    阅读次数:253
cocos2d-x 2.x 支持多个方向屏幕翻转
主要改动 RootViewController.mm 的 supportedInterfaceOrientations 方法 1.四个方向 UIInterfaceOrientationMaskAll 2.三个方向(除了屏幕倒着全部都能够旋转) UIInterfaceOrientationMaskAl ...
分类:其他好文   时间:2017-05-15 18:31:42    阅读次数:136
UVa 10651 Pebble Solitaire(DP 记忆化搜索)
Pebble Solitaire Pebble solitaire is an interesting game. This is a game where you are given a board with an arrangement of small cavities, initially ...
分类:其他好文   时间:2017-05-15 16:21:23    阅读次数:223
146. LRU Cache
题目: Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get ...
分类:系统相关   时间:2017-05-15 10:02:16    阅读次数:300
解决The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request "accept" headers.
解决SpringMVC跳转出现的The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the r... ...
分类:其他好文   时间:2017-05-14 21:51:12    阅读次数:178
常用的节点类型
常用的节点类型 节点类型NodeTypeNamed ConstantnodeName 的返回值nodeValue 的返回值 Element 1 ELEMENT_NODE element name null Attr 2 ATTIBUTE_NODE 属性名称 属性值 Text 3 TEXT_NODE ...
分类:其他好文   时间:2017-05-14 20:33:38    阅读次数:134
Oozie workflow工作流action间参数传递实现
假设workflow里有两个action节点,shell和hive,hive需要用到shell节点里的值,shell脚本如下 hive节点需传入day这个参数。需要用到shell节点里<capture-output/>这个属性,如下 <action name="shell-118a "> <shel ...
分类:其他好文   时间:2017-05-14 16:10:21    阅读次数:308
简明区分escape、encodeURI和encodeURIComponent
一、前言 讲这3个方法区别的文章太多了,但是大部分写的都很绕。本文试图从实践角度去讲这3个方法。 二、escape和它们不是同一类 简单来说,escape是对字符串(string)进行编码(而另外两种是对URL),作用是让它们在所有电脑上可读。编码之后的效果是%XX或者%uXXXX这种形式。其中 A ...
分类:Web程序   时间:2017-05-13 19:01:43    阅读次数:223
[分布式系统学习]阅读笔记 Distributed systems for fun and profit 抽象 之二
本文是阅读 http://book.mixu.net/distsys/abstractions.html 的笔记。 第二章的题目是"Up and down the level of abstraction"。这一章里面,作者主要介绍了分布式系统里面的一个重要概念:CAP理论。 什么是CAP理论呢?就 ...
分类:其他好文   时间:2017-05-13 18:01:59    阅读次数:124
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!