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

learn more… | top users | synonyms

0
votes
0answers
41 views

libconfini (shared library)

I recently wrote a small INI parsing library. The code is also on GitHub, with documentation. I would like to have opinions, suggestions, and critiques. confini.h ...
2
votes
1answer
67 views

C# XML Config File

I'm trying to find a simple, clean and fast way to implement an XML config file in C# without any 3rd party tools. It also should replace this restricted ...
4
votes
1answer
52 views

Script to send push notifications using email, Pushbullet, or Pushover

I have built a tiny script to send out push notifications. I would be glad to receive general suggestions / feedback. My main problem is that the only security offered is coming from the OS ...
1
vote
2answers
68 views

Webdriver-based test that uses configuration parameters from a database [closed]

I am writing automated functional tests for my application. To interact with the application, I use the SQL database to retrieve data and validate data. One of the challenges that I'm facing is that ...
6
votes
2answers
81 views

Simple ini file parser

The below is a C++ parser for a reasonably simple INI grammar (although my understanding is that there isn't an official spec as such). My grammar is roughly: ...
2
votes
0answers
87 views

Implementation of custom config section

i recently wrote my first custom config section. I have a collection of index files, each has a path and a savetime: ...
7
votes
3answers
339 views

ini file parser in C++

Please review my ini file parser (and potentially some general config file formats). The data structure used is a section, see below. Does that seem a good approach? I was wondering about the name. ...
1
vote
0answers
105 views

Simple YAML-based config file parser

I have written a simple yaml based config parser in Python. The idea is that it will get passed around in other scripts after being initialized with a config file within a main function. I am ...
4
votes
2answers
62 views

Creating a device configuration

During the test process of a device, there is a procedure that sets a device in a state in which it is ready to be tested (typically by writing default measure parameters, 3G connection parameters and ...
4
votes
2answers
467 views

SSH passing your Public key to all the users on remote host

I've grown tired of typing my password back and forth to all the hosts you connect to, i want to be able to jump to every single user on all the hosts with ease. So i've made this script with a ...
2
votes
2answers
147 views

Loading settings from a file to a dictionary

Today I coded a class to get settings from a file and to load them in to a dictionary. Please post and feedback, improvements and changes, no matter how big or small, as long as they are actual ...
1
vote
2answers
59 views

Class to read the property files

I wrote the following code to read the config/property files. I will be exposing my api as jar to multiple application teams. Functionality: Reads the property files and returns the resource bundle ...
3
votes
2answers
45 views

Configuring fields to be extracted by a data processor

I solved this problem using closures with Perl and I wonder if/how I could/should have done it differently? Background: User creates config file describing properties of some source data file that ...
3
votes
3answers
73 views

Application that processes XML based on configuration

I used CodeClimate to evaluate my code and marked that the following piece of code appeared twice in my source: ...
3
votes
2answers
69 views

Read a config file into an array

I just wanted to know if this looks like a good way of reading a config file. Is this code good? Is it clean and easy to follow? ...
3
votes
1answer
56 views

PHP Configuration class

Created this little config class, any room for improvements? Think I have done an alright job but would like to know if any improovements could be made? ...
3
votes
1answer
136 views

Inheritable ConfigurationElement values in .NET

I wanted to have a custom section in my app.config file in which any element could reference and reuse (or better said could inherit) any string value that is defined in it or above it in the element ...
6
votes
3answers
203 views

Loading Configurations from plist into singleton

In my iOS application, I've created a singleton class that reads a configuration plist file and provides accessor methods to easily retrieve the values: ...
7
votes
1answer
105 views

Configuration concept and implementation

I created an API to load, save and read user configuration in my application. I've a Configuration interface which provides the basic methods to read, save and read ...
8
votes
3answers
205 views

Abstracted Interface for Settings

I just learned about the beauties and wonders of interfaces and I realized how I could fix some code that has been bothering me because of its duplication. This is ...
5
votes
2answers
137 views

Reading configuration from a file for video rendering

I haven't done anything similar so I got nothing to go on. The point was to load everything from the file and I thought a struct would be a good choice to be the ...
5
votes
4answers
335 views

Ini file parser project

I would appreciate any opinions and critiques anyone has on my code. My code allow you to read a ini file. parser.c ...
12
votes
4answers
283 views

Rolling my own Configuration with UI

The Rubberduck Saga continues as I find a need to roll my own configuration. Since the program is really a *.dll and available to several host applications, using app.config is not an option. I ...
4
votes
2answers
625 views

Reusable configuration reader for Java

This is related to a question I posted on Stack Overflow. The consensus was to use JAXB, which is what I did. One of the requirements was that it needed to work with legacy XML configuration files. ...