####VUE项目配置跨域 ##在vue-project文件下config下的index中module.exports = { dev: { // Paths assetsSubDirectory: 'static', assetsPublicPath: '/', proxyTable: { ##在 ...
分类:
其他好文 时间:
2019-12-21 14:01:05
阅读次数:
97
原题链接在这里:https://leetcode.com/problems/unique-paths-iii/ 题目: On a 2-dimensional grid, there are 4 types of squares: 1 represents the starting square. T ...
分类:
其他好文 时间:
2019-12-16 09:15:54
阅读次数:
94
Path的两种初始化(应该还有别的方式) Path file = new File(path).toPath(); Paths.get 判断是文件、是目录 Files.isRegularFile(file) Files.isDirectory(file) javadoc说,还有既不是文件也不是目录的 ...
分类:
编程语言 时间:
2019-12-13 23:57:58
阅读次数:
333
437. Path Sum III Easy Easy Easy You are given a binary tree in which each node contains an integer value. Find the number of paths that sum to a give ...
分类:
其他好文 时间:
2019-11-28 11:44:00
阅读次数:
62
1,首先vue跨域我知道两种 ,一种在config文件下,index.js里面配置跨域: module.exports = { dev: { // Paths assetsSubDirectory: 'static', assetsPublicPath: '/', proxyTable: { '/a ...
分类:
其他好文 时间:
2019-11-25 23:39:37
阅读次数:
112
1.配置文件如下 spring: # 热部署 devtools: restart: enabled: true #设置开启热部署 additional-paths: src/main/java #重启目录 exclude: WEB-INF/** freemarker: cache: false #页 ...
分类:
编程语言 时间:
2019-11-24 15:46:46
阅读次数:
76
mac os 环境变量 系统级别 /etc/profile /etc/paths 用户级别 ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrc(同linux) 系统级别更为就是全局设置,不推荐 mac系统中推荐更改~/.bash_profile 格式 ...
分类:
系统相关 时间:
2019-11-22 12:00:59
阅读次数:
73
1.1. Lucene工具类 为了后面的开发、测试方便,这里编写一个工具类: 1 import java.io.IOException; 2 3 import java.nio.file.Paths; 4 5 import java.util.List; 6 7 8 9 import org.apa ...
分类:
Web程序 时间:
2019-11-15 14:37:23
阅读次数:
78
题目描述 In order to get from one of the F (1 include include include include using namespace std; const int N=5e4+10,M=5e4+10; int next[M],head[N],go[M], ...
分类:
其他好文 时间:
2019-11-13 22:08:29
阅读次数:
85
10.Paths through the Hourglass,UVa10564 题意: 有一个沙漏,第一行有$n$个格子,第二行有$n 1$个格子$\cdots\cdots$最中间的行只有1个格子,然后它下面一行2个格子,再下面一行3个格子$\cdots\cdots$最后一行$n$个格子,如图$1 ...
分类:
其他好文 时间:
2019-11-09 23:57:22
阅读次数:
189