Questions tagged [configuration-files]

Files that configure the initial settings for some computer programs.

2246 questions
0
votes
1 answer

Powershell + Config files

[xml]$configSettings = get-content .\ScriptSigner.config Write-Host([string]::Format("XML Settings : {0}",$configSettings.InnerXml)) $sourceFolder = ($configSettings.folder.sourcefolder) $destinationFolder =…
Gagan
  • 5,416
  • 13
  • 58
  • 86
0
votes
0 answers

Creating default user configuration files if missing in spring boot

How can I have spring create a default configuration file for the end user if it does not exist at the target location. I would like this configuration file to be mapped to a bean after it has been created. I've searched the internet for spring…
Ashley
  • 142
  • 7
0
votes
1 answer

Cypress: cypress-cloud configuration can't load due to typscript

I need to run cypress tests locally before figuring them out in Jenkins. The config file I'm wanting to use works properly when I run npm run cypress open --config-file=cypress/config/cypress.test.config.ts --browser chrome --e2e but is not working…
Kate E
  • 1
  • 3
0
votes
1 answer

How can I encapsulate global config settings from different app parts in a single file?

We have an IIS based application with different web apps, some third party components and several services. Server1 AppPool1 App1 AppPool2 Third party app Server2 AppPool3 Third party app 2 App2 Windows Service CLR Stored Proc The goal…
matthias.lukaszek
  • 2,200
  • 1
  • 23
  • 33
0
votes
0 answers

Apache 2.4 directory access

I have to create code inside the directory container in my main Apache 2.4 configuration file . I need to permit access from everywhere including 137.37.120.1 (which was previously written with require not 137.37.120.1) but disallow any other access…
0
votes
0 answers

How to set mimimum level to serilog sinks in appsettings.json

Microsoft.Extensions.Logging Trace vs Serilog Verbose the workaround: https://github.com/Su-s/serilogworkaround this is the configuration in my appsettings.json "WriteTo": [ { "Name": "Console", "Args": { "outputTemplate":…
0
votes
0 answers

Why am I getting an ERR_CONNECTION_REFUSED error when trying to run HTML/CSS files with 'run without debugging'?

I'm not really a programmer, I'm just learning some basic stuff. So I was working on some html/css and I tried to "run without debugging" and it gave me a blank page, telling me "This site can’t be reachedlocalhost refused to connect. Try: Checking…
0
votes
0 answers

How to replace application.properties entries and expose them as a code or bean

In our team, we agreed that we are gonna use all of the configurations as a code (let's Say AppConfiguration class) i.e : @Value("${spring.datasource.url:jdbc:postgresql://localhost:5432/postgres}"); private String jdbcUrl; and later use them to…
Kostov
  • 45
  • 8
0
votes
0 answers

How to change color of brackets, parentheses and braces in ZeroBrane IDE apart of operators?

I included this code into user.lua: styles.operator = {fg = {104,151,187}} The color of operators has changed, everthing is ok with operators, such as =, ==, <, but somehow 3 kind of brackets also changed their color. Please help me to change their…
0
votes
0 answers

How to save a ConfigurationSection in a config file without specifying the version?

I'm using a custom ConfigurationSection that I'm saving into a file: System.Configuration.Configuration configuration = ConfigurationManager.OpenMappedExeConfiguration(configFileMap,…
J4N
  • 19,480
  • 39
  • 187
  • 340
0
votes
1 answer

Connect to External JanusGraph Server With JanusGraphFactory

Problem How do you connect to an external JanusGraph Server with JanusGraphFactory? I don't know what I'm doing and new to JanusGraph and Graph-Databases in-general. What is the JanusGraph > Configuration > "storage.backend" property supposed to…
0
votes
0 answers

How do I share application settings with other classes java android

Working through java/android learning curve... I created a text file where I want to keep all the settings for my app. Reading these from the file is working OK. Now, how could I simply use these three values in other classes? Thanks in…
0
votes
0 answers

configure directory with custom localhost in c#

i have create localhost using following code in c# static HttpListener _httpListener = new HttpListener(); [STAThread] static void Main() { Console.WriteLine("Starting server..."); …
nirmal
  • 1
0
votes
1 answer

line 15: unexpected EOF while looking for matching `"'

When I try to start my ark server made with lgsm it states the following error: arkserver@ark-HP-Compaq-Elite-8300-SFF:~$ ./arkserver start /home/arkserver/lgsm/config-lgsm/arkserver/arkserver.cfg: line 15: unexpected EOF while looking for matching…
bostijger
  • 5
  • 3
0
votes
0 answers

How to get a config file provider plugin configuration using python client?

I have Jenkins instance with the Config File Provider Plugin installed, and I have configured some files using this plugin. I want to retrieve the configuration of these files programmatically using the Python Jenkins client library. I have tried…
Underoos
  • 4,708
  • 8
  • 42
  • 85