摘要:
Haproxy下载地址:http://pan.baidu.com/share/link?shareid=1787182295&uk=1829018343 也可用wget http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.24.tar.gz [r... 阅读全文
摘要:
Optipng 是专门的 PNG 图像优化工具。 支持WINODWS、LINUX 地址:http://optipng.sourceforge.net/ 另:jpegoptim 优化 jpeg 图片 地址:http://freecode.com/projects/jpegoptim 阅读全文
摘要:
yum install -y apr-devel openssl-devel gcc 安装native cd /lxyy/tomcat7/bin tar zxvf tomcat-native.tar.gz cd tomcat-native-1.1.27-src/jni/native... 阅读全文
摘要:
下载地址:http://pan.baidu.com/share/link?shareid=1894002026&uk=1829018343 这里出现第一步引导 这里出现第二步引导 这里出现第三步引导 阅读全文
摘要:
官方地址:http://www.lingala.net/zip4j/(需要FQ) jar包:http://pan.baidu.com/s/145hwI 演示包:http://pan.baidu.com/s/1vbFIB 一、压缩 1、标准压缩 ZipFile zipFile = new ZipF... 阅读全文
摘要:
vi /etc/yum.repos.d/MariaDB.repo 加入下面内容 [mariabd]name=MariaDBbaseurl=http://yum.mariadb.org/5.5.34/centos6-amd64/gpgkey=http://yum.mariadb.org/RPM-GPG... 阅读全文
摘要:
Properties myProperty = new Properties();String jdbcPath = PathKit.getWebRootPath()+File.separator+"WEB-INF"+File.separator+"classes"+File.separator... 阅读全文
摘要:
File f = new File(save_path+File.separator + resouce_id+".zip"); FileInputStream fis = new FileInputStream(f); String resource... 阅读全文
摘要:
在JAVA7中提供了新的遍历文件的方法,比原有File类的递归遍历效率要好大约30%左右。 测试结果: 测试用的File类的递归,是经过对比测试几种方法,找出相对效率较好的来和JAVA7进行测试。 1、12749个文件夹,83805个文件,大小43.5 GB JAVA7:执行耗时 1.15 秒。 F... 阅读全文
摘要:
效率非常不错 测试结果: 1、list1中有97277条数据,list2中有37894条数据,两个list进行对比找出不同的数据共60000条左右,用时:0.051秒 2、list1中有97277条数据,list2中有97067条数据,两个list进行对比找出不同的数据共288条,用时:0.06秒 ... 阅读全文