Questions tagged [configuration-files]

Files that configure the initial settings for some computer programs.

2246 questions
0
votes
1 answer

How to design a simple proxy server that reads configuration files and blocks some websites?

Hi i was thinking to build simple proxy server for my flat so that our flatmates are not spending hours and hours downloading stuff, streaming on youtube and eating all the bandwidth. How am i going to build a simple proxy server so that i can…
skidder
  • 13
  • 3
0
votes
1 answer

How to combine project yml configurations for Quarkus in profile.yml

We've used quarkus as basement for new project services. Considering its configuration, it can be configured using yml files. To follow this way, added io.quarkus
Sergii
  • 7,044
  • 14
  • 58
  • 116
0
votes
2 answers

what is the purpose of dbus interface xml file?

I am reading D-Bus API Design Guidelines: Interface files for public API should be installed to $(datadir)/dbus-1/interfaces so that other services can load them. OK... in order to understand how these interface files work, I open the file…
John Smith
  • 1,027
  • 15
  • 31
0
votes
0 answers

Storing passwords in 2022

I have a Windows VB Net desktop application using MySQL server on a remote host. What are the security risks of using a encrypted connections strings section in the configuration file? If it is safe, would you trust it enough to keep the MySQL root…
0
votes
1 answer

ConfigParser: Check If variable in Config File exists

I am currently trying to check if my config file has a variable in it. In the documentation I only saw a check for the sections but not a variable inside the section. Current code: #!/usr/bin/python3 from configparser import ConfigParser def…
0
votes
1 answer

Process variable names in JSON configuration file in Powershell

So, I am more writing this question to see if something is possible via simpler means than writing my own parser/interpolater. I have a json configuration block. It should be noted that this block is built from a combination of a file and some…
0
votes
2 answers

Writing to config.py file from another python script

I've created a python script that reads from a config.py file using import config to inform it's output. config.py: current_brightness = 0 script.py: import config set_brightness(config.current_brightness + 1) I need current_brightness to be…
Michael Moreno
  • 947
  • 1
  • 7
  • 24
0
votes
0 answers

Any way to generate Intellij run configurations?

it would be great to generate run configurations in Intellij IDEA using a script. I did not find any API for that. I found runConfigurations.xml and workspace.xml in the .idea directory, but did not find any documentation about it's structure. Is…
0
votes
1 answer

How to deal with specific client configuration and apk

im mostly a web developer but for one project i have to to create a mobile app certainly with xamarin. As we deliver our webapp to each client we will also distribute the mobile app to each client. The problem is that each client have specific…
JulienG
  • 158
  • 1
  • 14
0
votes
1 answer

When using JSON-based config files for Typesafe configuration (instead of HOCON) how to include another file?

I have successfully used the include directive with HOCON before. However, my current project requires that our config files be defined in JSON for client specified reasons. This is fine, but I also need to factor out common elements of these…
Chris Bedford
  • 2,560
  • 3
  • 28
  • 60
0
votes
1 answer

How to insert the configuration.nix file inside my dot files?

I am creating my dot files following this tutorial. It successfully works for emacs.d. Since I am using NixOS, I tried doing exactly the same steps with symlink creation for the configuration.nix file. Thus, I did: 1 - On…
Pedro Delfino
  • 2,421
  • 1
  • 15
  • 30
0
votes
1 answer

Provide persistent configuration on ASP.NET Core WebApp Hosted on IIS

I want to use the very simple WebDeploy feature to publish a webapp for a client via VPN. IIS is on a client server, managed by trusted parties. I want to put my configuration parameters on said server, without having to write sensitive data in my…
Linken
  • 47
  • 4
0
votes
2 answers

Zero dependency from the client configuration files for WCF services

Our aim is to have Zero dependency from the client configuration files for WCF services. we are using ConfigurationChannelFactory() to create the channel and specify the ConfigSettings. ConfigSettings is loaded using the following…
motocoder
  • 1
  • 1
0
votes
1 answer

Best way to declare additional data and modules in a Django project

Issue #1 I'm looking for the best practice in order to declare the additional data in a Django project. Imagine I need to store a huge list of choices to use in app1/models.py (I have seen a lot of best practices keep declaring those choices in the…
0
votes
0 answers

Is there any way to create multi log file with one configfile.properties?

In python I wrote the configfile.properties file as following for…
lida
  • 137
  • 1
  • 9
1 2 3
99
100