adb常用基本命令如下: adb devices 列出你的devices aapt dump badging <file_path.apk> 查看包名 adb logcat 查看logcat日志 adb logcat > 路径\文件名 将日志存储到相应路径下的文件里 adb kill-server ...
分类:
数据库 时间:
2016-12-09 18:59:25
阅读次数:
280
目前在用的是社区版的infobright,不支持DML功能,只能用LOADDATA方式导入数据。如果元数据中有特殊控制字符,导入过程中经常会报错,很是恼火。应对策略有两种方法:设置RejectFile导入之前,设定@BH_REJECT_FILE_PATH和@BH_ABORT_ON_COUNT就可以忽略多少条导入失败的记录,并..
分类:
其他好文 时间:
2016-12-06 23:23:39
阅读次数:
203
groupaddwwwuseradd-gwww-s/sbin/nologin-Mwwwyuminstall-yfreetype-devellibxml2libxml2-developensslopenssl-develcurl-devellibjpeglibjpeg-devellibpnglibpng-devel./configure--prefix=/usr/local/php--with-config-file-path=/usr/local/php/etc--enable-fpm--with-fpm-u..
分类:
Web程序 时间:
2016-12-05 23:45:04
阅读次数:
216
1. 环境配置 1.1 hiberante环境配置 hibernate可实现面向对象的数据存储。hibernate的官网:http://hibernate.org/ 官网上选择hibernate ORM,可以下载最新的hibernate,还有配套的document教程 http://docs.jbo ...
分类:
Web程序 时间:
2016-12-04 20:50:53
阅读次数:
189
Time Complexity: O(N) The depth of the directory/file is calculated by counting how many "\t"s are there.The time complexity is O(n) because each subs ...
分类:
其他好文 时间:
2016-11-30 07:47:50
阅读次数:
187
官网:http://www.zabbix.com/安装php在编译php的时候注意两个模块mysqlnd、bcmath./configure--prefix=/usr/local/php--with-apxs2=/usr/local/apache2/bin/apxs--with-config-file-path=/usr/local/php/etc--with-libxml-dir--with-gd--with-jpeg-dir--with-png-dir--with-fr..
分类:
其他好文 时间:
2016-11-24 22:23:01
阅读次数:
285
1. du -sm * | sort -n 把当前目录下的文件(或目录)按大小排序,看下哪个地方占用最多; 2. pwd 获取当前目录路径 3. tail -f $file_path 显示文件最后几行内容 4. pgrep $process_name 获取进程ID 5. ps -ef|grep $p ...
分类:
系统相关 时间:
2016-11-23 23:21:54
阅读次数:
275
题目如下: 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 di ...
分类:
其他好文 时间:
2016-11-22 23:24:39
阅读次数:
287
<?php //**************第一种读取方式***************************** 代码如下: header("content-type:text/html;charset=utf-8"); //文件路径 $file_path = "text.txt"; //判断是 ...
分类:
Web程序 时间:
2016-11-21 19:13:12
阅读次数:
182
./configure --prefix=/usrc/share/php--with-apxs2=/usr/share/apache2/bin/apxs--with-config-file-path=/usr/share/php/etc --with-mysql=/usr/share/mysql-- ...
分类:
Web程序 时间:
2016-11-15 07:50:00
阅读次数:
170