Posts by Jackson Felipe Magnabosco • 140 points
32 posts
-
0
votes2
answers43
viewsA: Sending notification to Microsoft Teams by Jenkins. [hostname in Certificate didn’t match]
the webhook server has been switched https://compasso.webhook.office.com/ for https://outlook.office.com/webhook and it worked…
jenkinsanswered Jackson Felipe Magnabosco 140 -
0
votes2
answers43
viewsQ: Sending notification to Microsoft Teams by Jenkins. [hostname in Certificate didn’t match]
I have a problem sending job notification at work, here I use the company’s VPN and firewall. Job has been run successfully and it is possible to check in the log that the connector has been…
jenkinsasked Jackson Felipe Magnabosco 140 -
-1
votes1
answer479
viewsQ: How to limit a composite query in Firebase/flutter
I made a simple query this way and works correctly, it saves only once in the database, not repeating the same value. final QuerySnapshot result = await Future.value(Firestore.instance…
-
0
votes1
answer241
viewsQ: How to make only the user who saved the String can see Flutter/Firebase?
This is a code that saves a String qr code that does not repeat in the database, but this way everyone can access this data. I already got the user ID but I still can’t filter to just see the list.…
-
1
votes1
answer855
viewsQ: Dart/Flutter error: 'context != null': is not true
I’m trying to apply a dialog alert every time the item is duplicated but when I do the test it ends up giving this error, someone has some hint how to fix it ? void SalvarMensagem() async { //…
-
1
votes2
answers689
viewsA: How do I select this in the Firebase Cloud Firestore database?
This worked and does not repeat the same variable in the bank final QuerySnapshot result = await Future.value(Firestore.instance .collection("lockers") .where("numero_serie", isEqualTo:…
-
1
votes1
answer548
viewsA: Dart/Flutter verification/validation in the Firebase Firestore database
This worked out ! final QuerySnapshot result = await Future.value(Firestore.instance .collection("lockers") .where("numero_serie", isEqualTo: "$_numeroSerie") .limit(1) .getDocuments()); final…
-
0
votes1
answer548
viewsQ: Dart/Flutter verification/validation in the Firebase Firestore database
I’m trying to do a Dart/Flutter check/validation in the Firebase Firestore database to not save the same serial number string twice in the database, but I’m doing something wrong because it keeps…
-
0
votes3
answers860
viewsA: Deserializar json vector in Dart/Flutter
It would be that way then to deserialize ? class PortasAbertas { int i; int n; PortasAbertas({this.i, this.n}); PortasAbertas.fromJson(Map<String, dynamic> json) { i = json['i']; n =…
-
0
votes3
answers860
viewsQ: Deserializar json vector in Dart/Flutter
I’m trying to deserialize this json vector [{"i":737,"n":1}] but I’m not getting the variables "i" and "n". Class to deserialize class PortasAbertas { int i; int n; PortasAbertas({this.i, this.n});…
-
1
votes1
answer2121
viewsA: Simple GET request to a Rest API in flutter
timeStamp() async { final response = await http.get('http://armariosinteligentes.com/api/v3/timestamp'); if (response.statusCode == 200) { // If server returns an OK response, parse the JSON. var…
-
0
votes1
answer2121
viewsQ: Simple GET request to a Rest API in flutter
I’m trying to get a json by making a request to an API, but it’s making a mistake when making the request. Follows the code: Future<Map> timeStamp() async { const request =…
-
0
votes2
answers689
viewsQ: How do I select this in the Firebase Cloud Firestore database?
how do I do this kind of select in the Firebase Cloud Firestore database ? _results = (await connection.query('select id from produtos where numero_serie = $_numeroSerie')) I need to get the product…
-
0
votes1
answer2339
viewsA: Flutter - login screen
My answer: import 'package:flutter/material.dart'; import 'package:flutter/scheduler.dart' show timeDilation; import 'package:loja_virtual/models/user_model.dart'; import…
-
1
votes1
answer2339
viewsQ: Flutter - login screen
Good morning, I am creating a login screen with email authentication and password by firebase. Some layout rendering errors are happening. this is the code: import 'package:flutter/material.dart';…
-
1
votes0
answers244
viewsQ: Creating random password in Mysql database
Good morning, I’m trying to create a Rigger that generates a random password with uppercase letters and 0-9 numbers in a database password field, as it is possible to do this Rigger ? [FUNCTION]…
sqlasked Jackson Felipe Magnabosco 140 -
0
votes0
answers27
viewsQ: How to remove image transparency and input text and make the Forms background transparent
Good morning, I just wanted to make the only form background more transparent but it changes everything inside, does anyone have any tips ? thanks... <h:body> <p:growl id="mensagem" />…
-
0
votes0
answers67
viewsQ: Error loading Theme, cannot find "Theme.css" Resource of "primefaces-admin" library
I’m trying to change the theme of the primedace to the Adminfaces but now this happening this error Error loading Theme, cannot find "Theme.css" Resource of "primefaces-admin" library…
java-eeasked Jackson Felipe Magnabosco 140 -
0
votes0
answers22
viewsQ: Doubt with theme in Primefaces
Good morning, Does anyone know how I can change my project theme to web.xml adminfaces if I need to download something or just mute the code ?
java-eeasked Jackson Felipe Magnabosco 140 -
0
votes1
answer50
viewsA: Decrease items in shopping cart (Java Web)
Solved, now the problem is in the total value that ends up being negative public void decrease(Product) { int posicaoEncontrada = -1; for (int pos = 0; pos < itens.size() &&…
java-eeanswered Jackson Felipe Magnabosco 140 -
0
votes1
answer50
viewsQ: Decrease items in shopping cart (Java Web)
Good afternoon, I am creating a shopping cart, the add item part is working perfectly but the decrease item part is not working, follow the code. public void adicionar(Produto produto) { int…
java-eeasked Jackson Felipe Magnabosco 140 -
0
votes1
answer73
viewsA: Center an image in java ee
I got... <center> <h:graphicImage url="../resources/images/logo.jpg"/> </center>
java-eeanswered Jackson Felipe Magnabosco 140 -
0
votes1
answer73
viewsQ: Center an image in java ee
Good afternoon, I’m doing a job for the college and I was wondering how do I centralize this image in java web <h:graphicImage url="../resources/images/logo.jpg"/>…
java-eeasked Jackson Felipe Magnabosco 140 -
0
votes1
answer574
viewsQ: Java Web login/authentication screen
Good morning guys, I am seizing Java web but my login screen is not logging in and not giving error signal when clicking enter. Working class import javax.persistence.Column; import…
-
0
votes2
answers127
viewsA: Error while trying to connect to mysql
Resolution of the problem: I switched mysql-installer-community-8.0.15.0 to mysql-installer-community-5.7.22.1 and switched mysql-Connector-java-5.1.39-bin. jar by mysql-Connector-java-5.1.5-bin and…
-
1
votes2
answers127
viewsQ: Error while trying to connect to mysql
I am developing a project with Java Web and Mysql and when I went to create the connection and test this giving enough error, I need help to solve this... package br.com.farmacia.factory; import…
-
0
votes1
answer120
viewsA: Open API 3.0 Swagger Hub
I got openapi: 3.0.0 servers: - url: https://armariosinteligentes.com/api/v2 description: API server V2 info: version: "0.0.3" title: 'Armário Conectado' description: 'API web do armário conectado'…
-
0
votes1
answer120
viewsQ: Open API 3.0 Swagger Hub
Good afternoon, I’m experiencing 2 Query strings in paths are not allowed errors in Swagger. Does anyone know any way to solve ? openapi: 3.0.0 servers: - url:…
-
0
votes1
answer85
viewsA: Create random character lines in Arduino
I got #include "DigiKeyboard.h" char aleatorio[] = {"abcdefghijklmnopqrstuvxz0123456789"}; // 0 a 33 char aleatorioNumeros[] = {"0123456789"}; // 0 a 9 char retirada[6]; void setup() { } void loop()…
-
0
votes1
answer85
viewsQ: Create random character lines in Arduino
Good afternoon, I wanted to make Arduino digispark type a line with 8 random characters and jump to the other line doing the same thing, only I don’t know how to control the size for this...…
-
4
votes3
answers596
viewsA: How to put white/transparent background on png image with black background
I got procedure TformMain.btSalvarImagem1Click(Sender: TObject); var bmp: TBitmap; R: TRect; png : TPortableNetworkGraphic; begin // bmp, png bmp := TBitmap.Create; png :=…
-
2
votes3
answers596
viewsQ: How to put white/transparent background on png image with black background
I’m using this code in Azarus but at the time of saving it shows a black part like the image, I wanted it to be white/transparent. I tried some manners and it didn’t work. procedure…