All Questions

2
answers

How do I disable Google Chrome Pop-Up to save passwords?

How would a method to disable Pop-Up:    Do you want Google Chrome to update your password for this site? Feelfreetochoosethelanguage,buttheanswerwithJavaScriptwillbetheacceptedanswer.Nota: AutoComplete='Off' indicates t...
asked on 07.08.2017 / 15:52
1
answer

Search for people with similar names

I'm developing a code to search for people's names intelligently using the SQL SERVER LIKE operator. In names like Souza and Sousa, use brackets [] Ex.: select * from pessoas where nome like 'joão sou[sz]a%'; The above example returns me...
asked on 14.03.2018 / 16:11
1
answer

What's wrong with this code?

My college teacher gave us this code and was asked what's wrong: public class Teste { private static Teste INSTANCE = null; public static Teste getInstance() { if ( INSTANCE == null ) { INSTANCE = new T...
asked on 14.02.2018 / 15:24
1
answer

Text Position in pie chart in ggplot2

I have the following table Var1 Freq Percentual Até 50 anos 4657 2.98% De 51 a 60 anos 32009 20.47% De 61 a 70 anos 57368 36.68% De 71 a 80 anos 46075 29.46% Mais de 80 anos 16299...
asked on 06.07.2017 / 15:34
2
answers

Why do line breaks between elements cause space between them?

I was doing an organization on some code here before commitar and realized that an indentation in HTML caused a problem in my layout, so I went to inspect to find out what I had done wrong besides indenting, and found that the line breaks for in...
asked on 16.02.2018 / 16:54
4
answers

DataTable does not sort correctly

I'm using the datatables plugin to render results in a table. The problem is that the first column has 3 dates: 26/11/2015 19/11/2015 03/12/2015 I need to sort the results of dataTables based on these dates. The correct would be fr...
asked on 29.11.2015 / 02:29
1
answer

Categories tree in MongoDB, how to model?

Good night, guys. As MongoDB changes a lot of our way of modeling a database, I came across a question that may be half-beast. I'm doing a Restful API using Lumen and MongoDB as a database, and I want to create a collection of product cate...
asked on 07.10.2015 / 04:49
1
answer

Simulate click with jQuery after inserting link via jQuery

I have to open another tab with a link that is returnable from PHP to jQuery. I've used window.open but it asks to release popup and the client does not like it at all. So I thought of doing, when jQuery receives the link, it chang...
asked on 25.11.2015 / 03:25
1
answer

What is the difference between revalidate () and repaint ()?

When working with swing, we usually call one of these methods after some change in screen components. But what's the difference between using repaint() or revalidate() ? In what situation should I use one or the other, or even t...
asked on 28.07.2017 / 16:18
1
answer

Difference between "list (range (1, 10))" and "range (1, 10)"?

I asked this question here Formatting All the elements of a list in Python? . In one of the answers, @CiganoMorrisonMendez put the following excerpt: list(range(1, 10)) However, whenever I used Python , I used range(1, 10) Is...
asked on 28.10.2015 / 19:59