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
124
votes
9 answers

The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. laravel 5.3

I installed a new fresh copy of Laravel 5.3 using composer but I'm getting this error: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. Even though my app.php file in config directory specify 'cipher' =>…
Emmanuel Mariki
  • 1,379
  • 3
  • 12
  • 19
123
votes
10 answers

What is the command to list the available avdnames

I know I can start the emulator avd by typing emulator.exe @avdname But is there a command to list the available avdnames? Where are this avd configuration stored?
Lukap
  • 31,523
  • 64
  • 157
  • 244
123
votes
9 answers

Spring Boot JPA - configuring auto reconnect

I have a nice little Spring Boot JPA web application. It is deployed on Amazon Beanstalk and uses an Amazon RDS for persisting data. It is however not used that often and therefore fails after a while with this kind of…
stoffer
  • 2,317
  • 2
  • 18
  • 24
122
votes
13 answers

Real World Use of Zookeeper

I've been looking at Zookeeper recently and wondered whether anybody was using it currently and what they were specifically using it for storing. The most common use case is for configuration information, but what kind of data and how much data are…
Jonathan Holloway
  • 62,090
  • 32
  • 125
  • 150
121
votes
7 answers

Eclipse: Referencing log4j.dtd in log4j.xml

I've been using log4j for quite a while now and I usually use this at the top of the log4j.xml (probably just like many others and according to Google this is the way to do it): Obviously this is…
sjngm
  • 12,423
  • 14
  • 84
  • 114
120
votes
1 answer

Understanding spring @Configuration class

Following the question Understanding Spring @Autowired usage I wanted to create a complete knowledge base for the other option of spring wiring, the @Configuration class. Let's assume I have a spring XML file that looks like this:
Avi
  • 21,182
  • 26
  • 82
  • 121
115
votes
4 answers

Vim Configure Line Number Coloring

I'm looking for a way to configure the color used for line numbering (as in: :set nu) in Vim. The default on most platforms seems to be yellow (which is also used for some highlighted tokens). I would like to color the line numbers a dim gray;…
Daniel Spiewak
  • 54,515
  • 14
  • 108
  • 120
115
votes
16 answers

Node.js/Express.js App Only Works on Port 3000

I have a Node.js/Express.js app running on my server that only works on port 3000 and I'm trying to figure out why. Here's what I've found: Without specifying a port (app.listen()), the app runs but the web page does not load. On port 3001…
Benjamin Martin
  • 1,795
  • 3
  • 15
  • 17
113
votes
2 answers

Difference between compile and runtime configurations in Gradle

My question is a little bit common, but it is linked with Gradle too. Why we need compile and runtime configuration? When I compile something I need artifacts to convert my java classes in bytecode so I need compile configuration, but why is needed…
Xelian
  • 16,680
  • 25
  • 99
  • 152
111
votes
4 answers

Why does Visual Studio tell me that the AddJsonFile() method is not defined?

I'm developing an ASP.NET 5 WebAPI project using VS Ultimate 2015 Preview. I'm trying to configure the app in this way (line numbers are just guides): 1 using Microsoft.Framework.ConfigurationModel; 2 3 public IConfiguration Configuration { get;…
NetCito
  • 1,253
  • 2
  • 9
  • 6
107
votes
2 answers

How can I insert a real tab character in Vim?

When I have my vimrc here: set tabstop=2 set shiftwidth=2 set softtabstop=2 set expandtab set smarttab And I have supertab plugin installed. Whenever I am in insert mode I press tab, it shows the auto completion, but sometimes I would like to…
Samnang
  • 5,536
  • 6
  • 35
  • 47
107
votes
20 answers

PHP Warning: Module already loaded in Unknown on line 0

On Mac OSX Mavericks using homebrew php55 whenever I run a a php command I get the following error message (everything runs fine it's just annoying) PHP Warning: Module 'intl' already loaded in Unknown on line 0 I ran php --ini and the output…
Drew Landgrave
  • 1,515
  • 3
  • 13
  • 23
106
votes
5 answers

Can I use SPACE as mapleader in VIM?

From http://items.sjbach.com/319/configuring-vim-right (2009 archive from original) I got that you were supposed to be able to use Space as the mapleader in vim. I've tried but it does not seem to work. Is there anyone who made it work? Tried: let…
Marlun
  • 1,543
  • 3
  • 12
  • 14
106
votes
1 answer

How to override ASP.NET Core configuration array settings using environment variables

TL;DR In an ASP.NET Core app, I have an appsettings.json config file which uses a JSON array to configure a collection of settings. How do I override a setting of one of the array objects using environment variables? Background I'm using Serilog in…
James Skimming
  • 4,991
  • 4
  • 26
  • 32
106
votes
3 answers

What are `rc` files in nodejs?

I have some questions regarding various rc files in a typical node application, like .npmrc, .babelrc etc. What is an rc file, I know its a runtime-config for the module, but anything else? Does the rc file has to follow .[module]rc naming…