Quantcast
Channel: Active questions tagged config - Stack Overflow
Browsing all 5049 articles
Browse latest View live
↧

How can I read in lists within a list using ConfigParser() in Python?

I have seen a lot of answers on how to read in a list using ConfigParser in Python:Lists in ConfigParserGetting a list from a config file with ConfigParserHow to store dictionary and list in python...

View Article


How to serialize object fields with NLog?

Im testing out the new structured logging but do not really get it right.I have this in my nlog.config : <target xsi:type="File" name="f" fileName="${basedir}/logs/${shortdate}.log"><layout...

View Article


Is there a config.yml pattern that will only build PRs to master, and not...

My team is getting started with CircleCI. The monthly plan is just about our most hefty subscription fee at the moment. What I'd like to do is only build PRs to master (the default branch), and not...

View Article

add config file to node Heroku app that's not part of git repository

I set up a Heroku node webapp that's connected to a github repository. The repository holds a config.js.example file for the database login information. The idea is to create a unique config.js file...

View Article

Is it possible to get the current spark context settings in PySpark?

I'm trying to get the path to spark.worker.dir for the current sparkcontext.If I explicitly set it as a config param, I can read it back out of SparkConf, but is there anyway to access the complete...

View Article


How do I do multiple line list in ConfigArgParse?

I have a config file with the following contents.[Default]file_list = ['dataset1/*.wav', 'dataset2/*.wav', 'dataset3/*.wav', 'dataset4/*.wav']which is a line break that most of the time works in...

View Article

Prometheus Federation match params do not work

I have been trying to achive federation in my Prometheus setup. While doing this, I want to exclude some metrics to be scraped by my scraper Prometheus. Here is my federation config: global:...

View Article

Can I install modules to my wildfly through cli in domain mode?

First question is supported, to manage add module from one point to all host?If I run my wildfly domain mode I can't run this[domain@127.0.0.1:9999 /] module add --name=com.oracle.jdbc...

View Article


linking the java project to MySQL database

I'm beginner in programming so please be patient (and for my english) :) I have a problem with linking my java project with MySQL database.My project structure looks like this:project structureAnd my...

View Article


Can't read custom environment variables in node using config.get()

I use config library to manage my configuration files in node application.I have export my custom env variable in terminal by export app_password=12345and map it into the...

View Article

Image may be NSFW.
Clik here to view.

FirebaseApp.configure() crashes app on launch

I'm working on a iOS project which uses Firebase for analytics, crashlytics and remote config fetching. For dependency management I use cocoapods and current version of Firebase in project is the...

View Article

How to fix: AttributeError: module 'twint' has no attribute 'Config'

I have installed twint with:pip3 install twintwhich resulted in a successful installation:Successfully installed twint-2.1.13It works to get tweets from twitter using Command Prompt(CLI) commands but...

View Article

Should I install files into the user home directory?

I have an application taking some command-line parameters. These parameters could be stored into a config file. This file resides inside the users ~/.config directory. I like to provide a default...

View Article


How to load a remote config file for a lazy loaded module in Angular

I have an Angular (v6) SPA with a number of lazily loaded modules. At present I have a json file holding config for the app that can be changed via a separate admin interface, without requiring a...

View Article

Selenium IDE pull Parameters/Variables from config file running through...

I would like to be able to pull my authentication parameters from a config file.My .side.yml file currently contains:capabilities: user: "admin" pass: "only_4Admin" browserName: "chrome"baseUrl:...

View Article


Read from Nlog config?

I have the following NLOG target in the config file : <target xsi:type="File" name="communicationTarget" fileName="${basedir}/logs/${shortdate}.log"><layout xsi:type="JsonLayout"...

View Article

environment variable in logstash

In my Logstash config file I have many jdbc inputs and all of them use the same database and the same credentials.Can I somehow define environment variables once and then use them in the config file...

View Article


Can someone help me interpret MSI Afterburner config file for a mouse button...

total newb here. MSI afterburner has a video capture feature I am fooling with. In the settings, you are able to define a push to talk keyboard hotkey so that its not ALWAYS recording your mic. I would...

View Article

TypeSafeConfig and PureConfig - load a Map[String, Any] value from config

I'm trying to load up a Map[String, Any] from the config file. It's currently written like thismap-name { stringValue = "firstValue" intValue = 1 booleanValue = true }Pureconfig is having trouble...

View Article

Image may be NSFW.
Clik here to view.

answers open cart configure config file [closed]

Hy i have open cart issue open cart front page seems blank but admin view working fine.

View Article
Browsing all 5049 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>