All Questions

3
answers

How to edit an incorrect commit message in Git?

How to edit an incorrect commit message in Git? Can you cite examples?     
asked on 05.05.2015 / 17:50
2
answers

Is there any way to enable browser fullscreen with Javascript?

I notice that the main browsers are in full screen mode when pressing the F11 key, is this a functionality of the browser itself or is it possible to activate this through some Javascript code? If you can not do it via code, just open a new w...
asked on 10.01.2014 / 19:38
3
answers

What is the difference between checked and unchecked exceptions?

Hello! I have some doubts about exceptions, which are: What is the main difference between checked and unchecked exceptions? In what situations should I use each one? What are good usage practices?
asked on 27.03.2014 / 03:44
1
answer

Is it always possible that (a == 1 && a == 2 && a == 3) can be evaluated as true in JavaScript?

Can (a == 1 && a == 2 && a == 3) be evaluated as true ? This is an interview question from a large technology company. I'm trying to find the answer. I know we never wrote this code in our day-to-day life, but I'm...
asked on 24.01.2018 / 02:00
1
answer

Desktop notifications in Chrome with Javascript

I have an application where I need to send notifications to the user, and I would like these to appear on the desktop, as shown in the example below. Is it possible to do it with Javascript ? If yes, how? I did not want to use alert()...
asked on 17.01.2014 / 01:43
3
answers

Comments weigh?

Reviews weigh? I leave comments throughout my code, will influence something on the site? I'm saying more specifically in HTML, CSS, JavaScript, PHP.     
asked on 19.04.2017 / 14:04
2
answers

URL friendly, how to work with HTACCESS

I have created some rules in my .htaccess file to format the URL view, but I am having difficulty passing the parameter to the page that shows the products and show formatted, the code looks like this: RewriteEngine On RewriteRule ^P...
asked on 11.03.2015 / 21:19
2
answers

What is Connection Keep-alive?

When I check the headers I am sending to a php page, which is installed locally, I always see this Connection: Keep-Alive Example: var_dump(getallheaders()); Output: array (size=7) 'Host' => string '127.0.0.1' (length=9)...
asked on 05.08.2015 / 17:38
4
answers

Capture the JSON values that are Online

My problem: I need to read a JSON that is in a certain URL. I tried the following code, but it does not work: JSONObject jsonObjeto; JSONParser parser = new JSONParser(); URL url = new URL("http://www.exemplo.br/teste.json"); String x =...
asked on 18.02.2014 / 18:44
3
answers

How to create a conditional index in MySQL?

How to create a filtered index for a specific range of data? As far as I know, it is impossible to do this directly in MySQL. On some other database systems, there is usually a WHERE clause for this filter. Some systems use another name fo...
asked on 23.01.2014 / 03:58