1.部署环境OS:Red Hat Enterprise Linux Server release 6.4 (Santiago)Hadoop:Hadoop 2.4.1Hive:0.11.0JDK:1.7.0_60Python:2.6.6(spark集群需要python2.6以上,否则无法在spark集...
分类:
其他好文 时间:
2014-09-04 18:59:49
阅读次数:
267
//===作用链域======var color = "blue";/*function changeColor(){ if(color=="blue"){ color ="red"; }else{ color="yellow"; }}changeColor();alert("Color is .....
分类:
编程语言 时间:
2014-09-04 14:42:59
阅读次数:
169
HDU1312 / POJ1979 / ZOJ2165 Red and Black(红与黑) DFS解题报告...
分类:
其他好文 时间:
2014-09-04 10:31:49
阅读次数:
355
重点:http://www.javascriptkit.com/create an object:var car = new Object();car.colour = 'red';car.wheels = 4;car.hubcaps = 'spinning';car.age = 4;The sam...
分类:
编程语言 时间:
2014-09-03 19:36:37
阅读次数:
218
Sort ColorsGiven an array withnobjects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the or...
分类:
其他好文 时间:
2014-09-03 16:40:46
阅读次数:
231
继承CSS的某些样式是具有继承性的,那么什么是继承呢?继承是一种规则,它允许样式不仅应用于某个特定的HTML标签元素,而且应用于其后代。EX:p{color:red;}测试CSS的继承该段代码测试效果为: 测试CSS的继承可见P文本和span中的文本都设置成了红色.但是注意有一些CSS样式是不具有继...
分类:
Web程序 时间:
2014-09-03 16:14:16
阅读次数:
569
enum ColorE { RED, GREEN, BLUE; } public class GetEnumContent { public static void main(String[] args) { // ColorE color=ColorE.BLUE; // System.out.pr...
分类:
其他好文 时间:
2014-09-03 12:31:26
阅读次数:
208
用法一:常量在JDK1.5 之前,我们定义常量都是: public static fianl.... 。现在好了,有了枚举,可以把相关的常量分组到一个枚举类型里,而且枚举提供了比常量更多的方法。public enum Color { RED, GREEN, BLANK, YELLOW } 用...
分类:
编程语言 时间:
2014-09-03 11:10:06
阅读次数:
358
工具(1) 代码分析.NET Memory Profiler -http://memprofiler.com/ANTS Profiler -http://www.red-gate.com/code_profiling.htmdotTrace Profiler -http://www.jetbrain...
分类:
Web程序 时间:
2014-09-02 19:25:45
阅读次数:
356
1.强制浏览器是用Web标准解析(网上全是解析成4.01的不知道有没有5的。。)HTML的写法或者XHTML的写法2.CSS选择器区分IE6不支持子选择器;先针对IE6使用常规申明CSS选择器,然后再用子选择器针对IE7+及其他浏览器。content {color:red;}div>p .conte...
分类:
其他好文 时间:
2014-09-02 17:12:35
阅读次数:
238