Questions tagged [configuration]

Configuration is the process of specifying the settings used for a system or application

Configuration is used to customize the behavior of a program. It is commonly done using static configuration files that can be composed in any common text editor, but some applications provide tools (sometimes even with graphical interfaces) to create, modify, and verify the syntax of their configuration files.

Some programs only read their configuration files at startup. Others periodically check the configuration files for changes. Users can instruct some programs to re-read the configuration files and apply the changes to the current process, or indeed to read arbitrary files as a configuration file.

18012 questions
8
votes
1 answer

Why do developers occasionally add "SharedArrayBuffer" & "Atomics", to the ".eslintrc.json" "globals" property?

        What is the purpose of SharedArrayBuffer, and Atomics, being added to the .eslintrc.json configuration file's "globals" property? Example of what I have seen people do: /** @file "./.eslintrc.json" */ "globals": { …
R. Gurung
  • 1,356
  • 1
  • 14
  • 34
8
votes
3 answers

When does WCF use app.config or web.config?

I am working on a WCF applicaiton. I am very confused about when to use a web.config file and app.config file in WCF client and service. can anyone help me when to use app.config and when to use web.config.
Jebli
  • 2,775
  • 6
  • 29
  • 37
8
votes
1 answer

Change Visual Studio Code's tab bar color

Is there a way to configure the background color of the tab's bar in VS Code? I know there is a workBench.colorCustomization setting that allows theme colors to be changed using VS Code settings.json files; is it possible to change it using that…
Aayush Kuntal
  • 95
  • 2
  • 5
8
votes
1 answer

Webpack 5 (Webpack Encore): How to run multiple webpack instances on the same page and avoid any conflicts?

For a pretty large Web application I want to run multiple instances of Webpack (Encore) on the same page. When I put all the source code into a single Webpack configuration it all works. However when I have two different configurations with the same…
Blackbam
  • 17,496
  • 26
  • 97
  • 150
8
votes
3 answers

Django/Python "django.core.exceptions.ImproperlyConfigured: Cannot import 'contact'. Check that '...apps.contact.apps.ContactConfig.name' is correct"

Hopefully you all can give me a hand with this... my work flow: |.vscode: |capstone_project_website: | -_pycache_: | -apps: | -_pycache_ | -accounts: | -contact: # app that is throwing errors | -_pycache_: | …
8
votes
2 answers

How can I use ediff (emacs diff) as a diff/merge tool in Windows ClearCase?

I'm forced to use ClearCase (Windows version) at work, and I want to use emacs ediff as a diff and merge tool. The problem with the ClearCase map file is that it requires .exe files - I've tried to specify a batch file calling ediff and it didn't…
Eugene Morozov
  • 15,081
  • 3
  • 25
  • 32
8
votes
2 answers

Spring properties file setting default values

I have a properties file outside my war file that is used by the system administrator to turn off certain system features. It has been working on my local machine just fine but when we deployed to a development environment the properties file was…
blong824
  • 3,920
  • 14
  • 54
  • 75
8
votes
2 answers

Is there a PHP setting that sets whether you can index the result of a function?

I have two servers. They are both running php 5.3.3. This code works on one server and returns a syntax error on the other. Is there a php ini setting that affects this behaviour? I can't find anything related in the PHP documentation, but I may be…
Kyle Wiens
  • 664
  • 4
  • 11
8
votes
3 answers

How to customise configuration binding in ASP.NET Core

I have a multi-tenant ASP.NET Core web application. The current tenancy model is every tenant has a separate web app and SQL database. I'm trying to rearchitect it so that multiple tenants will be served by a single web app (but maintaining a…
Jon
  • 16,212
  • 8
  • 50
  • 62
8
votes
2 answers

How to fix the "Your account does not belong to the same domain as this cloud project or app" error?

I'm updating an app on G Suite Marketplace SDK. It used to work by just changing the script version at the "App Configuration" Tab, and click Save. Now it posted a warning at the top of the page saying: Your account does not belong to the same…
8
votes
4 answers

detecting build configuration (debug or release) within ant script

I have an ant script that does what it needs to do, but I need to set a few property values based on whether I'm running release or debug. How do I do this? If it makes a difference, my ant script runs some custom utility tasks before performing…
copolii
  • 14,208
  • 10
  • 51
  • 80
8
votes
3 answers

Using appsettings.ENV.json in .NET Core Console App

I'm building a console app to do some database work for me and want to set up different appsettings files to store the appropriate connection strings per environment. I have something this working in my Main function at the moment: static void…
Paul DeVito
  • 1,542
  • 3
  • 15
  • 38
8
votes
2 answers

How to subscribe to multiple Google PubSub Projects in Spring GCP?

I want to subscribe to multiple Google Cloud PubSub projects in a Spring Boot application. After reading the related questions in How to wire/configure two pubsub gcp projects in one spring boot application with spring cloud?, How to use Spring…
8
votes
1 answer

Retrieving expired objects in Ehcache

I'd like to implement the following algorythm above Ehcache : try to get an element from the cache if the element is not expired serve the value else serve the expired value refresh the element in the background But I never get an expired…
Guillaume
  • 18,494
  • 8
  • 53
  • 74
8
votes
1 answer

Use of Prometheus scrape_timeout

In the prometheus configuration I have a job with these specs: - job_name: name_of_my_job scrape_interval: 5m scrape_timeout: 30s metrics_path: /metrics scheme: http The script that creates the metrics takes 3 minutes to finish,…
Justpalma
  • 63
  • 1
  • 3
  • 7