码迷,mamicode.com
首页 > 其他好文
【leetcode】21. Merge Two Sorted Lists
merge two sorted lists 按照大小直接进行归并...
分类:其他好文   时间:2015-07-14 11:29:14    阅读次数:74
运行pig出错Unhandled internal error. Found interface jline.Terminal, but class was expected
运行pig时报如下错误 2015-07-14 10:41:12,869 [main] ERROR org.apache.pig.Main - ERROR 2998: Unhandled internal error. Found interface jline.Terminal, but class was expected 解决办法: 删除{HADOOP_HOME}/share/had...
分类:其他好文   时间:2015-07-14 11:26:47    阅读次数:113
逻辑回归分类器(Logistic Regression Classifier)
Logistic regression (逻辑回归)是当前业界比较常用的机器学习方法,用于估计某种事物的可能性,也用来进行分类。 在分类的情形下,经过学习之后的LR分类器其实就是一组权值w0,w1,...,wm.  当输入测试样本集中的测试数据时,这一组权值按照与测试数据线性加和的方式,求出一个z值: z = w0+w1*x1+w2*x2+...+wm*xm。 ① (其中x1,x2,...,...
分类:其他好文   时间:2015-07-14 11:27:21    阅读次数:149
Notepad++输入模式之修改模式、插入模式
notepad++光标是直的,如何让它变成竖的? 通常光标是竖的,为插入模式,光标在字符之间时输入,内容会随输入的内容向后移动,新输入的内容不会替换后面的内容。 当按一下“Insert”键之后,输入模式会变为修改模式, 这时我们字符“a”,会发现光标位置的字符被替换为“a”,而不是向后移动。 再按一下“Insert”键之后,输入模式会变回插入模式。...
分类:其他好文   时间:2015-07-14 11:26:21    阅读次数:186
hdu 1384 Intervals (差分约束)
/* 给你 n 个区间 [Ai, Bi],要求从每个区间中至少选出 Ci 个数出来组成一个序列 问:满足上面条件的序列的最短长度是多少? 则对于 不等式 f(b)-f(a)>=c,建立 一条 b 到 a 的边 权值为 c,则求的最长路 即为 最小值(集合) 并且有隐含条件:0<=f(a)-f(a-1)<=1 则有边权关系(a,a-1,0)以及(a-1,a,-1); */ /* ...
分类:其他好文   时间:2015-07-14 11:25:21    阅读次数:101
文件切割器,一个读取流,对应多个输出流,而且生成的碎片文件都有有序的编号
import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.Properties; public class File...
分类:其他好文   时间:2015-07-14 11:26:31    阅读次数:124
Wireshark数据抓包教程之Wireshark的基础知识
Wireshark数据抓包教程之Wireshark的基础知识...
分类:其他好文   时间:2015-07-14 11:26:10    阅读次数:109
(LeetCode)用两个栈实现一个队列
LeetCode上面的一道题目,原文如下: Implement the following operations of a queue using stacks. push(x) -- Push element x to the back of queue.pop() -- Removes the element from in front of queue.peek() -- G...
分类:其他好文   时间:2015-07-14 11:23:27    阅读次数:131
ibatis[mybatis]的安全加固
对于mapping框架,其实预编译语句已经解决了绝大多数的sql注入。但是对mapping如果支持动态语句,就和程序拚接一样存在sql注入的可能。所以在ibatis[mybatis]中,安全加固主要针对 $ 符号拚接的动态语句select * from userinfo where name = {#name} oder by $orderColumn$  $sortMode$这是一种非常典型的场...
分类:其他好文   时间:2015-07-14 11:23:37    阅读次数:110
OpenCV生成标定图
opencv 基础 标定 畸变 标定板...
分类:其他好文   时间:2015-07-14 11:21:23    阅读次数:161
053第423题
423.Which of the following describes how a distributed resumable transaction behaves? A. The resumable setting on the initiating session determines the resumable conditions for the entire distribute...
分类:其他好文   时间:2015-07-14 11:22:09    阅读次数:138
【leetcode】20. Valid Parentheses
@requires_authorization @author johnsondu @create_time 2015.7.13 11:03 @url [valid parentheses](https://leetcode.com/problems/valid-parentheses/) /***************** * 类别: 栈模拟判断 * 时间复杂度: O(n) * 空间复杂度...
分类:其他好文   时间:2015-07-14 11:22:05    阅读次数:97
virtualBox打开vmdk文件
virtualBox和vmware感觉有不少不同。例如,如果有vmware的虚拟硬盘文件,virtualBox没有办法直接导入。如果想要导入vmdk文件,步骤如下:1)打开Oracle VM VirtualBox 管理器,点击“新建”,在“新建虚拟电脑”下,输入相应名称(建议与vmdk文件同名,并除...
分类:其他好文   时间:2015-07-14 11:17:22    阅读次数:209
添加Google网络地图功能
在MeteoInfo中添加了Google网络地图功能。打开MeteoInfo软件,选中图层管理区的一个Map Frame(New Map Frame),点击鼠标右键,在弹出菜单中点击Add Web Layer菜单添加一个网络图层,缺省是OpenStreetMap。双击网络图层名,在图层属性对话框中选...
分类:其他好文   时间:2015-07-14 11:19:07    阅读次数:144
caj转pdf——包含下载链接
很多人在知网上下载论文后,想转换成PDF格式,本片一站式教学,包含下载链接。需要工具1 caj格式的文件,即要转换的文件。2 cajviewer,可以在知网的官网上面下载,下载地址参考这里。3 虚拟打印机, 可以是Adobe acrobat(这个太大了,而且官方需要序列号,不推荐), 或者 Ti.....
分类:其他好文   时间:2015-07-14 11:17:40    阅读次数:120
Diesel-engined reaches all the the highest quality about type
Diesel-engined reaches all the the highest quality about type, and additionally frequently is actually as being the agency was created for 1978. Diese...
分类:其他好文   时间:2015-07-14 11:17:18    阅读次数:111
Avril Lavigne : Everybody Hurts (Ver3)
http://www.guitartabsexplorer.com/http://www.guitartabsexplorer.com/lavigne-avril-Tabs/everybody-hurts-(Ver3)-crd.php Em C G DCapo 3IntroE |---...
分类:其他好文   时间:2015-07-14 11:15:39    阅读次数:77
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!