innodb表空间的扩展: 在配置共享表空间的情况下,mysql数据目录下会有一个文件ibdata1,而且随着数据的增多,持续增加, 数据库的删除操作并不会缩减ibdata1的容量。 这是由于my.cnf的配置: innodb_data_file_path = ibdata1:10M:autoext ...
分类:
数据库 时间:
2016-09-24 11:58:36
阅读次数:
137
1. 文件相关 1.1 判断目录是否存在 public static boolean dictionaryExist(String path) { File file = new File(path); if (file.exists() && file.isDirectory()) { retur ...
分类:
编程语言 时间:
2016-09-23 16:34:11
阅读次数:
239
Php编译安装1.解压缩php包2.编译参数./configure--prefix=/usr/local/lnm--witconfig-file-path=/usr/local/lnmp/php/etc--with-mysql--with-mysqli--with-pdo-mysql--enable-mysqlnd--with-openssl--with-snmp--with-gd--with-zlib--with-curl--with-libxml-dir--with-png-dir..
分类:
Web程序 时间:
2016-09-19 22:49:55
阅读次数:
422
./configure后面的参数来源于:http://www.tuicool.com/articles/ZJfYzyF ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --enable-fp ...
分类:
Web程序 时间:
2016-09-01 01:59:41
阅读次数:
494
Suppose we abstract our file system by a string in the following manner: The string "dir\n\tsubdir1\n\tsubdir2\n\t\tfile.ext" represents: The director ...
分类:
其他好文 时间:
2016-08-26 06:40:19
阅读次数:
384
Leetcode算法比赛题目之:Longest Absolute File Path 原文链接:https://leetcode.com/contest/1/problems/longest-absolute-file-path/ 图片格式: Java算法实现 ...
分类:
编程语言 时间:
2016-08-21 15:14:47
阅读次数:
583
Linux版本:CentOS6.7内核版本:2.6.32-573.el6.x86_64PHP版本:5.4.37创建用户php-fpm:#useradd-s/sbin/nologinphp-fpm配置编译参数:#cdphp-5.4.37#./configure\--prefix=/usr/local/php\--with-config-file-path=/usr/local/php/etc\--enable-fpm\--with-fpm-user=php-fpm\-..
分类:
Web程序 时间:
2016-08-19 22:39:20
阅读次数:
232
private void shangchuan(){ //文件的路径 //File file=new File(path); File file=new File(Environment.getExternalStorageDirectory()+"/dd.mp4"); //File file=ne ...
分类:
Web程序 时间:
2016-08-19 17:29:43
阅读次数:
215
/** * 通过w3c方式 读取xml内容 * @param lablenames 要读取的节点名称 * @param file_path_name 文件绝对路径 * @return */ public static WebMagic readXML(List<String> lablenames, ...
分类:
其他好文 时间:
2016-08-18 11:17:35
阅读次数:
149