Interesting questions
-
3
votes3
answers65
viewsvertical menu with select
Could someone give me a north on how to display a vertical menu when the first items select is selected, I’m doing it in a very crude way, as they will notice that I put margin-top to move the…
-
2
votes1
answer231
viewsTake the previous element’s margin and add one more value to the next
I have the following code: <script> $(document).ready(function() { $("div#bloco div").css({ "background-color" : "red", "height" : "50px", "width" : "50px" }); $("div#bloco…
-
2
votes1
answer238
viewsHow to obtain Arraylist from Listview?
I have a screen in my application with several fields, spinners and a listview, one of the spinner is products. When I select a product in the spinner and click on a button called add, the…
-
1
votes1
answer40
viewsCheck that all objects in the class that extends Realmobject are empty
My Book.class extending realmobject public class Book extends RealmObject { private String title; private String author; public String getTitle() { return title; } public void setTitle(String title)…
-
7
votes1
answer102
viewsWhat is the difference between a global variable and a global variable Static?
What is the difference between a global variable and a static global variable? Example: #include <stdio.h> int numero = 5; static int static_numero = 5; int main(void) { printf("numero: %d…
-
0
votes0
answers18
viewsProblem when ordering information that is in an array! Javaweb
I’m making a system to train but I can’t solve a problem, I have a page where I download registered items and it has a quantity field, but after user type there the system is only reading 1 time and…
-
3
votes1
answer1797
viewsHow to use the if block with variable types in Python?
I am creating a program in Python and need that necessarily the data of the ID field are integer numbers. Basically I want to enter the block if depending on the type of variable I get. Example: ID…
-
0
votes2
answers40
viewsMake div appear and others disappear with a single click
I want when I click AC it shows the content that is inside acrid, and when I click AM, show what is inside Amapa. That happens, but he plays one div under the other. I want when I click AM the…
jqueryasked 8 years, 11 months ago Felipe Viero Goulart 3,693 -
8
votes2
answers701
viewsjava email sending does not show error when unable to send the same
I created a system where the user registers and the password is sent by email. If you cannot send the email, it generates an error and does not create the user, notifying the same. It was working…
-
3
votes5
answers40467
viewsHow to redirect php pages
I have a login system in a program PHP that I want it to forward users to different pages depending on their profile. There is a login table that has a field called "perfil" who is either 0 or the…
-
1
votes0
answers95
viewsProblem persisting in SPRING-DATA/JPA using Composite Key / Does not return Generated Id
Hello someone already had this problem, when saving a class with composite key, the Spring Data API does not return with the generated id? I ran a test with primitive classes with unique id so it…
-
14
votes1
answer11725
viewsCLSID component COM class factory recovery failure
I have developed an application on my pc that does the following: from an upload of a word document, it generates a new document with some basic information. To generate this information, it opens…
-
0
votes1
answer58
viewsRadio input values stay inside an array
I do not know if I was clear in my question, but I have the following form: When another field is added and when it is selected for example Children in lap? in the second field, it unchecks the…
jqueryasked 7 years, 9 months ago user24136 -
7
votes2
answers10525
viewsDifference between "git add --all", "git add ." and "git add -u"
The command git add --all It seems to me like the command git add ., but I’m not sure they’re the same thing. If they’re not, what’s the difference between them? I am also doubtful about git add -u…
gitasked 7 years, 11 months ago João Pedro Schmitz 2,974 -
0
votes1
answer464
viewsHow to change the color of a Hyperlink in android studio?
I can do Hyperlink perfectly, the problem is that your color is not contrasting well with the background of my application (follows picture): I would like to know how to change your color, since…
-
0
votes0
answers31
viewsRetofit2 accessing GET api
i am using retrofit2 to access an API... It turns out I can’t get the data from this API. Link to API used I managed to make my code work with this API: (That one), but when I redo the code to use…
-
2
votes0
answers113
viewsHow to make an MLP in the R whose output is a posteriori and the test set classified?
I used the "neuralnet" function of the package of the same name, but I could not run. Yes, I want to sort, so I have labels.
-
1
votes1
answer133
viewsGenerate match keys between teams using a PHP array
Opa!! I have the following array on php, need to create a confrontation between teams and teams that are from the same group/array example Time 01 and Time 02 can not face each other in the first…
-
0
votes1
answer20
viewsInsert element per line of code in a Qt C++ form
I want to insert an element in a Qt form, but I can’t use the designer because the element should only appear when a button is clicked. Is there anything like a ui->addWidget method or some other…
-
4
votes2
answers132
viewscheck if several fields are created in the database
It was added in a table plus 7 columns, only before you need to check if this column is in the database otherwise the column creation script should not be executed. Is there a way in a single…