backup

1.垂直居中      http://zhaobinglong.github.io/css-center/    http://www.ruanyifeng.com/blog/2015/07/flex-grammar.html

2.敏捷开发,bug级别划分

3.bash构建,设计模式

4.git reset  revoke rebase 区别

 

 

 

vue -validator

规则

• required: 是否是必须的 • pattern: 正则表达式 • minlength: 最小长度 • maxlength: 最大长度 • min: 最小值 • max: 最小值

 

文档

http://www.vue-js.com/topic/57c394a1449605a028a5ca59

 

 

 

 

 

常用命令

 

putao1111   密码wo1q2w3e  

 

 https://wsgzao.github.io/post/fq/  FQ

 

启动虚拟机web服务

sudo service httpd start

sudo service nginx start

 

连服务器

ssh root@172.1.40.217 密码klg  (konglinggang简写)  

 

chown -R 用户  test-php 赋予用户某个文件夹的权限

 

 

linux 命令

 

ssh root@172.16.2.3

 

sudo dscacheutil -flushcache  清除DNS缓存

 

 

tail -f /tmp/php_error.log  查看服务器日志

tail -f /var/log/nginx/*

tail -f /var/log/httpd/*

 

 

 

服务器配置

/etc/httpd/conf.d/httpd-vhosts.conf

/etc/nginx/conf.d/upstream.conf

 

禁用服务器缓存

/etc/httpd/conf/httpd.conf

/etc/nginx/nginx.conf

 

(sendfile)

 

rm .git/index

git reset —hard  origin/master

git checkout -b branch origin/branch

ln -s /home/u8qyer/project/fe-m-zworld/page  m

 

wget http://noah.2b6.me/noah_deploy/deploy_noah.sh

 

 

 

 

 

 

 

 

 

 

posted @ 2016-09-02 10:25  三剑客  阅读(273)  评论(0编辑  收藏  举报