Posts by Henrique Lemes Baron • 107 points
11 posts
-
1
votes2
answers96
viewsA: How to stop a Quarkus application?
This problem usually happens when initializing the quarkus by an IDE, I usually use the terminal to initialize, and when I need to debug, I perform the remote debug but if you prefer to continue…
-
0
votes1
answer35
viewsQ: Dict with repeated Python attributes
Good afternoon! I’m putting together a formdata for a post, formdata = { 'data': '', 'controle': 'ADMIN', 'g-recaptcha-response': recaptcha_response } for numero in nDams: formdata['nu_dam[]'] =…
-
0
votes1
answer38
viewsA: Select 1:n and n:1 using JPQL
I took care of it, I wasted a lot of time on this" StringBuilder jpqlBuilder = new StringBuilder(); jpqlBuilder.append("select new br.com.ecommerce.domain.dto.ProdutoDTO( "); jpqlBuilder.append("…
-
0
votes1
answer38
viewsQ: Select 1:n and n:1 using JPQL
Good night, I am trying to select between 1:n and n:1 tables using jpql table categoira @NotNull @Column(nullable = false) @OneToMany(mappedBy = "categoria") private List<ProdutoCategoria>…
-
0
votes1
answer351
viewsA: Add profile to Webdriver Firefox
I was able to solve it this way FirefoxOptions options = new FirefoxOptions(); options.addPreference("browser.download.folderList", 2); options.addPreference("browser.download.dir", paramDownload);…
-
0
votes1
answer370
viewsA: I need to copy a value that is in "value". I am using Eclipse Java Selenium Library
You have 2 ways, can try to catch what is visible in the element with the nrProposta.getText() which I believe in your case will suffice. or take an element attribute with the `…
-
0
votes1
answer51
viewsA: How to compare two Viewmodel
You can override the Equals method of the Custoviewmodel class public override bool Equals (object o) { if (this.Id == o.Id && this.Nome == o.Nome) { return true; } else { return false; } }…
-
-1
votes1
answer351
viewsQ: Add profile to Webdriver Firefox
Good morning I am automating a website, and to run some features it is necessary to use an extension in the browser. First I was trying to add the extension to the web driver with the FirefoxOptions…
-
1
votes2
answers430
viewsA: Regex to get different snippets of a file
SOLUTION I managed to make a regex that takes everything, but in different groups (?!/\\d{1,}\\)\\s/)+?\\d{1,}\\)\\s(.+?)(\\n|Endereço(.+?)\\n)(.+?)(\\n|\\((.+?)\\n)(.+?)CEP:\\s(.+?)\\s street =…
-
1
votes2
answers430
viewsQ: Regex to get different snippets of a file
I need to make a regex that takes the address of the person. I can receive 2 types of text with the address. In the first case it comes alone, and get with this regex:…
-
2
votes2
answers811
viewsQ: Oracle JDK 8 is NOT installed
Good evening, I’m having trouble installing java8 in umbuntu I have tried to delete all apt-get I have installed, and reinstall. I’m following this one…