上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 71 下一页

2020年10月29日

摘要: ubuntu 20.04 设置静态ip方法 1. 前言 本教程将会演示如何设置Ubuntu16.04 Server版和Ubuntu18.04 Server版系统的静态固定IP地址。 2. 确认你要修改的网卡号 先确认你要修改的网卡号,假设你的服务器有多张网卡: 1 ubuntu2004:~$ ip 阅读全文
posted @ 2020-10-29 10:35 刘应杰 阅读(4518) 评论(1) 推荐(1)

2020年10月26日

摘要: Easier Date/Time in Laravel and PHP with Carbon PHPLaravel By Chris On Code PostedSeptember 15, 2020 25kviews While this tutorial has content that we 阅读全文
posted @ 2020-10-26 18:17 刘应杰 阅读(93) 评论(0) 推荐(0)
摘要: 日期时间处理包 Carbon 15819 / 6 / 发布于 2年前 / 安装 由于 Laravel 框架已经默认安装了 Carbon 包,所以不用安装。如果其他项目需要使用 Carbon 可以执行如下命令安装。 composer require nesbot/carbon 使用 直接通过 use 阅读全文
posted @ 2020-10-26 18:15 刘应杰 阅读(266) 评论(0) 推荐(0)
摘要: 日期序列化受影响可能性:高 在 Eloquent 模型上使用 toArray 或 toJson 方法时,Laravel 7 将使用新的日期序列化格式。为了格式化日期以进行序列化,Laravel 将会使用 Carbon 的 toJSON 方法,该方法将生成与 ISO-8601 兼容的日期,包括时区信息 阅读全文
posted @ 2020-10-26 08:45 刘应杰 阅读(610) 评论(0) 推荐(0)

2020年10月24日

摘要: Laravel API 错误处理:当异常时,如何返回消息 原文链接:learnku.com/laravel/t/3…讨论请前往专业的 Laravel 开发者论坛:learnku.com/Laravel 基于 API 的项目开发越来越受欢迎,并且使用 Laravel 就能很容易实现。但是在针对如何处理 阅读全文
posted @ 2020-10-24 11:02 刘应杰 阅读(1322) 评论(0) 推荐(0)

2020年10月23日

摘要: Laravel API Errors and Exceptions: How to Return Responses February 13, 2019 API-based projects are more and more popular, and they are pretty easy to 阅读全文
posted @ 2020-10-23 23:00 刘应杰 阅读(148) 评论(0) 推荐(0)

2020年10月17日

摘要: 如何使用parted对齐分区以得到最优性能 svdata 2015-04-02 10:26:30 9425 收藏 3 分类专栏: Linux基础 运维 来源地址: http://rainbow.chard.org/2013/01/30/how-to-align-partitions-for-best 阅读全文
posted @ 2020-10-17 08:08 刘应杰 阅读(909) 评论(0) 推荐(0)

2020年10月16日

摘要: Laravel Faker 使用技巧 2895 / 1 / 发布于 1年前 / 资料分享GitHub : https://github.com/fzaninotto/Faker Laravel 中获取 Faker 实例 $faker = app(Faker\Generator::class); 使用 阅读全文
posted @ 2020-10-16 21:07 刘应杰 阅读(248) 评论(0) 推荐(0)
摘要: parted创建磁盘分区并创建LVM(Linux合并多块大于2T的磁盘并合并到一个分区) likemebee 2019-01-02 18:28:00 2619 收藏 3 分类专栏: linux运维 版权 一. 前言 由于本人会负责一些公司运维工作,在服务器需要挂载大容量磁盘时了解到lvm和parte 阅读全文
posted @ 2020-10-16 11:59 刘应杰 阅读(2101) 评论(0) 推荐(0)

2020年10月15日

摘要: <?php namespace Faker; /** * @property string $name * @method string name(string $gender = null) * @property string $firstName * @method string firstN 阅读全文
posted @ 2020-10-15 20:40 刘应杰 阅读(369) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 71 下一页

导航