All Questions

2
answers

What is a scalar variable?

I was reading the PHP documentation and a function is_scalar() - as said by the site itself - when it is used it will inform if a certain variable is scalar. However, I wanted to know more about these scalar variables: What is a sca...
asked on 18.08.2017 / 20:53
3
answers

How to create a box with two-sided lines only with CSS

I'm looking for a help from where to start in order to be able to create a structure totally in css like in the image below. I know this may sound very simple, but I can not get you started.     
asked on 16.04.2015 / 04:03
3
answers

What do the two consecutive points (..) mean in a file path?

I still do not understand what this means. Why should I put these two points? Example: ..\Images/Logo.png     
asked on 28.10.2016 / 19:33
4
answers

Capture user-entered input with PHP Shell

How can I get you to retrieve input data. Example: > Qual seu nome? ...Usuário digita o seu nome... > Olá, $nome-digitado How can I do this via Shell Script in PHP .     
asked on 02.01.2017 / 02:12
7
answers

How to reset CSS formatting?

It was not uncommon to go through situations in which the browser itself interferes with the stylesheet by adding defaults, such as size of margins and font of headers, the default height of the line. Is there any way to reset a CSS, ie "rese...
asked on 16.12.2013 / 15:47
4
answers

Equivalent to SOMASES of Excel, in R

I'm digging into R and looking for a function that is equivalent to the excel somases. I have this following DF: Day.of.Week Hour Quantidade 5 21 5044 3 12 5024 1 11 4725 0...
asked on 29.03.2016 / 22:35
2
answers

Permission denied when moving file with move_upload_file on Linux server

I'm trying to use move_upload_file to move a file uploaded by the user to their final destination: $pasta = '../../public_html/admin/helpdesk/ticket/uploads/'; if (!empty($_FILES['img']['name'])) { foreach ($_FILES["img"]["error"...
asked on 21.01.2014 / 12:53
4
answers

What is assembler?

I always read things related to the assembler and I get confused. At first, I thought this was a mess and that assembler was the same thing as assembly. But it does not look like this. What is assembler? And what's your relationship with asse...
asked on 20.01.2017 / 17:10
4
answers

Is method overload less performative?

I was reading about interfaces as part of my studies and came across an overloading class of methods, with two comments saying that this should be avoided. I was in doubt about it affecting the performance. Affect?     
asked on 21.10.2017 / 06:15
3
answers

Generic class property

I have a class with two properties ( Name and Value ). The property Name is a string , already the property Value want to leave the type variable. public class Field<TValue> { public string Name { get...
asked on 27.09.2017 / 19:11