上个版本号的start.scala用的是HiveContext。这个是SQLContext的,不需编译。 # cat testperson.txt #字段用table键分隔 zs 10 30.0 li 12 32.0 # spark-shell -i:start.scala scala> help ...
分类:
数据库 时间:
2019-05-25 09:32:21
阅读次数:
98
首先进行查壳,没有壳。 随便输入,看程序执行信息。随意输入字符串,提示key error 放到IDA中打开,在左侧函数窗口中找到main0,F5反编译,进行分析。具体已在分析在图中标识。 关于main函数的逻辑是很容易理解的,但是接下来可就犯难了。我首先是打开45C748(对Str进行变换的函数)。 ...
分类:
其他好文 时间:
2019-05-24 23:49:15
阅读次数:
273
1,本文论述数据结构的起源和数据结构研究内容; 2,高手往往能够看到初学者看不到的问题; 3,为什么有程序存在(可以写入论文中): 1,程序是为了解决实际问题而存在的; 2,从本质上讲,程序是解决问题的步骤描述(有了这些步骤,计算机照做就可以了); 4,理解实际问题: 1,确认问题类型: 1,如:数 ...
分类:
其他好文 时间:
2019-05-24 22:35:05
阅读次数:
168
You have a list of and a , and you want to know which words in matches the pattern. A word matches the pattern if there exists a permutation of letter ...
分类:
其他好文 时间:
2019-05-24 22:28:27
阅读次数:
120
题意:给你一个括号序列,这个括号序列将确定一颗二叉树。有q次询问,每次询问输出这颗树的直径。 思路:https://blog.csdn.net/Huah_2018/article/details/89788074 代码: ...
分类:
其他好文 时间:
2019-05-24 22:16:56
阅读次数:
154
1.使用Unsafe类 2.声明简单锁 3.竞争锁失败的进队列 3.调用如下 ...
分类:
其他好文 时间:
2019-05-24 19:26:10
阅读次数:
85
$spfa dfs$优化板子 快速判断是否存在负环(没负环时不要作死用) cpp bool spfa(int u){ vis[u]=1; for(register int i=head[u];i;i=nxt[i]){ int v=vv[i]; if(dis[v] ...
分类:
其他好文 时间:
2019-05-24 19:18:18
阅读次数:
108
1 var data = ['a', 'b', 'c', 'd']; 2 function getGroup(data, index = 0, group = []) { 3 var newArr = []; 4 newArr.push(data[index]); 5 for (var i = 0;... ...
分类:
其他好文 时间:
2019-05-24 15:54:00
阅读次数:
96
My solution: Other guy's solution ...
分类:
其他好文 时间:
2019-05-24 10:35:26
阅读次数:
78
1 class File 2 { 3 private $_dir; 4 const EXT = '.txt'; 5 6 public function __construct() 7 { 8 $this->_dir = dirname(__FILE__).'/files'; 9 } 10 11 pu... ...
分类:
Web程序 时间:
2019-05-24 09:20:08
阅读次数:
131