Given a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent node) or empty, flip it up ...
分类:
其他好文 时间:
2017-09-07 11:59:59
阅读次数:
150
这两天发现有个maven项目抽风了,开始是src/main/java下的包名加上最后的java目录名了,比如com.wulinfeng变成了java.com.wulinfeng,接着lib库没了,maven引入的依赖包导不了。后来发现是eclipse搞的鬼,出问题的是项目下的.classpath文件 ...
分类:
其他好文 时间:
2017-09-07 11:02:22
阅读次数:
390
正文 下载Spark版本,这版本又要求必须和jdk与hadoop版本对应。 tar -zxvf 解压到指定目录,进入conf进行培训。spark-env.sh.template 改为 spark-env.sh,注册 export SPARK_DAEMON_JAVA_OPTS="-Dspark.dep ...
分类:
其他好文 时间:
2017-09-07 10:03:21
阅读次数:
177
Maven坐标引入: <dependency> <groupId>com.aliyun</groupId> <artifactId>aliyun-java-sdk-core</artifactId> <version>3.2.2</version> </dependency> <dependency ...
分类:
编程语言 时间:
2017-09-06 21:21:01
阅读次数:
248
一、logback的介绍 Logback是由log4j创始人设计的另一个开源日志组件,官方网站: http://logback.qos.ch。它当前分为下面下个模块: logback-core:其它两个模块的基础模块 logback-classic:它是log4j的一个改良版本,同时它完整实现了sl ...
分类:
其他好文 时间:
2017-09-06 10:56:37
阅读次数:
212
在/etc/X11下手动产生xorg.conf文件, # vi /etc/X11/xorg.conf 文件中内容如下: ##Add the following codes: Section "Monitor" Identifier "Monitor0" VendorName "Monitor Ven ...
分类:
系统相关 时间:
2017-09-05 21:52:18
阅读次数:
329
所需即所获:像 IDE 一样使用 vim 转载 yangyangwithgnu@yeah.net2015-11-08 10:05:53 谢谢 捐赠:支付宝 yangyangwithgnu@yeah.net 。支付宝链接https://shenghuo.alipay.com/send/payment/ ...
分类:
系统相关 时间:
2017-09-05 19:07:59
阅读次数:
260
1.springboot:快速开发,强大的运维能力。(监控,服务发现,并打) 2.微服务,将一个大系统分解成很多独立的小服务,这些服务能随时发布。 3.2004年第一版spring 1.0,rod johnson, 2014年 spring boot 4.spring 1.0的出现彻底的改变了企业级 ...
分类:
编程语言 时间:
2017-09-05 19:07:38
阅读次数:
146
1433: [ZJOI2009]假期的宿舍 Description Input Output Sample Input 1 3 1 1 0 0 1 0 0 1 1 1 0 0 1 0 0 Sample Output ? ? HINT 对于30% 的数据满足1 ≤ n ≤ 12。 对于100% 的数据 ...
分类:
其他好文 时间:
2017-09-05 01:48:45
阅读次数:
190
一、Eclipse常见快捷键使用自动完成单词:Alt+/ 重命名:Shift+Alt+r(统一改变字段或方法名)生成getter/setter方法: Shift+Alt+s,然后r删除当前行:Ctrl+d 定位到前(后)一个编辑点:标准为Alt+左(右)箭头 , 修改方法为: Windows->pr... ...
分类:
系统相关 时间:
2017-09-05 01:39:06
阅读次数:
285