10 2020 档案

摘要:UUIDs in Laravel 7 #laravel #database Cornel VersterMay 16 Updated on Jul 07, 2020 ・4 min read Recently I had to implement Universally unique identifi 阅读全文

posted @ 2020-10-31 00:26 刘应杰 阅读(91) 评论(0) 推荐(0)

摘要:Ubuntu里设置docker容器内的服务随开机自动启动 Arnold-FY-Chen 2020-04-19 16:04:20 2541 收藏 2 分类专栏: Docker 文章标签: docker 版权 要让docker容器内的服务能在开机加电后自动启动,要解决三个问题: 1.docker服务能随 阅读全文

posted @ 2020-10-29 18:24 刘应杰 阅读(6977) 评论(1) 推荐(0)

摘要:如何在 Ubuntu 20.04 上设置或者修改时区 雪梦科技 2020-05-07 21:55:50 浏览1578 云栖社区 ubuntu Image Bash 本文最先发布在:https://www.itcoder.tech/posts/how-to-set-or-change-timezone 阅读全文

posted @ 2020-10-29 18:19 刘应杰 阅读(3132) 评论(0) 推荐(0)

摘要:Docker-compose编排微服务顺序启动 2020-04-24阅读 3510 一、概述 docker-compose可以方便组合多个 docker 容器服务, 但是, 当容器服务之间存在依赖关系时, docker-compose 并不能保证服务的启动顺序。docker-compose 中的 d 阅读全文

posted @ 2020-10-29 13:43 刘应杰 阅读(1477) 评论(0) 推荐(0)

摘要:Ubuntu 20.04 修改字体、调整缩放 归零矩阵 2020-04-24 16:19:32 8229 收藏 7 分类专栏: Ubuntu 文章标签: ubuntu 版权 ubuntu 20.04 已经发布,第一时间安装体验了一把在虚拟机里安装,安装速度明显提升、新增暗黑模式,效果还可以、新增小数 阅读全文

posted @ 2020-10-29 11:50 刘应杰 阅读(4613) 评论(0) 推荐(0)

摘要:How To Upgrade Ubuntu To 20.10 Lubos Rendek Ubuntu 07 October 2020 The new Ubuntu 20.10 is expected to be released on 22 October 2020. However, there 阅读全文

posted @ 2020-10-29 11:41 刘应杰 阅读(263) 评论(0) 推荐(0)

摘要:写给工程师的 Ubuntu 20.04 最佳配置指南 张磊 微信公众号:BaronTalk 347 人赞同了该文章 最近 Ubuntu 发布了 20.04 LTS 版本,我也在第一时间安装体验。由于各种 Linux 发行版本并不像 MacOS、Windows 一样开箱即用,因此需要做很多配置。每次配 阅读全文

posted @ 2020-10-29 10:55 刘应杰 阅读(2037) 评论(0) 推荐(0)

摘要: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)

摘要: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 刘应杰 阅读(611) 评论(0) 推荐(0)

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

posted @ 2020-10-24 11:02 刘应杰 阅读(1322) 评论(0) 推荐(0)

摘要: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)

摘要:如何使用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)

摘要: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 刘应杰 阅读(2105) 评论(0) 推荐(0)

摘要:<?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)

摘要:Run Laravel Scheduler Laradock provides 2 ways to run Laravel Scheduler 1 - Using cron in workspace container. Most of the time, when you start Larado 阅读全文

posted @ 2020-10-12 23:31 刘应杰 阅读(148) 评论(0) 推荐(0)

导航