vi /data/mysql/my.cnfvi /etc/my.cnf1、basedir参数原文说明为:Path to installation directory. All paths are usually resolved relative to this.解释:该参数指定了安装 MySQL ...
分类:
数据库 时间:
2014-10-03 20:04:34
阅读次数:
1376
/**
* 将图片文件原比例缩略,并使其不超过最大宽、高
* @param path : 图片文件
* @param requestW : 缩略后最大宽度
* @param requestH : 缩略后最大高度
* @return 缩略后图片对象
*/
public static Bitmap getThumbnailByReq(String path,int reque...
分类:
移动开发 时间:
2014-10-03 19:51:55
阅读次数:
178
(1)项目导入JAR包:
1、在项目EC或MYec里,将外部jar包拷贝在个libs目录里面。老的项目没有lib目录,活着叫lib,会报错,要改成libs
2、右键点击项目,Bulid Path->Configure Build Path
3、在设置Libraies项,选择刚才的位置添加jar包。
3、在Order and Export项里,将外部jar包选中。(很...
分类:
移动开发 时间:
2014-10-03 16:46:04
阅读次数:
230
在命令行中使用sublime打开所在路径的文件,将sublime的安装目录加入到系统的环境变量PATH中,命令行中运行:可以用sublime打开所在路径的文件:2.将安装目录C:\Program Files\Sublime Text 2中的sublime_text.exe文件复制到C:\Window...
分类:
其他好文 时间:
2014-10-03 14:21:54
阅读次数:
180
Spell checker
Time Limit: 2000MS Memory Limit: 65536K
Total Submissions: 19319 Accepted: 7060
Description
You, as a member of a development team for a new spell checking program, are to write a ...
分类:
其他好文 时间:
2014-10-03 11:38:14
阅读次数:
236
Problem Description
The light travels in a straight line and always goes in the minimal path between two points, are the basic laws of optics.
Now, our problem is that, if a branch of light goes...
分类:
其他好文 时间:
2014-10-03 04:12:15
阅读次数:
162
http://www.cnblogs.com/zhj5chengfeng/archive/2013/01/01/2841253.html%Java_Home%\bin;%Java_Home%\jre\bin; 这个是加在path变量前面的path变量本来前面的%SystemRoot%\system3...
分类:
编程语言 时间:
2014-10-03 02:49:53
阅读次数:
210
1.获取python模块路径import osprint os.path.dirname(Modulename.__file__)2.查看帮助查看python所有的modules:help("modules")单看python所有的modules中包含指定字符串的modules: help("mod...
分类:
编程语言 时间:
2014-10-03 01:16:43
阅读次数:
241
一:首先从 opencv官网上下载opencv2.4.9二:解压 opencv到目标路径:D:\Program Files\opencv (该路径可以自己更改,但路径中不要包含中文)三:配置用户变量和系统变量64位配置:新建用户变量 opencv添加path变量:添加系统变量:32位配置:和64 位...
问题一:Response.Write 后连接Response.Redirect ,则Response.Write无法显示,直接跳转入Response.Redirect 的页面。解决方案:Response.Write("");假设,script内容中含有变量,那么解决方法是:string a=当前的记...
分类:
其他好文 时间:
2014-10-02 22:33:53
阅读次数:
221