1、apche commons项目封装了日常开发中经常使用的功能,如io, String等。
http://commons.apache.org/
Apache Commons项目的由三部分组成:
The Commons Proper - 一个可重用的Java组件库。(已经发布过的)
The Commons Sandbox - Java组件开发工作区. (正在开发的项目...
分类:
其他好文 时间:
2014-06-27 10:35:17
阅读次数:
163
霍夫变换(直线)
原理摘自:http://www.opencv.org.cn/opencvdoc/2.3.2/html/doc/tutorials/imgproc/imgtrans/hough_lines/hough_lines.html
目标
在这个部分您将学习到:
使用OpenCV的以下函数 HoughLines 和 HoughLinesP 来检测图像中的直线.
...
分类:
其他好文 时间:
2014-06-27 10:10:49
阅读次数:
241
为了提高linux的显卡性能以及降低功耗,特有此文。
本人使用的系统是Fedora 20 Xfce x64,安装驱动前先确保系统为最新版本。
最好安装gcc、kernel-devel等软件包,我不确定后面会不会作为依赖自动安装。
---
安装intel集显驱动,可以自行去intel官网查找,或者直接访问https://01.org/linuxgraphics/
这个地址就是intel官方...
分类:
系统相关 时间:
2014-06-27 09:46:51
阅读次数:
296
今天在练习如何spring中进行单元测试的时候...
分类:
数据库 时间:
2014-06-27 09:44:11
阅读次数:
411
1.两种方式得到Wordpress首先你可以去wordpress官方网站看下最新的wordpress的下载地址多少。比如wordpress 3.9.1的下载地址是:http://cn.wordpress.org/wordpress-3.9-zh_CN.zip先用mkdir命令随便建立一个目录,这里使用wordpress,在该目录下用wget来请求wordpress的下载地址,这里用:wget ht...
分类:
其他好文 时间:
2014-06-27 09:27:29
阅读次数:
185
转载请注明出处:http://www.openext.org/2014/06/lxc-erro1#tar zxvf lxc-xxx.tar#./autogen#./configure –prefix=/usr/local/lxc#make#make install#lxc-lsthe error:#echo “/usr/local/lxc/lib” >> /etc/ld.so.conf#ldcon...
分类:
其他好文 时间:
2014-06-27 08:36:38
阅读次数:
156
用1*2 的骨牌通过组合拼成 m * n 的大矩形,问有几种拼法。
题目链接:http://poj.org/problem?id=2411
状态转移:
由于上一行的该列竖直放置骨牌为 0,影响到当前行的该列,当前行的该列为 1
当前行骨牌横放,上一行骨牌横放, 都为11
上一行该列置为 1,当前行当前列立着放为
0
#include
#include
using...
分类:
其他好文 时间:
2014-06-27 07:50:19
阅读次数:
196
直接上代码:
简单工厂模式:
------------------------------一个抽象类 --------------------------
abstract class AbsClass
{
//抽象方法:提供一些列的算法操作
public abstract void acceptCash(string org);
}
-------------...
分类:
其他好文 时间:
2014-06-27 07:36:34
阅读次数:
395
首先你要Spring所有的包导入
1、配置前端控制器DispatcherServlet 在web.xml中
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/ja...
分类:
编程语言 时间:
2014-06-27 07:25:51
阅读次数:
318
org.eclipse.ui.keywords扩展点使用...
分类:
系统相关 时间:
2014-06-27 07:13:38
阅读次数:
247