How-to articles, tricks, and solutions about YAML

How can I parse a YAML file in Python

To parse a YAML file in Python, you can use the yaml library.

How to access an application parameters from a service?

In PHP, you can access application parameters from a service by injecting the ParameterBag object into the service class constructor.

Setting active profile and config location from command line in spring boot

To set the active profile and the configuration location from the command line in Spring Boot, you can use the spring.profiles.active and spring.config.name properties.