摘要: 1. 根据端口号找进程 : netstat -lnp | grep 8080 2. 压缩文件: zip 压缩文件名 源文件 3. 压缩目录: zip -r 压缩文件名 源目录 阅读全文
posted @ 2016-03-30 10:37 yanying12138 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 1. 请求顺序 : index.php --> Bootstrap.php --> IndexController.php 2. 验证顺序 : 阅读全文
posted @ 2016-03-25 15:45 yanying12138 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 今天运行语句 select * from order; 出现bug: ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server ve 阅读全文
posted @ 2016-03-24 09:43 yanying12138 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1. sudo apt-get install zend-framework /usr/share/php/libzend-framework-php 2. 配置include_path /etc/php5/conf.d下的zend-framework.ini, 将include_path前的分号去 阅读全文
posted @ 2016-03-23 14:29 yanying12138 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 1. 安装nginx : sudo apt-get install nginx 2. 写conf : /etc/nginx/conf.d 或者 /etc/nginx/sites-avaliable 3. host部署 : /etc sudo vi hosts 4. 重启nginx : sudo se 阅读全文
posted @ 2016-03-23 09:04 yanying12138 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 1. 登陆 : mysql -uroot -proot 2. 查看数据库: show database; 3. 查看表: show tables; 4. 当前选择的库状态:SELECT DATABASE(); 5. 显示数据表字段:describe 表名; 6. 数据库操作 添加:INSERT IN 阅读全文
posted @ 2016-03-22 11:06 yanying12138 阅读(111) 评论(0) 推荐(0) 编辑
摘要: http://www.runoob.com/php/php-datatypes.html php 学习网站 : http://www.phpfans.net/ 阅读全文
posted @ 2016-03-21 13:46 yanying12138 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 1. source /home/susie ...../**.sql 2. \. /home/susie/.../**.sql 批量导入.sql文件 首先新建一个main.sql,然后在main.sql文件里面这么写: source C:/sql/1.sql;source C:/sql/2.sql; 阅读全文
posted @ 2016-03-21 12:20 yanying12138 阅读(443) 评论(0) 推荐(0) 编辑
摘要: 正则检测网址: http://regexpal.isbadguy.com/ (不包含界定符) 或 http://tool.chinaz.com/regex unicode转换工具 : http://tool.chinaz.com/tools/unicode.aspx 1. 概述 2. 元字符 : 定 阅读全文
posted @ 2016-03-17 15:25 yanying12138 阅读(152) 评论(0) 推荐(0) 编辑
摘要: var timeBtnClick = (function() { function _todayClick() { $('.select-time .today').on('click', function() { $('#export-date-start-time').val(countDate.getDate(0)); ... 阅读全文
posted @ 2016-03-17 14:44 yanying12138 阅读(720) 评论(0) 推荐(0) 编辑