config

C#配置文件读写(App.config)

/************************************************* * 描述: * * Author:ys * Date:2023/10/18 16:14:32 * Update: * **************************************** ......
文件 config App

*Config.cmake或Find*.cmake的编写

当使用vcpkg安装detours时,如果find_package未能找到它,这通常意味着这个库可能没有提供CMake的配置文件(*Config.cmake或Find*.cmake)。vcpkg通常会提供这些文件,但不是所有库都会这么做。 在这种情况下,您有以下几种选择: 手动指定库和头文件的路径: ......
cmake Config Find

'org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity' is deprecated

@EnableGlobalMethodSecurity(prePostEnabled = true) 已经被弃用了,最新的是:@EnableMethodSecurity。 file:[SecurityConfig.java] @Configuration @EnableWebSecurity add ......

vite.config.js base 与 vue-router base

vite.config.js base 决定了打包后,资源引用的前缀 base:'/hlw/' link ref='/hlw/assets' 打包后的dist要放到 /hlw 路径下 base 的值 与 process.env.BASE_URL、import.meta.env.BASE_URL一致 ......
base vue-router config router vite

vsvim config 2023-10-10 23:30:10

" = Extensions Plug 'tpope/vim-surround' Plug 'preservim/nerdtree' " = Basic settings set clipboard+=unnamed set ignorecase set scrolloff=30 set histo ......
10 config vsvim 2023 23

启动vue项目报错——ERROR Error loading vue.config.js: ERROR TypeError: defineConfig is not a function

问题描述 在我引入echarts模块之前是ok的,引入之后就启动失败了; 问题解决 一般情况下,都是该项目的版本与本机cmd里面的版本不对应导致的; 只需要使用这个命令npm upgrade,更新版本,一直yes下去,就能够解决这个问题啦! ......
ERROR defineConfig vue TypeError function

i3 config

1 # This file has been auto-generated by i3-config-wizard(1). 2 # It will not be overwritten, so edit it as you like. 3 # 4 # Should you change your k ......
config i3

git config --global core.autocrlf input

我们一般希望远程仓库中的代码为LF,就用: git config --global core.autocrlf input 就ok了。 git config --global core.autocrlf input 这是一个Git的配置命令,它的作用是告诉Git在检出代码时不要自动将行尾转换为CRL ......
autocrlf config global input core

Shrine( Flask SSTI of config )

来自: [WesternCTF2018]shrine 打开是一段源码,这里贴一下: import flask import os app = flask.Flask(__name__) app.config['FLAG'] = os.environ.pop('FLAG') #注册了一个名字为FLAG ......
Shrine config Flask SSTI of

vite_vite.config.js配置代理与websocket代理

export default defineConfig({ server: { proxy: { "/proxy": { target: "http://121.10.140.87", // 线上服务器IP地址 changeOrigin: true, ws: true, rewrite: (path ......
vite vite_vite websocket config js

Python3 日志打印之logging.config.dictConfig

#函数说明 logging.config.dictConfig(config) dictConfig函数位于logging.config模块,该函数通过字典参数config对logging进行配置。3.2版本新增的函数 ##参数说明 config 字典类型,包含以下key: version - 表示 ......
dictConfig Python3 logging Python config

vscode vim config

keybindings.json // Place your key bindings in this file to override the defaultsauto[] [ // terminal // 切换到terminal终端 { "key": "ctrl+,", "command": " ......
vscode config vim

SpringCloud-Config配置中心搭建保姆级教程

一、分布式配置中⼼ 在使⽤微服务架构开发的项⽬中,每个服务都有⾃⼰的配置⽂件(application.yml),如果将每个服务的配置⽂件直接写在对应的服务中,存在以下问题: 1. 服务开发完成之后,需要打包部署,配置⽂件也会打包在jar⽂件中,不便于项⽬部署之后的配置修改(在源码中修改——重新打包— ......

调度器59—CONFIG_SCHED_DEBUG 的作用

一、使能 CONFIG_SCHED_DEBUG 提供的文件 1. /proc/pid/sched 文件 cat显示统计数据,echo清0,无论echo的是啥。 2. /proc/sys/kernel 下的 sched_min_granularity_nssched_latency_nssched_s ......
CONFIG_SCHED_DEBUG 作用 CONFIG SCHED DEBUG

使用 PackageReference 格式的项目,修改NuGet包默认存储位置与packages.config时一样

默认全局包文件夹的位置。 默认值为 %userprofile%\.nuget\packages (Windows) 或 ~/.nuget/packages (Mac/Linux)。 相对路径可在项目特定的 nuget.config 文件中使用。 此设置由 NUGET_PACKAGES 环境变量替代, ......

为动态库编写XX-config.cmake文件

演示动态库结构 . ├─bin │ ├─Debug │ │ CTKCore.dll │ │ CTKPluginFramework.dll │ │ │ └─Release │ CTKCore.dll │ CTKPluginFramework.dll │ ├─cmake │ ctk-config.cma ......
XX-config 文件 动态 config cmake

IIS:执行此操作时出错。文件名: \\?\D:\****\web.config

在IIS上搭建.Net Core 的WebAPI以后,调用时一直提示500(有web.config)/404(无web.config)。 点击IIS的错误页时,提示:执行此操作时出错。文件名: \\?\D:\****\web.config WebAPI是基于.Net Core 3.1的。 已经安装了 ......
文件名 文件 config IIS web

ssm整合中配置的依赖,设置的jdbc.properties,mybatiss-config.xml,spring.xml,springmvc.xml

2023-09-16 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.a ......

vite.config.ts关于build后少一层目录的问题

问题:新项目生产环境发布后,一直少一层路径,如下图 因为不太熟悉vite.config,ts的配置,各种查询后,发现网上都是说加一个root:'./'根目录,各种试错,最终发现问题不是root 答案:是加base:"./",成功了如下图 记录一下,避坑,希望帮助有需要的朋友 ......
目录 config 问题 build vite

mybatis中使用分页插件需要添加的依赖,插件在mybatis-config.xml中的配置,以及使用的方式

2023-09-12 导入的依赖 <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>5.3.2</version> </dependency> myba ......
插件 mybatis mybatis-config 方式 config

M6000-S路由器和89E交换机无法进入config模式, 是什么原因, 如何解决?

M6000-S路由器和89E交换机使用命令config terminal, 无法进入config模式, 报错: ZXR10#con t %Error 140357: Simultaneous configs not allowed. Locked from vty0 (192.168.6.215). ......
路由 路由器 交换机 原因 模式

zsh:config(ubuntu22.04.2)

zsh:config(ubuntu22.04.2) 1. zsh : PS1 1 [wit@on user] cat ~/.oh-my-zsh/themes/david.zsh-theme 2 PROMPT="%(?:%{$fg_bold[green]%}:%{$fg_bold[red]%})%{$ ......
config ubuntu zsh 22 04

es config

https://www.elastic.co/guide/en/elasticsearch/reference/current/important-settings.html `elasticsearch.yml` for configuring Elasticsearch ```yml path: ......
config es

git pull 提示 hint: You can replace "git config" with "git config --global" to set a default

hint: You can replace "git config" with "git config --global" to set a defaulthint: preference for all repositories. You can also pass --rebase, --no- ......
quot config git default replace

wx.config中的timestamp生成签名的时间戳

wx.config({ debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 appId: '', // 必填,公众号的唯一标识 timestamp: , // 必填,生 ......
timestamp 时间 config wx

whindows minio config.json是文件夹的情况下修改后台管理员账号和密码

> 1.创建系统环境变量 ![image](https://img2023.cnblogs.com/blog/1166012/202309/1166012-20230904121038896-1899559752.png) 在环境变量中添加“MINIO_ACCESS_KEY”和“MINIO_SECR ......
文件夹 账号 后台 whindows 管理员

泛微E-Office mysql_config.ini 数据库信息泄漏漏洞

## 漏洞描述 泛微 E-Office mysql_config.ini文件可直接访问,泄漏数据库账号密码等信息 ## 漏洞复现 fofa语法:`app="泛微-EOffice"` 登录页面如下: ![](https://img2023.cnblogs.com/blog/2541080/202309 ......

mybatis-config.xml模板

2023-09-02 <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis ......
mybatis-config 模板 mybatis config xml

报错ValueError: Can't find 'adapter_config.json'

# 前言 在做组内2030项目时,我具体做的一个工作是对大模型进行LoRA微调,在整个过程中有许多坑,其中有些值得记录的问题,于是便产生了这篇博客。 # 问题 我在得到微调好的模型后,需要对模型进行性能测评。在加载模型时,遇到如下报错 ``` ValueError: Can't find 'adap ......
adapter_config ValueError 39 adapter config

eslint-config-prettier和eslint-plugin-prettier有什么关系

`eslint-config-prettier` 和 `eslint-plugin-prettier` 是用于与 ESLint 和 Prettier 集成的两个不同的包。 1. `eslint-config-prettier` :这是一个 ESLint 配置规则的包,它将禁用与 Prettier 冲 ......