All Questions

3
answers

Can the + symbol in the name of a site affect searches?

Good evening, I have a site that has the symbol + in the name, this can affect the searches in Google, it will be better to put in the name of the site ... More?     
asked on 21.05.2015 / 22:19
2
answers

Help with jQuery. in calculation of plots!

I'mdevelopingasystemwheretheusercanselecttheamountofparcelshewantstosplithispurchase..untilthenokay..butafieldwasrequestedwheretheusercanentertheamounthecanpayperinstallment..andwhenfillinginautomaticallyhemustidentifywhichvaluethatdividedby12c...
asked on 29.09.2017 / 21:47
2
answers

Financial Mathematics Equation in Java

How can I encode this equation in Java? 750=(1-(1+j)^(-10))/j*86     
asked on 04.11.2017 / 02:33
1
answer

Is it good practice to carry out imports within methods?

Is there any advantage when performing import within methods rather than performing the "traditional" import in the program header? If I perform the import into the method, will the module be imported only when the method is called? So...
asked on 29.10.2017 / 17:01
2
answers

How to create a vector whose indices are characters of an informed string?

I wanted to create a vector in java in which each index of the vector was a character of a string that I / public static void main(String[] args) { String[] words = {"java"}; System.out.println("\n"+words[3]); //para dar um print na...
asked on 14.11.2017 / 01:17
4
answers

Which way can I use regular expression to capture only some attributes of links

I need basic example (s) of how I can compose a tiny script to just get the contents of the attribute href . I will simplify the explanation in two groups, they are: A and B In Group A we have the respective links started...
asked on 14.12.2017 / 06:44
1
answer

Unsecured script

I'm developing a website with 2 scripts. But by submitting the site to the testing area, the scripts do not load, as in the image below. What should I do to run automatically and be recognized as safe?     
asked on 17.10.2017 / 19:24
1
answer

Regex to optimize code change using Notepad ++

Hello, someone can kindly help me create a regex expression for the pattern below. I have in my php code the following pattern: htmlspecialchars($str) I need to create an expression that replaces this with this: htmlspecialchars($st...
asked on 01.03.2018 / 20:15
1
answer

How can I set a value in a specific variable in a function with optional attributes?

I made the following code to illustrate my problem: function teste($valor1 = '', $valor2 = ''){ echo "Valor1: " . $valor1; echo "</br>"; echo "Valor2: " . $valor2; } A very simple function, if I do this: teste('aqui',...
asked on 05.03.2018 / 15:47
3
answers

How to sort the query in the same order as an array used in WhereIn?

I would like Laravel to return a list of products where the ID belongs to this array: [12,5,1,8,16] , but sort by id according to array order! * What I have so far: $produtos = Produto::whereIn('id', $ids) ->orderBy( adici...
asked on 05.12.2017 / 15:30