All Questions

2
answers

Help in the sql query (sum)

I'm doing a Query where I add the amount of products that I have after multiplying it .. This is the Query. declare @Sucursalid int set @Sucursalid = 1 SELECT i.sucursalid as SucursalID,( COUNT(p.id) * p.pesomililitros) AS Cantidad...
asked on 29.08.2018 / 16:12
2
answers

"Can not POST" in node.js and postman

It happens that I have this code, where I try to pass by the user parameter and password using as a postman tool, I'm honestly new to this so I do not know if I'm doing well or the code is wrong since I get this error in postman app.post...
asked on 05.09.2018 / 17:23
1
answer

Help with query on sql server

I have the following question, I need to filter a query on sql server by date range and time range, for this I made the following query: SELECT * FROM AHUMA00016 WHERE Fecha BETWEEN '28/5/18' AND '29/5/18' AND Hora BETWEEN '09:13' AND '09:28'...
asked on 25.08.2018 / 17:11
2
answers

Menu Color Hamburger NavigationView Android

Currently my menu looks black like the following image And I would like it to be white, my xml is the following: <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://s...
asked on 20.02.2018 / 13:59
1
answer

Using close in Python

Why is it necessary to close ( close ) a file ( file ) open ( open ) in Python? What would happen if you left the file open?     
asked on 17.02.2018 / 22:38
2
answers

Take the value of an HTML id with Jquery

Something I have to be doing wrong but I do not see what. I have a list of divs and I want them to click on an item in the list to take their id. I currently have this but I can not get it to work. (function($) { function selectPara...
asked on 21.02.2018 / 15:15
2
answers

SSH from a host with a user that is used by several people

Context I need to connect from a host (my machine) to a server2 to which I can only connect through a server1. The server1 has a single user (user1) to which we connect several people and from this I am already connected to the user that...
asked on 03.03.2018 / 20:01
2
answers

Add values obtained in javascript

Good morning. How can I make the sum of values obtained from JSON and interpreted with JS. In the following code I get my data brought with json and I go through it with the for to show them, among them the campo datos[dato].bultos I n...
asked on 01.03.2018 / 15:56
2
answers

How to get a random number in a range?

I was wondering how you could get a random number in java within a range. The number must be a decimal number that is in a certain range, but random. private Random random = new Random(); random.setSeed((long) (centralPoint.x*456 + centralPoi...
asked on 09.02.2018 / 19:13
1
answer

Query of matches does not show record

I have a SQL query which looks for a table according to four parameters or if there are no parameters returns all the records in the table, the problem is that when searching for a title no results return and it is assumed that if have a match w...
asked on 03.01.2018 / 22:35