All Questions

2
answers

How to sum all the elements of an ng-repeat? [duplicate]

Example: I have a ng-repeat any, which repeats each a number. How do I store a variable that is equal to the sum of this number of each repeat? Angular CodeJS: ngular.module('meumodulo', []) .controller('mercadoria', function($root...
asked on 27.09.2017 / 13:44
1
answer

JavaScript function to add days, is adding up a month ahead

I'm with this JavaScript function that is adding the days to a date, the days it adds up right, only instead of adding it to 10/24/2017 + 2 days = 10/26/2017 , he plays a month ahead, so stay that way 24/10/2017 + 2 days = 26/11/2017. Here's...
asked on 24.10.2017 / 18:27
1
answer

Text split in excel

I have to split the "Full Name" cells of my table in two. So I used two functions: "Left" to get the Name of the person and "Right" to get the last name. In which, everything that is until the first space is considered a name, and everything...
asked on 02.10.2017 / 19:59
1
answer

What is the difference between Type-safe and Null-safe?

I'm writing an article about Kotlin, and I came across these guys if anyone can help me. What is the difference between Type-safe and Null-safe?     
asked on 24.10.2017 / 19:30
1
answer

Recursive binary tree and sum of leaves

Friends I'm having trouble resolving this exercise, and I do not know how else to do it. I got to implement the tree with recursion, but I could not leave the Knot empty and some sheets with number, according to the exercise. Then I need to add...
asked on 29.10.2017 / 22:22
1
answer

Does URL size influence search engine rankings?

If I have a very long link , can this be penalized by Google or other search engines? For example: www.exemplo.com.br/catalogo/nome-do-produto-descrevendo-mais-do-que-o-necessario-deixando-a-url-muito-extensa Is it worse, in the v...
asked on 04.10.2017 / 21:44
3
answers

Do not my page accents appear?

I created a html page, however the accents are not being read, I already tested the following code but it does not work. <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> What can I do then?     
asked on 19.09.2017 / 16:18
3
answers

How to get the dollar variation of infomoney site?

This code picks up the dollar and euro values of the site. I would also like to get the var (%) which is the 5th column. See the source code and how it works by clicking here <?php if(!$fp=fopen("https://www.infomoney.com.br/mer...
asked on 12.09.2017 / 19:41
1
answer

What is the usefulness of Task.Yield?

The documentation for this method says:    Task Method. Yield () - adapted from English   Creates a startling task that returns asynchronously to the current context when awaited . I read the source code for it and got lost even...
asked on 24.09.2017 / 12:26
1
answer

How to change font properties in javascript

I need to change the font format and play over the icon as picture. Text is being displayed by: label: beach [7] for (var i = 0; i < locations.length; i++) { var beach = locations[i]; var myLatLng = new google.maps.LatLng(beach[5]...
asked on 01.09.2017 / 03:26