All Questions

1
answer

Problem when creating object with tinker (Laravel)

I created a migration in the following way: public function up() { Schema::create('partesdiarios', function (Blueprint $table{ .... Effectively, create the daily shares table in MySQL. But when I want to create an object from tinker it retu...
asked on 20.12.2018 / 13:18
1
answer

Collections within documents in firebase and angular 7

I have the following code to obtain two observables in one and be able to manipulate them. public products: any; ngOnInit() { this.products = this.productService.products().snapshotChanges().map(productSnaps => { return...
asked on 24.11.2018 / 22:54
2
answers

access the value of a div within a li element

I have this line <li id="liPryName"> <span><i class="glyphicon glyphicon-folder-open"></i></span> <div class="id">Valor de Id</div></li> I would like with jquery to be able to access the valu...
asked on 18.12.2018 / 18:03
1
answer

Sum cumulatively in the same MYSQL query

I have the following query: I need to add and subtract the entries and exits of units based on dates, where in the column BALANCE reflects the partial result but I have not achieved it correctly. Why: As seen in the image in the firs...
asked on 19.12.2018 / 16:05
1
answer

React name change when clicking. state

How to do to click on a button for example, I change the name I have in the state. attached code (there are more things like for example the counter that works for me) import React, { Component } from 'react'; import estilos from '../css/estil...
asked on 18.12.2018 / 21:18
1
answer

Problem with Alert fade in (bootstrap), only shown once

I'm trying to perform a bootstrap alert. it is displayed correctly when the response is received correctly, or some error. but when I perform another action that involves another ajax response, this one no longer shows me the alert. Here is m...
asked on 26.12.2018 / 19:28
1
answer

Variable in object path

I'm doing a personal project where I try to recover JavaScript Objects through URL, a kind of RESTful service so I need to convert the routes of my URL in JSON routes to recover the object in question, I do this from the following way:    Tur...
asked on 27.12.2018 / 20:27
2
answers

How to make it only admit integer response?

Hello, I'm new to python and I wanted to ask you how to make a variable that only admits whole numbers in response to what I mean: In C: int numero; printf("Ingrese un numero: "); fflush(stdin); scanf("%i",&numero); printf("El numero in...
asked on 26.12.2018 / 05:11
1
answer

Select a selected: true from another Select

For some reason you do not select me on the second Select. I have not asked the question without checking before, but it does not work for me. I have a Select that depending on what I choose, I will select by default any of the options that I al...
asked on 27.12.2018 / 18:56
1
answer

State File Accountant

I have the doubt of how to know the partial counting of the documents in a directory while using Files.walk, because if the directory contains more than one million files and it takes 10 minutes to post everything, I want to know every 1 min for...
asked on 20.12.2018 / 13:53