码迷,mamicode.com
首页 > 全部
MapReduce作业的map task和reduce task调度参数
MapReduce作业可以细分为map task和reduce task,而MRAppMaster又将map task和reduce task分为四种状态: 1、pending:刚启动但尚未向resourcemanager发送资源请求; 2、scheduled:已经向resourceManager发 ...
分类:其他好文   时间:2016-08-14 07:20:48    阅读次数:686
JavaScript继承
很久之前就看了有关JavaScript继承,都没怎么总结,刚好今天有空就来聊聊呗 (^o^)/ 通过不断试验 来检验自己理解的正确性。 首先JavaScript里面所有的数据类型都是对象(object),其中的new命令引入Javascript,用来从原型对象生成一个实例对象。 (这里请注意:在Ja ...
分类:编程语言   时间:2016-08-14 07:18:58    阅读次数:160
js设置cookie不成功
<html> <head> <script type="text/javascript"> function getCookie(c_name) { if (document.cookie.length>0) { c_start=document.cookie.indexOf(c_name + "= ...
分类:Web程序   时间:2016-08-14 07:19:18    阅读次数:253
【HDU 4408】Minimum Spanning Tree(最小生成树计数)
Problem Description XXX is very interested in algorithm. After learning the Prim algorithm and Kruskal algorithm of minimum spanning tree, XXX finds t ...
分类:其他好文   时间:2016-08-14 07:18:38    阅读次数:153
CentOS 6.4安装配置LNMP服务器(Nginx+PHP+MySQL)
准备篇 1、配置防火墙,开启80端口、3306端口vi /etc/sysconfig/iptables-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT #允许80端口通过防火墙-A INPUT -m state --st ...
分类:数据库   时间:2016-08-14 07:18:16    阅读次数:213
HDU 1155 Bungee Jumping 物理
根据能量守恒得知:落地的动能=重力势能减少量-绳子弹力做功。如果l>s,则绳子不做功。 ...
分类:其他好文   时间:2016-08-14 07:19:47    阅读次数:131
ACM: Long Live the Queen - 树上的DP
Long Live the Queen Time Limit:250MS Memory Limit:4096KB 64bit IO Format:%I64d & %I64u Description The Queen of Byteland is very loved by her people. ...
分类:其他好文   时间:2016-08-14 07:19:10    阅读次数:167
Rabbitmq Exchange Type 说明
Exchange在定义的时候是有类型的,以决定到底是哪些Queue符合条件,可以接收消息fanout所有bind到此exchange的queue都可以接收消息direct通过routingKey和exchange决定的那个唯一的queue可以接收消息topic所有符合routingKey(此时可以是 ...
分类:其他好文   时间:2016-08-14 07:19:08    阅读次数:153
Nginx - SSI Module
SSI, for Server Side Includes, is actually a sort of server-side programming language interpreted by Nginx. Its name is based on the fact that the mos ...
分类:其他好文   时间:2016-08-14 07:18:53    阅读次数:311
深入分析Linux自旋锁
原创 2016-08-12 tekkamanninja CU技术社区 作者| tekkamanninja本文版权由tekkamanninja所有,如需转载,请联系本公众号获取授权!在复习休眠的过程中,我想验证自旋锁中不可休眠,所以编写了一个在自旋锁中休眠的模块。但是在我的ARMv7的单核CPU(TI ...
分类:系统相关   时间:2016-08-14 07:20:05    阅读次数:174
Bootstrap
Bootstrap,来自 Twitter,是目前很受欢迎的前端框架。Bootstrap 是基于 HTML、CSS、JAVASCRIPT 的,它简洁灵活,使得 Web 开发更加快捷。 它由Twitter的设计师Mark Otto和Jacob Thornton合作开发,是一个CSS/HTML框架。Boo ...
分类:其他好文   时间:2016-08-14 07:17:32    阅读次数:155
[AngularJS] 'require' prop in Directive or Component
When use 'require', recommend to add some error check, for example: We add a if() to check whether this is parent controller, if it is then we continu ...
分类:Web程序   时间:2016-08-14 07:17:54    阅读次数:352
UVa1225
Digit Counting Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %llu Submit Status Practice UVA 1225 uDebug Description Trung is bored with h ...
分类:其他好文   时间:2016-08-14 07:18:27    阅读次数:280
sum-root-to-leaf-numbers-LeetCode
sum-root-to-leaf-numbers 题目描述 Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number. An example is the ro ...
分类:其他好文   时间:2016-08-14 07:16:36    阅读次数:155
C基础--函数指针的使用
之前在看代码的时候,看了函数指针的使用,大体分为如下几类: 做一个function list,通过指针索引调用,使得处理功能类似的函数看起来更加清晰; 函数指针作为另一个函数的参数,用作回调; linux中经常使用来达到相同接口,实现不同,如: 实现可以是freescale的imx系列芯片的串口: ...
分类:其他好文   时间:2016-08-14 07:16:06    阅读次数:173
10 篇前端技术热文
《静态网站生成器将是下一个大事件》 在 StaticGen,我们有一个关于静态站点生成器的开源目录,在这一年多我们追踪了超过一百个生成器。在那段时间里,我们见证着这些项目的数量和流行度在 Github 上高涨得不可思议——从只有 50 个到超过 100 个,直到有关静态站点的库获得了超过 10 万的 ...
分类:其他好文   时间:2016-08-14 07:18:04    阅读次数:146
Java集合与算法
集合接口 集合实现(链表、数组列表、散列集、树集、队列与双端队列、映射表) 集合与数组之间的转换 算法(排序、二分查找)。 ...
分类:编程语言   时间:2016-08-14 07:18:21    阅读次数:195
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!