APP 偏多,记录记录申请的证书时间
2022-10-19 类型 Apple Development xr
2022-10-19 类型 Apple Distribution !xr
Id 申请记录
2020-08-18 pro.xiangrong.wallet
2021-02-01 pro.xiangrong.yuepaibao
2022-10-18 pro.xiangrong.xiaoqubao
profiles
2022-10-19 xiaoqubao/yuepaibao
2022-10-19 类型 Apple Development xr
2022-10-19 类型 Apple Distribution !xr
2020-08-18 pro.xiangrong.wallet
2021-02-01 pro.xiangrong.yuepaibao
2022-10-18 pro.xiangrong.xiaoqubao
2022-10-19 xiaoqubao/yuepaibao
美团 cps 饿了么 cps
https://blog.csdn.net/m0_56572731/article/details/115391291
使用 laravel 开发项目的时候, artisan 是个好东西。这个好东西是真的好。在做 command 的时候,您可以方便的输出想要的内容在终端上,比如警告,错误,选择等等。这是因为 command 它继承了Command 类,该类使用了 trait Illuminate\Console\Concerns\InteractsWithIO。而它最终实现了 Symfony\Component\Console\Output\OutputInterface 。 Symfony\Component\Console\Output\ConsoleOutput 是 cli output 的源头类。 只要我们做好 Symfony\Component\Console\Output\ConsoleOutput 的文章,不也可以输出吗。
ConsoleOutput is the default class for all CLI output. It uses STDOUT and STDERR.
# 先生成一个 seeder
php artisan make:seeder TestSeeder
# 在该 seeder 的 run 函数中加入以下代码
public function run()
{
$output = new \Symfony\Component\Console\Output\ConsoleOutput();
$section = $output->section();
$section->writeln('人生若只如初见,何事秋风悲画扇');
}
# 那么开始测试一下
php artisan db:seed --class=TestSeeder
是不是就可以看见你想看见的东东了。当然你可以封装,搞出更多花样。也还有更多命令待使用。
做项目的时候,我们经常会用到 index.vue。咋回事呢。行为习惯爱好。比如有这么一个文件
views/home/index.vue
, views 是视图根目录,home 是主页目录,index.vue 我习惯性作为目录的首个文件。由于 cli-plugin-eslint 的作用,这样是不行的。得用驼峰或-方式来命名。这样单个字母就不好搞了。不好搞也要搞,不能妥协。
在项目根目录,添加 .eslintrc.js 文件。如果已经有了就修改。主要改成下边这个样子。
// .eslintrc.js
module.exports = {
root: true,
env: {
node: true,
},
extends: [
"plugin:vue/vue3-essential",
"eslint:recommended"
],
parserOptions: {
ecmaVersion: 2020,
},
rules: {
"vue/multi-word-component-names": [
"error",
{
ignores: ["index"], //需要忽略的组件名
},
],
},
};
然后重新启动就好了。
git 默认的 log 时间格式不好看,设置一下,转换成中国人方便看的格式。
默认格式: Date: Wed Aug 31 01:46:33 2022 +0000
//修改当前仓库log date格式
git config log.date iso-strict-local
//全局设置log date格式
git config --global log.date iso-strict-local
# 修改之后的日历格式:
# Date: 2018-08-23T17:16:39+08:00
# 或者这样
git config --global log.date format:'%Y-%m-%d %H:%M:%S'
# Date: 2021-08-27 15:38:56
MIME: Multipurpose Internet Mail Extension(多用途因特网邮件扩展)
https://blog.csdn.net/qq_26711103/article/details/81116900
https://www.bnxb.com/nginx/27092.html
https://blog.csdn.net/Leon_Jinhai_Sun/article/details/121048008