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
2 answers

Any Suggestions for Log4Net Configuration Gui?

Does anyone have any suggestions for a Gui for editing the log4net config files. We have people in the field who need to be able to increase, decrease, or specialize logging but don't have the background to mess in the XML.
Charley Rathkopf
  • 4,720
  • 7
  • 38
  • 57
8
votes
3 answers

Swap shift-enter and enter in python interactive window VSCode

In the interactive window in vscode you press shift-enter to run the code you just typed and enter to go to the next line. Can I swap this?
8
votes
4 answers

When can I safely delete Xcode DerivedData folder?

I have been working in iOS project. Regarding Xcode Derived Data folder whose contents are generated by build system, there are many Stackoverflow posts, i.e. how to remove derived data folder or is it safe to remove derived data folder, etc. but…
Sazzad Hissain Khan
  • 37,929
  • 33
  • 189
  • 256
8
votes
4 answers

VS code autocompletion customization - do not automatically select any suggestion

I would like to customize VScode autocompletion behaviour to suit my liking. Namely: When the suggestions list appears, I don't want any suggestion to be selected. When I press Tab and Shift-Tab, I want to cycle through the suggestions (thus…
maahl
  • 547
  • 3
  • 17
8
votes
5 answers

How to proper setup python source root direcory in Visual Studio Code?

I'm trying to setup a python project in Visual Studio Code. My problem is to create and use the src directory as source root (like it is working in pycharm). I have this directory structure: project_name\ src\ __init__.py dta\ …
grzegorz700
  • 171
  • 1
  • 5
8
votes
2 answers

Configuring profiles with StructureMap

important; I'm really looking for a StructureMap answer here. Please don't say how to do it with Windsor, Spring, Unity, or any of the others. I'm playing with StructureMap for IoC - and basically my aim is to have a "default" profile that defines…
Marc Gravell
  • 1,026,079
  • 266
  • 2,566
  • 2,900
8
votes
4 answers

How to properly connect to MongoDB with Spring?

I'm total beginner in Spring. I want to create simple Spring app connecting to MongoDB. I generated Spring Boot with Spring Initializer and I created necessery files following a guide. MongoDB is working. When I run the app I got the following…
Specyk
  • 143
  • 1
  • 1
  • 8
8
votes
3 answers

EMR conf spark-default settings

I am using configuration file according to guides Configure Spark to setup EMR configuration on AWS, for example, changing the spark.executor.extraClassPath is via the following settings: { "Classification": "spark-defaults", "Properties":…
ZhouQuan
  • 1,037
  • 2
  • 11
  • 19
8
votes
3 answers

Spring: Configuring Bean with a two argument setter

I would like to configure a HttpParams using spring setter injection but HttpParams has a two argument setter ( setParameter(String name, Object object) ). Is anyone aware of a way to configure this in spring? The closest I can think of is like you…
craftsmanadam
  • 81
  • 1
  • 2
8
votes
1 answer

Azure Functions v2 - New .netcore Configuration and deployment

Now that we can use the hugely flexible configuration engine from .NETCore - we can do something like this : private static IConfigurationRoot SetConfig(ExecutionContext executionContext) { return new ConfigurationBuilder() …
Andrew G
  • 81
  • 2
8
votes
3 answers

BeanNotOfRequiredTypeException: Bean named X is expected to be of type X but was actually of type 'com.sun.proxy.$Proxy

I have such classes and Spring context. How to fix this wrong Java configuration, not xml? I'd tried some solutions from other posts, but without success. @Service @Transactional public class XCalculationService implements VoidService { } public…
Arthur
  • 1,156
  • 3
  • 20
  • 49
8
votes
2 answers

Support both encrypted and non encrypted configuration with aumbry

We have a python application that loads a config.yml with aumbry. For production purpose we need to encrypt this configuration with fernet, which aumbry can load seamlessly. We want to be able to load both unencrypted and encrypted in a transparent…
Jav_Rock
  • 22,059
  • 20
  • 123
  • 164
8
votes
1 answer

How to use multiple mongodb databases in spring boot application?

In my application, I need to use two MongoDB databases. I don't know how to add 2 MongoDB databases in the application.properties file in the spring application. Here is the application.properties file of my project,…
8
votes
1 answer

Problem with node-gyp not using the npm configured private registry

The server this is running on is behind a corporate firewall, and only has access out to this specific private registry, which also acts as a proxy out to the public npm registry (for packages that we don't have). NPM itself is working fine; but…
xil3
  • 16,305
  • 8
  • 63
  • 97
8
votes
1 answer

Set system properties for Android application

Can I (in the Manifest file or somewhere else) set system properties for my Android application? I want to use a library that can be configured using system properties, and being able to just use that mechanism would reduce the amount of code I need…
Thilo
  • 257,207
  • 101
  • 511
  • 656