摘要: 查询是否使用代理:git config --global http.proxy 取消代理:git config --global --unset http.proxy 阅读全文
posted @ 2018-10-24 16:16 isafer_wilson 阅读(103) 评论(0) 推荐(0) 编辑
摘要: <?php $shell = "ls -la"; exec($shell, $result, $status); $shell = "<font color='red'>$shell</font>"; echo "<pre>"; if( $status ){ echo "shell命令{$shell 阅读全文
posted @ 2018-10-18 21:20 isafer_wilson 阅读(276) 评论(0) 推荐(0) 编辑
摘要: //public {{--内容区--}}@section("admin")@show{{--内容区--}} //extends @extends("Admin.AdminPublic.admin_public")@section("admin") 代码 @endsection@section("ti 阅读全文
posted @ 2018-10-17 17:23 isafer_wilson 阅读(1429) 评论(0) 推荐(0) 编辑
摘要: git rm -r --cached ./ git config core.autocrlf false git add ./ 阅读全文
posted @ 2018-10-17 16:44 isafer_wilson 阅读(288) 评论(0) 推荐(0) 编辑
摘要: namespace App\Http\Controllers\SecKill; use App\Http\Controllers\Controller;use Exception;use Illuminate\Support\Facades\DB;use Illuminate\Support\Fac 阅读全文
posted @ 2018-10-17 15:08 isafer_wilson 阅读(1537) 评论(0) 推荐(0) 编辑
摘要: public function getphone(){ header("Content-type:text/html; charset=utf-8"); $user_agent = $_SERVER['HTTP_USER_AGENT'];//返回手机系统、型号信息 if(stristr($_SERV 阅读全文
posted @ 2018-10-16 15:55 isafer_wilson 阅读(284) 评论(0) 推荐(0) 编辑
摘要: <a onclick="clickIncrement()" href="javascript:void(0);">+</a> <script type="text/javascript"> var this_timer_id = null;function clickIncrement(){ if( 阅读全文
posted @ 2018-10-16 13:27 isafer_wilson 阅读(260) 评论(0) 推荐(0) 编辑
摘要: composer install --ignore-platform-reqs 阅读全文
posted @ 2018-10-10 10:39 isafer_wilson 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 一 ,导入 方法一: 1.将本地的sql文件上传至服务器 比如:命名为 mydbl.sql ,放置路径为 /home/mydbl.sql [root@develop ~]# mysql -uroot -p Enter password: 然后进入该数据库中: mysql> use 数据库名字 2.执 阅读全文
posted @ 2018-09-29 13:19 isafer_wilson 阅读(103) 评论(0) 推荐(0) 编辑
摘要: Redis缓存清理 1.访问redis根目录 cd /usr/local/redis-2.8.19 2.进入src/redis-cli cd src/redis-cli 3.执行:dbsize //用于返回当前数据库的 key 的数量。 4.执行:flushall //清空所有缓存 5.执行:exi 阅读全文
posted @ 2018-09-20 11:46 isafer_wilson 阅读(121) 评论(0) 推荐(0) 编辑