Most voted "yaml" questions
YAML is a human-readable data serialization format inspired by languages such as XML, C, Python, Perl, as well as the email format specified by RFC.
Learn more…18 questions
Sort by count of
-
16
votes2
answers8142
viewsWhat is it and what is YAML for?
Briefly, what is YAML? What are the advantages of using it? What are the disadvantages in its use compared to XML and/or JSON?
yamlasked 9 years, 3 months ago Wallace Maxters 102,340 -
5
votes1
answer648
viewsHow to read Yaml with Python?
How do I read a Yaml file or code with Python? You need to install something, or you can do it natively? Example: fruits: - Apple - Orange - Strawberry - Mango…
-
4
votes1
answer346
viewsWhat is a YAML file and when should we use it?
What is a YAML file for and when it is appropriate to create it in a project?
-
3
votes2
answers230
viewsHow to convert a yaml to PHP array?
How could I do to convert data yaml in a array of PHP? Yaml example: Usuario: nome: Wallace idade: 25 linguagens: - PHP - Python - Javascript…
-
3
votes1
answer35
viewsHow to serialize Object for yaml in . NET?
We can serialize objects (I’ll use as an example C#) for XML, using the class System.Xml.Serialization.XmlSerializer, for example: var obj = new AlgumaClasse();…
-
2
votes3
answers211
viewsRegex to ignore invalid file names
Hello, I’m trying to add a regex to app.yaml to ignore files with strange names on Google App Engine, but it’s not working. My regular expression: skip_files: - [.\\~#%&*{}:<>?|\"-!] I’m…
-
2
votes1
answer972
viewsLaravel: Pass parameters on routes
I am developing a CMS system, where I choose the component that the user that on your site page. In this line of code I load the data of the components, this data is coming from a file…
-
2
votes1
answer199
viewsHow to get all 'Yamldotnet' values in 'File.yml'?
I’m working on a.yml file and I want to get all the values it contains in that file. I’m using the reference Yamldotnet.Serialization. What I want to do is take a certain value and display the…
-
1
votes0
answers35
viewsHow to use Oauth in the application.properties file?
I had an application.yml file using Oauth as follows: oauth: enabled: true all-in-one: true But now I need to use the application.properties file and the structure is different. I thought it was…
-
1
votes0
answers34
viewsHow to get the name of a section that contains a String
The code serves to get all the sections in the YML file, so far it is working, but I do not know how to get the section that contains the name "So-and-so", for example: Grupos: Usuário: pessoas: -…
-
1
votes1
answer178
viewsHow to indent a yaml file using regular expression?
PROD ="IND" LOCATION ="NY" LOLO ="abc" yaml_content = """ MAIN : PROD : {} LOCATION : {} EXTRA : LOLO : {} """.format(PROD, LOCATION, LOLO) yaml_content = re.sub("\n\s", "\n", yaml_content.strip())…
-
1
votes1
answer58
viewsGoogle App Engine Python project works on localhost but gives server error
My project is running perfectly on the localhost but when I deploy and access it gives the following error: Here is my code: import os import jinja2 import webapp2 import json from…
-
1
votes1
answer78
viewsHow to assign recover ip from a service within Docker-Composer?
I’m trying to raise Zabbix on Docker, I created a Docker-Compose with several services, one of them is the database. I need to survey the database first and then take the IP of the database and set…
-
1
votes1
answer90
viewsHow to read the contents of a "Generator Object" from the load_all method for yaml file?
I need to maintain a function that returns me a Generator Object from a yaml file. In another function I want to access the yaml file data. import ruamel.yaml def load(): yaml =…
-
0
votes1
answer68
viewsJobject.Parse returning null
I’m not very suited to Youtube Api V3. But I watched a google Developers live where the google operator shows how to list the activity of a particular channel. Based on that I executed via GET at…
-
0
votes0
answers205
viewsHow to install python-yaml?
I installed the python-yaml module in an earlier version that I am using now, using apt-get install python-yaml, but now when I went to try to use the module in the new version it says it does not…
-
0
votes1
answer535
views -
0
votes1
answer37
views_wdt route error after installing Profiler on a basic Symfony 4 structure
In a basic installation of Symfony 4, unlike the full installation, it does not come with the debug profiler - development tool that provides detailed information on the execution of any order.…