Posts by Peterson Medeiros • 51 points
9 posts
-
-1
votes1
answer17
viewsQ: How to use materialize Feature Discovery only on first page access?
Well, I have Feature Discovery in my js file that way: $(document).ready(function(){ $('.tap-target').tapTarget(); $('.tap-target').tapTarget('open'); }); function closeFeatureDiscovery() {…
-
0
votes0
answers18
viewsQ: Letters getting transparent along with the footer
I have a standard footer with a background image. This image is very green so I thought I’d make it a little transparent. but when I apply the effects of leaving the image transparent on the footer…
-
1
votes0
answers27
viewsQ: Confirm deletion with Sweet alert2 and Laravel 7?
I have a button: <button class="btn-floating red btn-small" data-id="{{ $tag->id }}" data-action="{{url("/admin/tags/{$tag->id}") }}" onclick="deleteConfirmation({{$tag->id}})"> <i…
-
-1
votes1
answer59
viewsQ: How to create HTML form elements with javascript button and functions? and then turn the data into JSON
I am creating a simple form where after completed will generate the content declaration of the post office and shipping labels automatically, but sometimes there are more than 1 product to be added…
-
0
votes1
answer23
viewsA: Service in workmanager runs only on usb cable by android studio
I solved the problem! The error was in that stretch: Constraints constraints = new Constraints.Builder() .setRequiresCharging(true) .build(); The setRequiresCharging(true) method that makes it work…
-
0
votes1
answer23
viewsQ: Service in workmanager runs only on usb cable by android studio
I have an android application where after the user enters his company ID he activates a switch and from there the application is posting in an API the position of it. This is done through the…
-
1
votes0
answers126
viewsQ: How to make POST in android studio?
I’m trying to do a POST for my local API but I’m finding some problems and I’m not getting it right what I’m doing wrong. POST that works on Postman is with a body more or less like this: [ {…
-
1
votes1
answer218
viewsQ: Error passing numpy.core. _exceptions.Ufunctypeerror: ufunc 'subtract' Did not contain a loop Signature matching types (dtype('<U21')
Basically I have the following code: import numpy as np def localize(aux1, aux2, aux3, aux4, aux5, aux6): search = np.array([(aux1,aux2,aux3,aux4,aux5,aux6)]) B1A =…
-
-2
votes1
answer792
viewsQ: How to compare python array in an array list and return the same or nearest array
I would like to know how I can enter with a vector and search in a list of vectors which has more equal or similar values using Python. Example: I have the following vector: search =…