摘要: 1 /** 2 * 验证手机号. 3 * 4 * @param phone the phone 5 * @return true, if successful 6 */ 7 public static boolean isPhon... 阅读全文
posted @ 2015-11-12 17:42 下一个雨季~ 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 添加、修改、删除字段/** 添加字段 **/ALTER TABLE table_name ADD field type DEFAULT NULL;/** 修改字段 **/ALTER TABLE table_name CHANGE old_field new_field new_type;/** 删除... 阅读全文
posted @ 2015-09-16 18:05 下一个雨季~ 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1、引入jar包,3.8 1 2 org.apache.poi 3 poi 4 ${poi.version} 5 6 7 org.apache.poi 8 poi-ooxml 9 ${poi.version}10 2、Excel单元格参数类定义E... 阅读全文
posted @ 2015-09-15 21:11 下一个雨季~ 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 在git clone的项目根目录下面有一个.gitignore文件编辑.gitignore文件,添加你想要忽略提交的文件忽略文件夹:.settings/target/忽略文件:*.project*.classpath 阅读全文
posted @ 2015-09-15 16:31 下一个雨季~ 阅读(1850) 评论(0) 推荐(0) 编辑
摘要: 下载msysgithttp://msysgit.github.io/git命令行下载TortoiseGithttps://tortoisegit.org/download/git客户端全部安装完成后,右键git clone你想要拉下来的项目地址,如果客户端不好用(clone好久没反应),可以试试命令... 阅读全文
posted @ 2015-09-15 16:26 下一个雨季~ 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 1 public void download(HttpServletResponse response){ 2 //读取一个classpath路径下的一个预下载文件 3 org.springframework.core.io.Resource res = new C... 阅读全文
posted @ 2015-09-14 15:52 下一个雨季~ 阅读(896) 评论(0) 推荐(0) 编辑
摘要: 1、安装make命令: [root@localhost mongodb]# yum install make -y2、安装gcc编译器 [root@localhost mongodb]# yum install gcc -y3、安装gcc-c++编译器 [root@localhos... 阅读全文
posted @ 2014-02-21 17:25 下一个雨季~ 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 1、下载安装包mongodb-linux-x86_64-2.2.4.tar(我的虚拟机是64位的),上传到/usr/local/目录下2、解压文件: [root@localhost local]# tar zxvf mongodb-linux-x86_64-2.2.4.tar3、重命名: ... 阅读全文
posted @ 2014-02-21 17:06 下一个雨季~ 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Dispatch.invoke(doc, "SaveAs", Dispatch.Method, new Object[]{docPath, new Variant(8)}, new int[1]);new Variant(8)代表将word文档另存为htm,new Variant()传入的参数不同转... 阅读全文
posted @ 2014-01-07 17:29 下一个雨季~ 阅读(667) 评论(0) 推荐(0) 编辑