Spring Boot2入门 1.使用idea新建一个名为boot的Maven工程。 2.点击右下角的“Enable Auto-Import”选项,idea将会自动下载相关的依赖包。 3.点击boot目录下的pom.xml文件,引入以下依赖: <parent> <groupId>org.spring ...
分类:
编程语言 时间:
2021-02-22 12:18:59
阅读次数:
0
1、从git上clone到本地后,直接open; 2、在Project Structure中把除了resources、webapp文件之外的文件,全部打上Sources蓝标签;并把resources文件打上Resources标签 3、配置Facets 4、配置Artifacts 5、在Edit Co ...
分类:
系统相关 时间:
2021-02-22 11:55:12
阅读次数:
0
1. listfile (列表文件,即CMakeLists.txt) https://cmake.org/cmake/help/v3.19/manual/cmake-gui.1.html CMake is a cross-platform build system generator. Projec ...
分类:
其他好文 时间:
2021-02-20 12:32:02
阅读次数:
0
学习chrome-extension优秀插件 newtabnewquote 新标签页显示一句话 github地址:rahuls/newtabnewquote: A Chrome extension which shows a new quote on each new tab. chrome ext ...
分类:
其他好文 时间:
2021-02-20 12:20:22
阅读次数:
0
只记录一种最简便的方法,在项目根目录下创建vue.config.js,修改module配置: 1 module.exports = { 2 outputDir: 'dist', //build输出目录 3 assetsDir: 'assets', //静态资源目录(js, css, img) 4 l ...
分类:
移动开发 时间:
2021-02-19 13:44:35
阅读次数:
0
开始使用Kubernetes和docker docker命令 运行一个容器 docker run busybox echo "Hello world" 构建容器镜像 docker build -t imageName . # docker bulid -t <imageName> <Dockerfi ...
分类:
Web程序 时间:
2021-02-19 13:44:05
阅读次数:
0
前言 使用springboot开发项目简单迅速,学习sprinboot原理,先明白springboot基本原理,自己动手写一个springboot的简单启动类,了解properties文件中的配置被什么地方使用,如何使用,配置文件又是如何改变springboot启动类的。 原理 使用@Configu ...
分类:
编程语言 时间:
2021-02-19 13:42:54
阅读次数:
0
父类依赖的导入<parent> <groupId>org.example</groupId> <artifactId>dubboDome</artifactId> <version>1.0-SNAPSHOT</version></parent> ...
分类:
其他好文 时间:
2021-02-19 13:11:37
阅读次数:
0
一、String类的常用方法 返回当前字符串中给定位置的字符: char charAt(int index) 返回给定字符串在当前字符串中的位置: int indexOf(String str) 返回当前字符串的长度: int length() 判断当前字符串是以指定字符开始或结束的: boolea ...
分类:
其他好文 时间:
2021-02-18 13:42:38
阅读次数:
0
树套树(splay套线段树) -AcWing 2476 本来想着用multiset套线段树的,结果一直T。改成常数小的splay才过,写完人都傻了^^ /* splay套线段树 */ #include <bits/stdc++.h> using namespace std; const int N ...