All Questions

3
answers

Header Redirect to a page after validating PHP

Good morning community: I am currently working on a system, the validation redirect, that is, after the system validates all the data entered and proceeds to give access to the system, it always did it in the small projects that I had worked...
asked on 07.05.2018 / 14:33
2
answers

Difference between input list and select

Good, what's the difference between using a input list or select ? Here's an example below. <input list="browsers"> <datalist id="browsers"> <option value="Internet Explorer"> <optio...
asked on 18.01.2018 / 22:14
1
answer

Docker compose auto start on restart

I need to launch a docker-compose on an ubuntu-server every time it is restarted. I tried to create a crontab like this: @reboot docker-compose -f /home/user/docker-compose/docker-compose.yml up -d But when I restart it, this has not wor...
asked on 13.01.2017 / 19:56
5
answers

How to refer to a textView that is in a Layout that is not that of the setContentView ()?

UPDATE I have 2 layouts that are loaded at the same time, in the 1st layout activity_main.xml I have a listView and a textView , in the 2nd layout single_post.xml I have 4 textView that a...
asked on 02.03.2017 / 06:07
2
answers

Python operation

As I understand it, when creating a variable, we are creating an object, and the name of the variable refers to it. If I do: a = 2 a = "Hola" The garbage collector is responsible for deleting object 2, since it does not need it and no ot...
asked on 20.02.2017 / 13:23
2
answers

calculate difference between dates

I am trying to calculate the difference between two dates with the format Y-m-d H:i:s for example 2017-04-10 22:39:09 par that shows me the difference of days, hours and minutes. One of the dates will be the one in the BDD and the...
asked on 11.04.2017 / 00:22
3
answers

Difference between Bubbling and Capturing

What is the difference between event event bubbling and capturing? Which of the two is the most indicated to use? In which aspects is each of them more efficient? In which cases would we use each of them?     
asked on 28.09.2017 / 13:18
1
answer

How to calculate the difference in hours between these dates? MySQL

The starting time and date is: 2007-12-31 23:59:59 and the end time is: 2018-03-06 17:44:09, I want to calculate the difference of hours between these dates. I thought that with the hour it was enough, but no, you have to calculate the days too...
asked on 06.03.2018 / 19:23
2
answers

Send data to the server using Ajax using JavaScript Promises

Since the Javascript Promises promise a lot. One of the things that I would like to know is how to make an Ajax request with promises , in pure Javascript, without having to go through third-party libraries. It would be a request that adequa...
asked on 14.07.2017 / 15:23
2
answers

Problems with javascript date

I have the following code: var max = new Date().getFullYear(), min = max - 90, select = document.getElementById('selectYear'); for (var i = min; i<=max; i++){ var opt = document.createElement('option'); opt.valu...
asked on 11.04.2017 / 05:09