码迷,mamicode.com
首页 >  
搜索关键字:test    ( 33746个结果
JAVA获取catch中的异常信息
package com.et.zys.test;import java.io.PrintWriter;import java.io.StringWriter;public class UnicodeTest { public static void main(String[] args) { ...
分类:编程语言   时间:2015-05-11 17:25:24    阅读次数:207
php添加文件到压缩文件夹
extension=php_zip.dll注释掉open($filename, ZipArchive::OVERWRITE); $func=dirname(__FILE__)."/test/"; $attachfile = $func."test.txt";//写绝对径,建议用PHP...
分类:Web程序   时间:2015-05-11 14:14:38    阅读次数:164
Error: Expecting keyword 'class', 'interface', or 'enum' before '-optimizationpasses' in line 11 of
执行Maven Install打包的时候,出现以下错误信息: [proguard] Error: Expecting keyword 'class', 'interface', or 'enum' before '-optimizationpasses' in line 11 of file 'F:\Workspaces\pro-test\proguard.conf', [proguard]...
分类:编程语言   时间:2015-05-11 13:02:24    阅读次数:121
在WINDOWS中设置计划任务执行PHP文件
在网上找了些WINDOWS执行PHP的计划任务的方法,有一个写得很全,可惜在我这竟然没通过。最后不得不综合各门派的方法,才能在我这运行成功。1、写一个PHP程序,命名为test.php,内容如下所示:1程序大胆地写,什么includerequire尽管用,都没问题2、新建Bat文件,命名为test....
分类:Windows程序   时间:2015-05-11 12:33:03    阅读次数:167
java 文本文件复制
package test;import java.io.*;public class FileCopy { public static void main(String[] args) throws Exception { File src = new File("C:\\清单13-5.txt")....
分类:编程语言   时间:2015-05-11 12:19:28    阅读次数:120
检测网络连通性并记录时间戳
Test-Connection, 之所以不采用这种方法, 是因为该命令对于丢包返回系统报错, 无法被抓取.$end = [datetime]"2015年4月27日 20:32:20"$start = Get-Date$count = [math]::Round(($end - $start).Tot...
分类:其他好文   时间:2015-05-11 10:23:44    阅读次数:142
PHP之autoload理解
举个例子就可以看懂了:同一目录中有2个文件index.php和test.php,在test.php中定义一个test类。test.php<?phpclass test{ public function __construct() { echo 'hello world';...
分类:Web程序   时间:2015-05-11 10:23:03    阅读次数:118
JavaScript的函数重载
java语言中函数的重载和重写可谓是很重要的概念,所以在写js的时候时不时的会想到这种用法,重写先不说,这里只说重载.. function test(one) { alert("上面"); } function test(one,two) { alert("下面"); } 如上代码,...
分类:编程语言   时间:2015-05-11 10:20:16    阅读次数:123
mysql 插入数据后返回当前的自增ID方法
存储过程的写法:mysql>create procedure test(->in username varchar(50),->in password varchar(50),->out userid int)->begin->set @sql=concat("insert into user(`u...
分类:数据库   时间:2015-05-11 01:23:16    阅读次数:181
tomcat7.0.55配置单向和双向HTTPS连接
HTTPS配置中分为单向连接和双向连接,单向连接只需要服务器安装证书,客户端不需要,双向连接需要服务器和客户端都安装证书一、单向HTTPS连接检查命令行当前工作目录(C:\Users\test\)下的有无.keystore文件,如果有,则删除。先测试两个keytool命令1、keytool -hel...
分类:Web程序   时间:2015-05-11 01:22:47    阅读次数:256
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!