All Questions

2
answers

What are the differences between the available versions of Visual Studio 2015?

Last year was announced 3 versions of Visual Studio 2015 : Community, Professional and Enterprise Based on the tools available in each version: What do I lose between using one and another in part productivity and tools available? (op...
asked on 06.04.2016 / 23:12
2
answers

What is the difference between "/ *" and "/ **" comments in PHP?

I've always been curious about this, but since I've never changed my life into anything, I've never tried to find out. If there is a difference, what would be between these types of comments in PHP? /* Comentário 1 */ /** Comentário 2 */...
asked on 24.10.2015 / 20:11
2
answers

Merge two arrays into JavaScript

Imagine that I have two arrays: var array1 = ['abc', 'def', 'ghi']; var array2 = ['123', '456', '789']; I can use the .concat() function to join both arrays one after the other, for example: array1.concat(array2) // ['abc', 'def'...
asked on 27.01.2016 / 20:20
1
answer

What is curl / curl_setopt

I'm doing an integration with MailChimp, and I came across this code: $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $submit_url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT...
asked on 16.04.2015 / 15:06
3
answers

What is the function of this 'e' that is passed as a parameter?

The example I'm going to show here is just to illustrate. I would like to really understand how this e works, which is usually passed as a parameter in several functions, that encounters in codes out there. $(".fotos").each(function...
asked on 25.09.2015 / 16:10
2
answers

When should I use the class attribute in HTML elements?

I feel irresponsible to use as many class at will, without limits, at any time in any situation, whether to use CSS or to use with JavaScript. So I ask myself, is it that I'm right, or does class actually have well defined main goa...
asked on 14.03.2016 / 00:10
2
answers

How to count the number of characters of the word that came from the first line of a text file?

Below is an example of how to count the number of characters in a string: $palavra ="coisa"; echo strlen($palavra); //retorna o número 5 However, I'm getting this word from a text file and strlen is not working, see: $f = fopen("palavra...
asked on 24.08.2014 / 16:56
2
answers

A Absence of semicolons in CSS and Javascript can influence the operation of the code?

I always leave my css and javascript code minified but never noticed the generated output. Well, I noticed that the last rule of a selector (in css) and the last function (in javascript) always misses the semicolon. For example, a simple rule in...
asked on 28.10.2014 / 14:45
3
answers

Algorithm language C - Multiplication

   Translate into the C language: Take a number from the keyboard and repeat the operation by multiplying it by three (by printing the new value) until it is greater than 100. Eg if the user types 5, screen the following sequence: 5 15 45 135....
asked on 09.06.2014 / 22:33
1
answer

Scroll bar on a table with bootstrap

I have a table, where I load information from the database into it. It has two columns (CNPJ and Social Reason). The table I mounted with bootstrap. I would like it to have a maximum height and create scrollbar (I find that difficult), as I do n...
asked on 27.06.2014 / 15:01