Posts by Willian Cligor • 61 points
5 posts
-
0
votes1
answer207
viewsA: Render images from a category in React-Native
I believe that using state will solve your problem. import React, { Component } from 'react'; import { View, Text, Image, StyleSheet, FlatList, TouchableOpacity } from 'react-native'; import data…
-
0
votes1
answer275
viewsA: How to know which ip has connected to a postgresql database?
You can use the query below. There will be the client_hostname column that will display the address of the connected client based on a DNS lookup Reverse. It will only present clients connected via…
postgresqlanswered Willian Cligor 61 -
2
votes2
answers189
viewsA: Problem to add content in Arraylist
The error is in this section: switch(opcao){ case 1: String nome = null; String cpf = null; clientes.add(new Cliente(nome, cpf)); break; case 2: String nomeCat = null; double pesoCat = 0.0; int…
-
1
votes1
answer307
viewsA: Problem sending file with Angular Form-Data
I believe the error is that you are setting content-type as form-data, but you are sending a json. Try this: sendMailing(file, id) { //var parms = {"mailing": file, "userId": id}; const formData =…
angularanswered Willian Cligor 61 -
0
votes1
answer196
viewsA: How to serve a frontend in Vue.js/Vue-cli on the local network and use it for workstations that have no internet connection?
Inside Chrome, use the Ctrl+Shift+J shortcut. When opening the developer console, select the network tab and check in the request lists that all of them are done to your local server. For more…