文章

✘✘ 博客

Vue Proxy Table

Vue使用ProxyTable避免CORS跨域问题 添加proxyTable列表,将future-acount服务代理到本地调试服务上,这样就

Linux Sed Command

Linux Sed:Stream Editor文本流编辑 Sed命令 - 查找替换 sed -i 's/Search_String/Replacement_String/g' Input_File sed:命令 -i:默认情况下,sed 打印结果到标准输出。当你使用 sed 添

IDEA创建SpringBoot项目,application.yml文件没有自动提示

只需要创建一个类 import org.springframework.beans.factory.config.YamlPropertiesFactoryBean; import org.springframework.core.env.PropertiesPropertySource; import org.springframework.core.env.PropertySource; import org.springframework.core.io.support.DefaultPropertySourceFactory; import org.springframework.core.io.support.EncodedResource; import java.io.IOException; import java.util.Properties; public class YmlConfigFactory extends DefaultPropertySourceFactory { @Override public PropertySource<?> createPropertySource(String name, EncodedResource resource) throws IOException { String sourceName = name != null ? name : resource.getResource().getFilename(); if (!resource.getResource().exists()) { //不存在就返回一个空的把 return new PropertiesPropertySource(sourceName, new Properties()); }

Chocolatey - Windows下包管理器

cmd设置代理 set http_proxy=http://127.0.0.1:1081 set https_proxy=http://127.0.0.1:1081 安装: 1.使用管理员身份运行PowerShell Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) 2.或者使用CMD运行 "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" 使用 ####

OpenSSH Config

需求 正常情况下,使用私钥ssh服务器的话,默认是使用.ssh/id_rsa这个文件存放私钥。如果是多台服务器的话就不能正常使用了。所以一个多