《基础篇》
http://www.cnblogs.com/lhb25/archive/2013/01/10/talks-to-help-you-become-a-better-front-end-engineer-a.html《CSS篇》
http://www.cnblogs.com/lhb25/a...
分类:
其他好文 时间:
2014-05-26 21:58:08
阅读次数:
257
最近使用hive做一些etl工作,除了日常sql的编写,了解hadoop及hive的一些底层原理性质的东西包括调优非常有必要,一次hive调优就把原来的零散文件做了合并。首先记下hadoop常用的命令:(hadoop
fs -help列出全部)1,hadoop fs –fs [local | ]:声...
分类:
其他好文 时间:
2014-05-26 20:44:49
阅读次数:
308
使用方式:cat [-AbeEnstTuv] [--help] [--version]
fileName说明:把档案串连接后传到基本输出(萤幕或加 > fileName 到另一个档案)参数:-n 或 --number 由 1
开始对所有输出的行数编号-b 或 --number-nonblank 和 ...
分类:
系统相关 时间:
2014-05-26 15:24:06
阅读次数:
440
最基础的search api格式是empty
search,这个search不指定任何的查询条件,就是返回cluster中的所有的index的document: GET /_search相应的消息如下:{
"hits":{ "total": 14, "hits":[ { ...
分类:
其他好文 时间:
2014-05-26 14:15:42
阅读次数:
250
在empty
search中你是否注意到了查询的结果中包含了不同的type:有来自us中的user,有来自gb中的tweet。不限值index和type我们能搜索整个cluster中的所有的document,ES会把请求分发到cluster中所有的primary和replica,然后返回结果的前十条...
分类:
其他好文 时间:
2014-05-26 13:59:11
阅读次数:
257
原题地址:https://oj.leetcode.com/problems/recover-binary-search-tree/题意:Two
elements of a binary search tree (BST) are swapped by mistake.Recover the
tree...
分类:
编程语言 时间:
2014-05-26 13:25:43
阅读次数:
261
基本上一次过,要注意边界条件的问题:如果在recursion里有两个参数int begin, end,
递归写作recursion(num, mid+1, end), 因为+号的原因,递归中是会出现begin > end
的情况的,所以考虑初始条件的时候应该要考虑充分。 1 /** 2 * Def....
分类:
其他好文 时间:
2014-05-26 12:12:49
阅读次数:
257
Eclipse->help->install new 。。。。
addname:phppath:http://download.eclipse.org/tools/pdt/updates/3.0/milestones/
分类:
Web程序 时间:
2014-05-26 11:23:19
阅读次数:
307
原题地址:https://oj.leetcode.com/problems/validate-binary-search-tree/题意:检测一颗二叉树是否是二叉查找树。解题思路:看到二叉树我们首先想到需要进行递归来解决问题。这道题递归的比较巧妙。让我们来看下面一棵树:
...
分类:
编程语言 时间:
2014-05-26 10:48:19
阅读次数:
291
Help Me with the GameTime Limit: 1000MSMemory
Limit: 65536KTotal Submissions: 3175Accepted: 2053DescriptionYour task is to
read a picture of a chessbo...
分类:
其他好文 时间:
2014-05-26 10:28:59
阅读次数:
618