摘要: Install commitlint Install husky npm install --save-dev husky This allows us to add git hooks directly into our package.json via the husky.hooks field 阅读全文
posted @ 2019-03-29 18:03 伍声2016 阅读(1826) 评论(0) 推荐(0) 编辑
摘要: px:绝对单位,页面按精确像素展示 em:相对单位,基准点为父节点字体的大小,如果自身定义了font-size按自身来计算(浏览器默认字体是16px),整个页面内1em不是一个固定的值。 rem:相对单位,可理解为”root em”, 相对根节点html的字体大小来计算,CSS3新加属性,chrom 阅读全文
posted @ 2018-08-02 11:23 伍声2016 阅读(82) 评论(0) 推荐(0) 编辑
摘要: VMware虚拟机中的CentOS7安装Nginx后本机无法访问的解决办法 在虚拟机centos7上安装nginx之后虚拟机内能访问,真机不能访问,修改iptables配置也不起作用,最后上网查找了资料后才发现centos的防火墙改成了firewall,不再叫iptables,开放端口的方法如下: 阅读全文
posted @ 2018-05-06 16:21 伍声2016 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 新建vi /lib/systemd/system/nginx.service在nginx.service文件 [Service]Type=forkingExecStart=/usr/local/nginx/sbin/nginxExecReload=/usr/local/nginx/sbin/ngin 阅读全文
posted @ 2018-05-06 13:42 伍声2016 阅读(197) 评论(0) 推荐(0) 编辑
摘要: nginx下载地址:http://nginx.org/en/download.html 一、安装依赖软件 yum -y install gcc gcc-c++ autoconf automake make yum -y install zlib zlib-devel openssl openssl- 阅读全文
posted @ 2018-05-06 12:20 伍声2016 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 1.虚拟机环境下centos的防火墙可以关闭,否则主机调用虚拟机的相关服务时需要调整相应端口: CentOS7: systemctl stop firewalld.service #停止systemctl disable firewalld.service #禁用之前的版本:service ipta 阅读全文
posted @ 2018-05-04 19:01 伍声2016 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 1、配置YUM源 下载mysql源安装包 shell> wget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm 安装mysql源 shell> yum localinstall mysql57-communit 阅读全文
posted @ 2018-05-04 18:14 伍声2016 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 1.VMware 2017 v14.x 永久许可证激活密钥 FF31K-AHZD1-H8ETZ-8WWEZ-WUUVA CV7T2-6WY5Q-48EWP-ZXY7X-QGUWD 2. VMware 安装Centos 7 https://blog.csdn.net/guo_ridgepole/art 阅读全文
posted @ 2018-05-03 16:11 伍声2016 阅读(65) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/risingsun001/article/details/37934975 阅读全文
posted @ 2018-02-27 17:12 伍声2016 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 微营销: https://hdm.faisco.cn/ webpack中文:https://doc.webpack-china.org/ 618插件网:http://618cj.com/ weex: http://jspang.com/ 阅读全文
posted @ 2018-01-11 16:28 伍声2016 阅读(90) 评论(0) 推荐(0) 编辑