All Questions

3
answers

What is the meaning of an attribute being private and static at the same time in a class?

I'm studying about design pattern singleton , and in a code snippet in java , I came across a situation where I was in doubt. Here is the code snippet below: public class Conexao { private static Conexao instance = new Cone...
asked on 21.11.2015 / 16:26
1
answer

How do I increase the brightness of an element with Javascript / jQuery?

On my page I have several elements with different background colors. I would like to know how I could do to when clicking a button increase the brightness of the color, make it lighter. You can do this using javascript / jquery ? How?    ...
asked on 20.12.2013 / 04:45
1
answer

What is Yield for?

For some time now I have written some basic scripts with Python, in some tutorials sometimes I get the yield , which usually appears in repetition structures commonly while . What is it for? And how to use?     
asked on 17.10.2015 / 01:11
1
answer

Reserved word "this"

I would like an explanation with an example if possible, about the reserved word this in Java, I did not quite understand it.     
asked on 31.07.2014 / 03:34
2
answers

What is the difference between multi-layer and multi-tier applications?

What's the difference between multi-layer and multi-tier applications? One depends on the other?     
asked on 25.06.2014 / 19:18
2
answers

Why use error_reporting with display_errors and display_startup_errors?

I've been using it for a long time: error_reporting(E_ALL|E_STRICT); To debug scripts (note that I use E_STRICT just to maintain compatibility with older versions of PHP), but I noticed that other people often use ini_set('display_...
asked on 04.01.2016 / 02:45
2
answers

What is the clip property for?

I was taking a look at a code where I taught some techniques to create a responsive table. I came across the use of property clip , followed by rect(0 0 0 0); . Then I had this doubt: What is the clip property?...
asked on 11.04.2017 / 14:23
2
answers

What is the difference between Apache Cordova and Ionic?

I have some questions regarding Apache Cordova and Ionic. Both for me, look the same thing for the same purpose, allow the creation of hybrid applications for mobile devices. See that on the Ionic site you need to have Cordova installed for...
asked on 11.09.2017 / 00:54
2
answers

What is the difference between "git init" and "git init --bare"?

The question is very simple indeed: What is the difference between these two commands, git init and git init --bare ? What is this --bare ?     
asked on 11.08.2015 / 18:43
3
answers

Is it common to have several different servers for the same web application?

Scenario: I'm starting to get involved in developing a web application. This application is not yet available online, that is, we only have it here on the test server where we have, on the same machine, Redis, SQL Server, IIS, among other thi...
asked on 14.04.2016 / 20:43