CGICGI(Common Gateway Interface),公共网关接口,它是Web服务器与外部应用程序(CGI程序)之间传递信息的接口标准。如请求/index.html,那么web server会去指定目录下找到这个文件(如果存在的话)发送给浏览器,这里分发的是静态数据。那么,请求的是/in ...
分类:
Web程序 时间:
2020-07-12 18:44:45
阅读次数:
74
1、安装node.js 直接百度搜索或者在其中文官网也可以下载http://nodejs.cn/download/ ,在安装完node之后npm包管理工具也自动的安装好,安装完之后,在命令行输入node -v或者npm -v,出现版本号说明安装成功。如下图所示: 2、改变原有的环境变量(1)配置np ...
分类:
其他好文 时间:
2020-07-12 18:27:12
阅读次数:
66
一、工程结构规划 jansens-common:公共代码模块、主要放置一些工具类。 jansens-core:核心业务代码模块,主要封装公共业务模块。 jansens-admin:后台管理模块,包含用户、角色、菜单管理,权限管理等。 jansens-pom:聚合模块,仅为简化打包,一键执行打包所有模 ...
分类:
编程语言 时间:
2020-07-12 14:26:33
阅读次数:
123
A substring of a string T is defined as: T(i, k)=TiTi+1...Ti+k-1, 1≤i≤i+k-1≤|T|. Given two strings A, B and one integer K, we define S, a set of tripl ...
分类:
编程语言 时间:
2020-07-11 13:09:02
阅读次数:
71
在微服务体系中,后端微服务经常会存在多个项目,但这些项目中往往会有很多公共的配置和工具等, 这时候我们就需要一个common项目同时为多个后端项目服务,这样可以减少许多重复代码和重复配置后端项目的时间。 1、新建SpringBoot jar项目,取名为commons 2、将公共的类、依赖、配置存放于 ...
分类:
其他好文 时间:
2020-07-11 13:02:13
阅读次数:
122
使用自定义异常 'exception_handle' => 'app\common\exception\ApiHandleException', <?php /** * User: xmz * Date: 2020-07-11 * Time: 01:26 */ namespace app\commo ...
分类:
移动开发 时间:
2020-07-11 10:00:56
阅读次数:
87
给路径起别名 在根目录添加vue.config.js文件 module.exports = { configureWebpack: { resolve: { alias: { 'assets': '@/assets', 'common': '@/common', 'components': '@/c ...
分类:
Web程序 时间:
2020-07-10 21:24:14
阅读次数:
118
https://www.cnblogs.com/longren/p/11168317.html step1:卸载所有与mysql,mariadb相关的东西 卸载mysql # rpm -qa | grep mysql yum -y remove mysql-community-common-5.7. ...
分类:
数据库 时间:
2020-07-10 19:30:21
阅读次数:
85
1134 Vertex Cover (25分) A vertex cover of a graph is a set of vertices such that each edge of the graph is incident to at least one vertex of the set. ...
分类:
其他好文 时间:
2020-07-10 18:36:42
阅读次数:
69
题目描述 给定一个非负整数 numRows,生成杨辉三角的前 numRows 行。 示例: 输入: 5 输出: [ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1] ] 题目链接: https://leetcode-cn.com/problems/pascals ...
分类:
其他好文 时间:
2020-07-10 17:20:39
阅读次数:
72