All Questions

2
answers

How to limit the interval between two dates in the input type="month"?

Although they are 3 questions, I think they all apply to the same case on the range / range Is it possible to limit the "interval" between two dates in <input type="month"> ? If yes, is there any mandatory format we should f...
asked on 06.09.2018 / 16:57
3
answers

How to handle NullReferenceException with Lambda

I have a class to search for DisplayName of my entities, where I pass the entity and class returns a list with the actual values and name of each entity attribute. My problem is when I search, and some attribute in the entity does not...
asked on 25.04.2017 / 03:43
2
answers

Angular blocking submit form GET

I have a form where I send a query to the current url, via parameters GET . For example, I have url/teste , when sending the query through this form, it will be url/teste?term=minha+consulta . I did not use Angular in...
asked on 08.08.2016 / 17:08
2
answers

Displaying the last 30 days of a query

I'm trying some alternatives to show only the records of the last 30 days, but I could not make it work, the query I have looks like this: SELECT comunidade.descricao AS nomeunidade ,comcargo.descricao AS nomecargo ,comcolaborador....
asked on 03.02.2017 / 18:31
1
answer

Why use static methods in python

I am studying on the subject of the title and I can not get the idea with the explanation video and Stk I found, then when and why you use static method @staticmethod in python, there is a positive addition to just do not reference the ob...
asked on 12.06.2017 / 21:11
2
answers

ArrayList declaration with type or without

I would like to know the difference in declaring a ArrayList like this: List<BancoPerguntas> listaBancoPerguntas = new ArrayList<BancoPerguntas>(); List<BancoPerguntas> listaBancoPerguntas = new ArrayList<>();...
asked on 31.03.2018 / 03:08
2
answers

What does [] mean in angular.module

I'm a beginner in AngularJS and started reading about modules in an application. When I want to create a new module, I write the following line of code: var myAppModule = angular.module('myApp', []); As far as I understand, the myApp...
asked on 31.01.2017 / 17:43
2
answers

How to determine if a number is infinite using JavaScript?

Is it possible to check if a given value is an infinite number using JavaScript?     
asked on 06.09.2016 / 22:04
3
answers

Why does AngularJS default to # in the URL?

I had a question and would like to know why Angular uses # in the url?     
asked on 21.12.2016 / 12:54
4
answers

Upload with Ajax and formData does not send data

I have a problem and I can not solve it, I'm trying to upload via ajax and php , I already got some tips here for SO , but I still have problems and I know the big chance of doing something bullshit is great. I'll try to show....
asked on 01.02.2017 / 13:06