Posts by mecatrônica com reciclagem • 39 points
10 posts
-
0
votes1
answer354
viewsQ: How to make a repeat loop wait for a function to be executed,
I have a program that downloads the file that is passed to him, follows the code function Download(arquivo) { download("https://dumps.wikimedia.org/ptwiki/20190801/" + arquivo).then( data => {…
node.jsasked mecatrônica com reciclagem 39 -
0
votes1
answer42
viewsQ: Return list of files contained in a web page
I need to pass the link of a page to a program in js Node, and it returns me all the names of the files . bz2 that it contains in it. The page would be that of the image. It would be something like:…
-
0
votes1
answer982
viewsQ: Error launching application with React-Native run-android
I’m trying to start with React-On I did the installation as this link https://docs.rocketseat.dev/ambiente-react-native/android/linux but when I turn the remote react-native run-android with the…
-
0
votes2
answers657
viewsQ: Redirect page by passing header Authorization
I have a login application where the user type the username and password, then I make a POST request with ajax according to the code below: <script >…
-
-1
votes1
answer69
viewsQ: Update page when entering data in database
I have a database with a table conversations,it has the following attributes: transmitter receiver hora_msg message id I need that as soon as a user sends a message ,update the receiver page, $sql =…
-
0
votes1
answer451
viewsA: Show last record of each person in a Mysql table
By doing it this way ´<?php session_start(); require_once "connect.php"; ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport"…
-
1
votes1
answer451
viewsQ: Show last record of each person in a Mysql table
I have a table "conversations" in the database where I have transmitter receiver message id another "users" table that is not very relevant, however, I want to show in an html table the messages…
-
0
votes1
answer65
viewsA: Organize a matrix
By doing it this way var fs = require("fs"); var parser = require("fast-xml-parser"); var wtf = require("wtf_wikipedia"); var textos = []; var objetos = []; var titulos = []; var definicoes = [];…
-
1
votes1
answer65
viewsQ: Organize a matrix
I have an array containing 16 objects, each object has the title, and definition attributes. I need to put inside each object in the definition attribute,. [{ titulo: universo, definicao:["(Física)…
-
-4
votes1
answer65
viewsQ: Searches in Objects without knowing the attribute name
I have a rather large object on which I need to search it. I have several objects inside and several arrays.For this reason it would not be feasible to give one console.log in each attribute until…