摘要: 一、常用命令: git merge 另一分支名 //在当前分支下,合并另一分支 git checkout 另一分支名 //在当前分支下,检出到另一分支 git pull origin 分支名 //在当前分支下,拉取origin上的代码 git push origin 分支名 //在当前分支下,提交代 阅读全文
posted @ 2017-02-20 10:24 Aaronqcd 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 一、遇到的问题: 1.报以下的错误: with message 'mkdir(): Permission denied 解决方案:在htdocs目录下执行 chmod 777 项目目录名 切换到项目目录名下,再执行 chmod -R 777 * 阅读全文
posted @ 2017-02-19 22:43 Aaronqcd 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 一、laravel问题 1.常使用的命令: (1).artisan常用命令: php artisan key:generate //设置程序密钥 /*If you have PHP installed locally and you would like to use PHP's built-in 阅读全文
posted @ 2017-02-18 10:59 Aaronqcd 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 1.ubuntu安装xampp: 参考网站:http://blog.163.com/wspjing@126/blog/static/117720534201310290102170/ 其中设置开机启动xampp,需要参考下面的网站: http://blog.csdn.net/dinofish/art 阅读全文
posted @ 2016-11-24 21:58 Aaronqcd 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 1.需要汇总同一用户的资金,还要根据这些资金的类型进行分类统计: 使用案例: select cms.uid,sum(cms.money) 总支出,sum(case when cms.change_type='7' then cms.money else 0 end) as 激活用户,sum(case 阅读全文
posted @ 2016-11-21 21:53 Aaronqcd 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 一、xampp mac apache 无法启动: 参考解决方案: 1.查看端口是否被占用 sudo lsof -i -n 2.用终端运行xampp,查看具体的错误 sudo su /Applications/XAMPP/xamppfiles/xampp start 多半是这个问题: XAMPP: S 阅读全文
posted @ 2016-11-06 17:19 Aaronqcd 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 标题: 一、第1章 Spring之旅 1.Spring四种关键策略 2.Spring IOC依赖注入简单例子 3.Spring AOP基本概念 4.Spring AOP简单应用 5.Spring SimpleJdbcTemplate简单例子 6.Spring 容器 7.Spring 三种常见的应用上 阅读全文
posted @ 2016-10-27 11:43 Aaronqcd 阅读(187) 评论(0) 推荐(0) 编辑
摘要: #在mac上用phpstorm里debug调试php## 背景最近为了完成某个需求,在看`smarty`源码,当我尝试直接看,痛苦的快吐血,工欲善其事必先利器,虽然之前一直使用phpstorm调试nodejs,但是还没有用phpstorm来debug过php。## 建议先看看这个:PhpStorm 阅读全文
posted @ 2016-10-16 01:33 Aaronqcd 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 1.hibernate 原生sql查询问题: 1 public void getNurseStatInfo() { 2 String sql = "select 'col018' id,count(*) count from PHC_RECORD_CARD t where t.phc_model_d 阅读全文
posted @ 2016-09-09 14:12 Aaronqcd 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 1.需要为IUSR用户配置权限,让IUSR能完全控制项目的根目录 参考网站: https://gearhost.zendesk.com/hc/en-us/articles/200342205-How-to-give-write-access-to-files-for-IUSR http://www. 阅读全文
posted @ 2016-06-12 22:36 Aaronqcd 阅读(583) 评论(0) 推荐(0) 编辑