git常用命令汇总

git常用命令汇总 1.列出所有本地分支 git branch 2.列出所有远程分支 git branch -r 3.列出所有本地分支和远程分支 git branch -a 4.新建一个分支,但依然停留在当前分支 git branch [branch-name]...
Centos安装MySQL5.7填坑小记

由于项目需要,Centos6.5环境下的Mysql需要升级到5.7版本,中间遇到的一些坑You could try using --skip-broken to work around the problem; You could try running: rpm -Va --nofiles --nodigest;Unknown column 'password' in 'field list';You must reset your password using ALTER USER statemen...
Windows系统安装多个版本JDK后使用时的版本切换

在开发的Windows系统上,已安装了jdk1.7.0_80版本,由于项目的需要(具体原因不详细描述了),需要使用jdk1.8版本,旧项目不能升级JDK,需要1.7版本。于是在切换jdk1.7和jdk1.8之间出现了一些小障碍,下面描述出来做个记录。具体操作和描述如下...
在Centos下用alternatives命令切换JDK版本

Centos自带了openJDK,且有好几个版本,用alternatives命令就可以切换版本;然,新项目需要jdk1.8,于是从官网下载了jdk-8u144-linux-x64.tar.gz进行安装;tar解压到/usr/local/smartCms/java/下一步,将新装的JDK版本登记到alternatives里面...
程序员安装 Wife 1.0以后

一个项目两部电脑每日三餐盒饭只为四千工资搞得五脏俱损六神无主仍然七点起床八点开会处理九个漏洞十分辛苦, 十个项目九个填坑纵得八方支援难免七窍生烟六神无主五更下班四季如此三年绝顶二目发昏终将一命呜呼...
PHP缓存技术的总结

PHP常用的缓存技术汇总:全页面静态化缓存、页面部分缓存、数据缓存、查询缓存、按内容变更进行缓存、内存式缓存、apache缓存模块、php APC缓存扩展、Opcode缓存...
PHP获取通过windows系统命令wmic获取MAC地址、CPU序列号、主板序列号

Windows系统下使用wmic命令查看硬件信息 1、查询网卡信息:wmic nicconfig get macaddress 2、查询cpu序列号:wmic cpu get processorid 3、查询主板序列号:wmic baseboard get serialnumber 4、查询BIOS序列号:wmic bios get serialnumber...
Ajax跨域访问解决方案

No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.Ajax跨域访问解决方案...
PHP删除空目录及空子目录方法

删除空目录及空子目录方法(借鉴)...
CentOS6 使用composer install 报错 dom is missing

CentOS6 PHP7.0 使用composer install 报错 the requested PHP extension dom is missing from your system...