从前边<springboot竟然有5种默认的加载路径,你未必都知道>我们知道,springboot会默认加载application.properties/application.yml配置文件,且会从下面5个默认的路径下加载,其优先级依次升高,后面的会覆盖前边的配置.我们平时使用resources/application.properties其实优先级是最低. // Note the order is from least to most specific (last one wins)
vim作为Linux下广受赞誉的代码编辑器,其独特的纯命令行操作模式可以很大程度上方便编程工作,通过自定义vim配置文件可以实现对vim功能的个性化设置. vim配置文件一般有两份,属于root的/etc/vim/vimrc和属于当前用户的~/.vimrc,两者都可以配置vim,而当两者配置信息有冲突时,以后者为准. 我的/etc/vim/vimrc文件内容如下: runtime! debian.vim syntax on set showmatch set nu set autoindent
import ch.qos.logback.classic.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.io.InputStreamReader; import java.util.Properties; /** * Created by Administrator on 2019/3/25. */ public class propertiesutil { public fina
本文首发于个人博客https://kezunlin.me/post/12ab5707/,欢迎阅读! cmake with user defined entry Guide FindXXX.cmake in CMAKE_MODULE_PATH xxx-config.cmake in CMAKE_PREFIX_PATH cmake default package FindXXX.cmake use find_package to find default package with name XXX