mac svn 删除.svn隐藏文件的命令打开终端,进到所在的目录,然后出入一下代码find . -name ".svn" | xargs rm -Rf1、将文件checkout到本地目录svn checkout path(path是服务器上的目录)例如:svn checkout svn://192...
分类:
其他好文 时间:
2014-06-15 20:51:44
阅读次数:
307
1、项目根目录(tomcat、web项目)String path = ServletActionContext.getServletContext().getRealPath("");System.out.println(path);想要获取图片存放的位置,则为String path = Servl...
分类:
其他好文 时间:
2014-06-15 16:27:14
阅读次数:
205
最近做课题所需,开始使用VLFeat图像库。
下载解压后改名为 vlfeat,放在D盘根目录下面。即为D:\vlfeat
在系统属性里面,PATH路径添加 D:\vlfeat 如图所示:
接下来新建一个项目:
添加库文件夹,可执行文件夹,包含文件夹。
接下来开始写个测试代码了...
分类:
其他好文 时间:
2014-06-15 14:42:00
阅读次数:
217
你是不是在被中文乱码所困扰???
那就往下看吧
如果你是windows的用户,先打开cmd.exe 打入命令 mysql 如果不行那就是环境变量有问题,把mysql的bin放到环境变量的path里
接下来就是在my.ini修改character-set-server=utf8 大功告成
真是深坑!...
分类:
数据库 时间:
2014-06-15 10:12:36
阅读次数:
214
参考http://www.cnblogs.com/sunada2005/p/3536891.html然后它的这一步修改一下打开eclipse->windows->preferences->java->build path->user libraries,点击new,新建一个library,可取名为h...
分类:
系统相关 时间:
2014-06-15 00:57:07
阅读次数:
295
$infos = @{}$infos.Path ='c:\Windows'$infos.Recurse =$true$infos.Filter ='*.log'$infos.ErrorAction ='SilentlyContinue'$infos.Remove('Recurse')dir@info...
分类:
其他好文 时间:
2014-06-14 21:49:24
阅读次数:
234
Question:Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, .....
分类:
其他好文 时间:
2014-06-14 20:59:07
阅读次数:
188
Decription:Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, gi...
分类:
其他好文 时间:
2014-06-14 19:46:12
阅读次数:
251
下面是把sourceDir文件夹下的以.JPG结尾的文件全部复制到targetDir文件夹下:
>>>import os
>>> import os.path
>>> import shutil
>>> def copyFiles(sourceDir,targetDir):
for files in os.listdir(sourceDir):
sourceFile = os.path....
分类:
编程语言 时间:
2014-06-14 14:40:17
阅读次数:
283
在多个工程当中,可能使用到相同的jar包,这时,如果我们建立一个自己的类库,该类库中存放着所有工程均需要的jar包,就可以免去重复导入的麻烦。来看一下操作的主要步骤与过程。
Eclipse--->preferences(译偏爱,偏好)---->java-->Build path--->userlibiraries-->new 输入自己命名(这里我创建的是myLibrary),点击add jars...
分类:
系统相关 时间:
2014-06-14 11:00:37
阅读次数:
249