All Questions

1
answer

Select a different version of angular when generating new project with angular cli

It may be a silly question, but the fact is that when generating a new project of angle with ng new miproyecto , version 6 of angular is installed by default. Can I choose which version to use, for example if I want to install version 4...
asked on 07.12.2018 / 19:13
1
answer

how to do a SQL query from different tables?

Good morning, I hope you can help me. I need to make the following query: Obtain the full name of the employees, as well as the name of the department, position and salary in which I have worked. I have the first query that is the following:...
asked on 28.11.2018 / 01:57
2
answers

How to make Select option save the entire string of characters and not just the first word?

I use this code <select name="escuelaprocedencia" class="form-control"> <option value="">- Selecciona -</option> <?php $conn = mysql_connect("localhost","radx","sands"); mysql_select_db("softn_cms",$conn);...
asked on 28.11.2018 / 06:25
2
answers

MYSQL query, last record of a table

I have the following two tables User (Email(PK), Nombre, Rol) and Message (Id (Pk), IDSend (FK), IDDest(FK), Mensaje, Status, Fecha) I need to return the Email, the Name, the message and the Status of the last message of each u...
asked on 30.11.2018 / 04:43
1
answer

Error between datetime.date and NoneType operations in Python

Bearing in mind that partidos is a list with sublists containing tuples. Ex: partidos = [[(datetime.date(2000, 9, 9), 'FC Barcelona', 2, 'Málaga CF', 1)], [(datetime.date(2000, 9, 9), 'RC Deportivo', 2, 'Athletic Club', 0)], [(datetime...
asked on 09.12.2018 / 11:18
2
answers

Convert MD5 from file to string

What I'm trying to do is compare the md5 obtained from a file downloaded locally, with that from a server response. The function Md5() It gets a string without any problem something like: 0A3958F9FCBA646A2D38412A3B9FC650 but the pr...
asked on 08.12.2018 / 17:42
1
answer

CSS last: child does not work on my button

I have a series of buttons that when click display a text, each button has a border-bottom , I want to make all the buttons have that border minus the last one. This is my code: <div class="collapse-container"> <butt...
asked on 30.11.2018 / 04:51
2
answers

Variable accessible from the whole app

Is there any way to have a variable and that it can be accessible from the whole app? Not only from the activity that I am in.     
asked on 11.12.2018 / 17:45
2
answers

Go through JSON sub node in vueJs

"bloques": [ { "id": 1, "banner": "Banner_Doble_Megas_terminales2.jpg", "titulo": "Blindaje", "activo": 1, "contenidos": [ { "id": 1, "subseccion": 0, "icon": "fa fa-copy",...
asked on 11.12.2018 / 22:22
1
answer

Multiplication hours x number

I have the case of a time worked and his salary for hours. I need to calculate how much they have charged: SELECT '07:45'::time as horas_trabajadas, 8.45::numeric(18,2) as precio_hora, '07:45'::interval * 8.45 as total_dia H...
asked on 12.12.2018 / 11:44