1.添加PHP扩展 composer require krlove/eloquent-model-generator --dev 2.注册GeneratorServiceProvider类 'providers' => [ // ... Krlove\EloquentModelGenerator\P ...
分类:
其他好文 时间:
2021-02-19 13:50:11
阅读次数:
0
A. Dense Array 链接: https://codeforces.com/contest/1490/problem/A 思路: 贪心。找到一队不满足的数,求最大值是最小值2的几次幂倍就好。 代码: #include<iostream> #include<cstdio> #include<c ...
分类:
其他好文 时间:
2021-02-19 13:36:52
阅读次数:
0
java基础--容器 List、ArrayList、LinkList 1.容器的总体框架 详细的贴一张大佬的图 ,有点错的地方就是Map那个分支是单独的,和Collection接口没有任何关联。原文地址 2.容器简述 容器简单点可以说就是一个桶,你可以往桶里放东西、拿东西、查看数据 不同的桶放不一样 ...
分类:
编程语言 时间:
2021-02-19 13:22:05
阅读次数:
0
注意:下面的内容都是放在虚拟主机的单独配置中,而并非是在httpd.conf 的全局配置中。 禁止访问某些文件/目录 增加Files选项来控制,比如要不允许访问 .inc 扩展名的文件,保护php类库: <Files ~ "\.inc$"> Order allow,deny Deny from al ...
分类:
Web程序 时间:
2021-02-19 13:02:29
阅读次数:
0
组合求和( Combination Sum) 1. 题目描述 Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of ...
分类:
编程语言 时间:
2021-02-18 13:37:18
阅读次数:
0
Tomcat Web在英语中表示网页的意思,它用于表示Internet主机上供外界访问的资源,分为静态web资源和动态web资源。 静态web资源(如html 页面):指web页面中供人们浏览的数据始终是不变。 动态web资源:指web页面中供人们浏览的数据是由程序产生的,不同时间点访问web页面看 ...
分类:
编程语言 时间:
2021-02-18 13:10:12
阅读次数:
0
1. 题目描述 Given an array nums of distinct integers, return all the possible permutations. You can return the answer in any order. 2. Examples 示例1: Input ...
分类:
编程语言 时间:
2021-02-18 13:07:50
阅读次数:
0
Given an array of non negative integers, return the maximum sum of elements in two non overlapping (contiguous) subarrays, which have lengths and . (F ...
分类:
移动开发 时间:
2021-02-18 12:53:23
阅读次数:
0
最近才发现ThinkPHP6.0和CI4.x都要求php版本为7.1以上了,本机的php版本还停留在7.0.3x,又懒得升级,于是考虑使用Docker来运行一个lnmp环境。 常规环境搭建的方式有两种,一种是把php、mysql、nginx分别编写一个Dockerfile,然后再使用docker-c ...
分类:
其他好文 时间:
2021-02-17 15:01:20
阅读次数:
0
/** * 打开nginx配置文件nginx.conf,添加以下内容 * 注意层级,在 http{ server { location { #这里添加 } } } 添加 */ location / { try_files $uri $uri/ $uri.php?$args; } ...
分类:
Web程序 时间:
2021-02-17 14:58:17
阅读次数:
0