上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 42 下一页
摘要: optional 函数接收任意参数并允许你访问对象上的属性或调用其方法。如果给定的对象为空,属性或方法调用返回 null optional 函数还可以接收一个闭包作为第二个参数,闭包会在第一个参数值不为空的情况下调用: camel_case 函数会将指定的字符串转换成 驼峰式命名: 简介 Larav 阅读全文
posted @ 2019-02-01 17:47 程序生(Codey) 阅读(2853) 评论(0) 推荐(0) 编辑
摘要: 用到过的方法: 获取当前Y-m-d H:i:s 把 Y-m-d H:i:s 转 Y-m-d 把 时间戳 转 Y-m-d H:i:s 获取当前时间戳 取两个Y-m-d H:i:s时间的最小值 取两个Y-m-d H:i:s时间的最大值 返回两个Y-m-d H:i:s时间的天数差 判断一个Y-m-d H: 阅读全文
posted @ 2019-02-01 17:35 程序生(Codey) 阅读(1745) 评论(0) 推荐(0) 编辑
摘要: PHP $_SERVER详解 $_SERVER['HTTP_ACCEPT_LANGUAGE']//浏览器语言 $_SERVER['REMOTE_ADDR'] //当前用户 IP 。 $_SERVER['REMOTE_HOST'] //当前用户主机名 $_SERVER['REQUEST_URI'] / 阅读全文
posted @ 2019-01-27 10:02 程序生(Codey) 阅读(1787) 评论(0) 推荐(0) 编辑
摘要: 1.配置阿里云的镜像加速器:https://cr.console.aliyun.com/#/accelerator 2.命令行登录到阿里云的doker仓库,--username为阿里云的用户名 3.为本地镜像添加tag 4.push到docker仓库 5.登录阿里云查看已上传的镜像列表:https: 阅读全文
posted @ 2018-12-24 23:54 程序生(Codey) 阅读(2139) 评论(0) 推荐(0) 编辑
摘要: php-fpm没有运行 执行如下命令查看是否启动了php-fpm,如果没有则启动你的php-fpm即可 没有运行为空,有运行显示 启动方法 sudo /usr/local/php/sbin/php-fpm //sudo 启动 /usr/local/php/sbin/php-fpm -R //以roo 阅读全文
posted @ 2018-12-23 09:43 程序生(Codey) 阅读(3537) 评论(0) 推荐(0) 编辑
摘要: 出现RTNETLINK answers: File exists 同时出现connect:network is unreachable 和 Determining IP information for eth0... failed; no link present. Check cable? 原因一 阅读全文
posted @ 2018-12-22 21:34 程序生(Codey) 阅读(683) 评论(0) 推荐(0) 编辑
摘要: 删除tag/镜像: 镜像详解:http://www.cnblogs.com/zknublx/p/9299705.html 阅读全文
posted @ 2018-12-22 12:06 程序生(Codey) 阅读(414) 评论(0) 推荐(0) 编辑
摘要: yii2 orwhere andwhere的复杂写法:https://www.codercto.com/a/6513.html 阅读全文
posted @ 2018-12-21 16:05 程序生(Codey) 阅读(536) 评论(0) 推荐(0) 编辑
摘要: https://tool.lu/ 阅读全文
posted @ 2018-12-10 14:47 程序生(Codey) 阅读(106) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_33862644/article/details/81938970 阅读全文
posted @ 2018-10-23 20:43 程序生(Codey) 阅读(1261) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 42 下一页