Problem When testing or debugging applications it’d be often useful to be able to run it without certain features like […]
Tag: configuration
Simple Configuration System
Problem I have created a simple ConfigManager in C# that loads each line of a file. If the line contains […]
ini file parser in C++
Problem Please review my ini file parser (and potentially some general config file formats). The data structure used is a […]
Stop exam cheating using python: Part 2 – Argparse and config
Problem Intro This is a spiritual successor to the question Stop cheating on home exams using python The details are […]
Configuration concept and implementation
Problem I created an API to load, save and read user configuration in my application. I’ve a Configuration interface which […]
Node.js configuration object based on environment variables
Problem In the code below, I am building a NODE_ENV-sensitive config object from environment variables. let username let password let […]
A class to load, check and supply configuration data from a .py file
Problem The callable class below loads configuration data, formats it into a form compatible with my application(from its human-friendly version), […]
Elastic Beanstalk configuration using ebextensions container_commands combining leader_only and test
Problem For our Django app running on AWS Elastic Beanstalk, we use a web-server/worker setup. The same code is deployed […]
Construct SQL query with a lot of parameters from configuration
Problem I have implemented an interface through which one can select, update and remove items of the Account class in […]
Inheritable ConfigurationElement values in .NET
Problem I wanted to have a custom section in my app.config file in which any element could reference and reuse […]