Cannyfunction [ canny ] = canny( rgb )temp=rgb2gray(rgb);canny=edge(temp,'canny');end灰度temp=rgb2gray(rgb);播放视频clear allsource = VideoReader('d:\v\\bus...
分类:
其他好文 时间:
2014-11-11 12:30:23
阅读次数:
265
如果你用ODBC connection (DSN or DSN-less)来访问远端的(UNC path)数据库, OLEDB会出现以下错误信息: Microsoft OLE DB Provider for ODBC Drivers error ’80004005’ [Microsoft][...
分类:
数据库 时间:
2014-11-11 10:31:38
阅读次数:
186
BFS is faster to find shortest path from root to leaf node of a tree. But the tradeoff is to use more memory.the basic trategy is to maintain a list t...
分类:
编程语言 时间:
2014-11-11 07:03:12
阅读次数:
259
Python文件IO有如下文本内容,文件路径为D:\temp,文件名称为lyric.txt,line1 Look ! line2 If U had one shotline3 One opportunityline4 To seize everything U ever wantedline5 On...
分类:
编程语言 时间:
2014-11-11 00:41:54
阅读次数:
305
mac 一般使用bash作为默认shell
Mac系统的环境变量,加载顺序为:
/etc/profile /etc/paths ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrc
当然/etc/profile和/etc/paths是系统级别的,系统启动就会加载,后面几个是当前用户级的环境变量。后面3个按照从前往后的顺序读取,如...
分类:
系统相关 时间:
2014-11-10 23:24:17
阅读次数:
234
问题:原系统查询接口不支持分页也不可能加入分页支持,导致Ajax查询数据过多,返回数据达到2W多条记录时响应已经极慢,查询功能不要求数据实时性,页面反应速度极慢、体验不好;经排查是由于数据量过大导致写回页面的时候慢,实现是直接Servlet输出流写到页面上(output.write(buffer, ...
分类:
其他好文 时间:
2014-11-10 23:17:33
阅读次数:
326
find命令
find
path: 所要搜索的目录及其所有子目录。默认为当前目录。expression: 所要搜索的文件的特征。cmd: 对搜索结果进行特定的处理。
如果什么参数也不加,find默认搜索当前目录及其子目录,并且不过滤任何结果(也就是返回所有文件),将它们全都显示在屏幕上。
find命令常用选项及实例
-name 按照文件名查找文件。
find...
分类:
系统相关 时间:
2014-11-10 21:57:46
阅读次数:
485
如果jar文件是以外部依赖的形式导入的。Eclipse将web项目发布到Tomcat时,是不会自动发布这些依赖的。
可以通过Eclipse在项目上右击 - Propertics - Deployment Assembly,添加“Java Build Path Entries”,添加所有依赖的jar包,就可以在发布时自动发布外部依赖的jar包。...
分类:
编程语言 时间:
2014-11-10 21:52:44
阅读次数:
361
在使用Eclipse进行开发的时候,出现了如下的问题:
Description Resource Path Location Type
The project was not built due to "A resource exists with a different case: '/SeenTaoImp_zhV2/bin/seentao'.". Fix the problem, th...
分类:
系统相关 时间:
2014-11-10 20:02:15
阅读次数:
249
在使用Eclipse进行开发的时候,出现了如下的问题:
Description Resource Path Location Type
The project was not built due to "A resource exists with a different case: '/SeenTaoImp_zhV2/bin/seentao'.". Fix the problem, th...
分类:
系统相关 时间:
2014-11-10 20:02:08
阅读次数:
448