摘要: 1:创建一个要提交的文件2 git init 初始化 3 git remote add origin https://github.com/maohongli/cang.git 建立远程连接4 git status5 git add -A 创建6 git commit -m "是" 7 git pu 阅读全文
posted @ 2019-07-10 17:12 php毛宏历的博客 阅读(330) 评论(0) 推荐(0) 编辑
摘要: function lst(){ //定义大小王 $arr=[501,502]; for ($i=100;$i<=400;$i+=100){ $arr=array_merge($arr,range($i+1,$i+13)); } $mon=[[],[],[],[]]; //54张牌发给4个人 每人13 阅读全文
posted @ 2019-07-09 17:08 php毛宏历的博客 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 1安装依赖包yum -y install gcc gcc-c++ autoconf automake yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel 2安装Gityum install git 3 安装clon 阅读全文
posted @ 2019-07-09 17:05 php毛宏历的博客 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 1.vim /etc/my.cnf[mysqld]skip-grant-tables ##追加此行,跳过权限表, 2.重启mysqlsystemctl restart mysqld 3.mysql 登陆mysqlmysql> use mysql;mysql> UPDATE user SET Pass 阅读全文
posted @ 2019-07-01 17:24 php毛宏历的博客 阅读(1884) 评论(0) 推荐(0) 编辑
摘要: 注意事项:1. 卸载yum MYSQLsystemctl status mysqlsystemctl stop mysqlsystemctl disable mysqld rpm -qa | grep -i mysqlyum remove mysql-community-server-5.6.40- 阅读全文
posted @ 2019-07-01 17:24 php毛宏历的博客 阅读(208) 评论(0) 推荐(0) 编辑
摘要: linux memcached安装yum -y install libevent libevent-deve yum list memcached yum -y install memcached memcached -h systemctl enable memcached.service vim 阅读全文
posted @ 2019-07-01 17:23 php毛宏历的博客 阅读(162) 评论(0) 推荐(0) 编辑
摘要: linux装软件方式: systemctl status firewalld.service 查看防火墙systemctl stop firewalld.service systemctl disable firewalld.service 开机 防火墙 不自启 ###Nginx#######安装篇 阅读全文
posted @ 2019-07-01 17:21 php毛宏历的博客 阅读(822) 评论(0) 推荐(0) 编辑
摘要: <td><input type="checkbox" name="check" value="{$vo.id}">{$vo.id}</td> <input type="button" class="yes" value="全選"> <input type="button" class="no" va 阅读全文
posted @ 2019-07-01 17:19 php毛宏历的博客 阅读(173) 评论(0) 推荐(0) 编辑
摘要: //批量刪除 阅读全文
posted @ 2019-07-01 17:18 php毛宏历的博客 阅读(294) 评论(0) 推荐(0) 编辑
摘要: //控制器function show(Request $request){ $page=$request->page?$request->page:1; $size=4; $pian=($page-1)*$size; $sql=DB::select("select * from scores "); 阅读全文
posted @ 2019-07-01 17:15 php毛宏历的博客 阅读(212) 评论(0) 推荐(0) 编辑