All Questions

1
answer

Disable chrome window in selenium python

I need to deactivate the browser window that opens when the tests are run. I copy the code I use and it should work but it does not: from selenium.webdriver.chrome.options import Options class LoginTest(unittest.TestCase): def test(self):...
asked on 20.02.2018 / 20:41
1
answer

Laravel and the formatting of dates

Gentlemen I am making a query to a table with Eloquent ... and between the fields that I want to consult this one of date, as I do so that in full consultation to bring the date formatted? Ex: $consulta=Ejemplo::select('fecha')->find($id);...
asked on 20.02.2018 / 14:04
1
answer

Nearby GeoPoints with firestore

The issue is that I want a firebase function, in which a geopoint is passed (latitude and longitude) and from this, I find the nearby places that I have in the BBDD. The only thing I have is this equation: (lonBD−lonCliente)^2+(latBD−latCli...
asked on 15.02.2018 / 20:00
2
answers

Laravel 5 create Table and Self-Referenced model (self Referencing)

How do I create a table autor referenced and how do I do the relationship in the same model?: Example: Tengo una tabla: Categoria Campos: categoria_id, nombre, categoria_padre It translates that a category (parent) can have many...
asked on 16.02.2018 / 04:35
1
answer

Access nested JavaScript functions from HTML

I have the following JS code and I try to access the functions start() and stop() from a div with the events onmouseover="" and onmouseout="" : NewsScroller = function(id, speed) { this.start = func...
asked on 13.02.2018 / 23:26
1
answer

Error in XSD document: "s4s-elt-invalid-content.1: The content of 'tab' is invalid."

I do not know why the validator on this page ( link ) tells me that I have the wrong XSD document. The error that gives me concretely is:    Not valid. Error - Line 5, 58: org.xml.sax.SAXParseException;   lineNumber: 5; columnNumber: 58;...
asked on 14.02.2018 / 21:23
1
answer

How to avoid showing error when using the $ _REQUEST method in php?

Well I explain, when loading my page.php from a local server it shows me the following error: Undefined index: var_entrada ... line 17.This is the code: <form action="pagina.php"> <p><input type="text" name="var_entrada" &g...
asked on 01.02.2018 / 22:22
1
answer

Problem filling in input with data from a select

I am trying to fill a input according to a data that I choose from a select , I do it using AJAX and PHP . This is my code: <select id="pro" name="plan" class="form-control"> <option readonly>Elegir Plan&...
asked on 16.02.2018 / 20:05
1
answer

How to read data input from keyboard with NodeJS?

I am trying to read the data entry from keyboard in NodeJS, I would like to know how to do this in the way that java has its scanner or c ++ has something similar, I hope to give you to understand.     
asked on 04.02.2018 / 22:53
1
answer

Add the value between two Angular input

<label>Capital <input type="number" ng-model="vm.capital" ng-keyup="vm.total()"> </label> <label>Honorarios <input type="number" ng-model="vm.honorarium" ng-keyup="vm.total()"> </label> <h1>{{ vm.s...
asked on 09.02.2018 / 14:48