Interesting questions
-
0
votes1
answer4988
viewsPick up element in Arraylist
I’m having a problem that line: lista p = lista.get(i); does not want to take the element. Look at the method below: private void verPessoas() { ArrayList<RespostasAguaCasa> lista = new…
-
0
votes1
answer140
viewsSearch with Jquery does not work in Firefox
I created a code to search for information in a table and the code just doesn’t work in Firefox The error that appears in firefox is: Error: Syntax error, unrecognized Expression: Unsupported…
-
2
votes1
answer220
viewsHow to authenticate to a Firewall web page via Powershell/Selenium?
I developed several Powershell scripts to automate the configuration of machines I work on, speeding up and avoiding the heavy work of manually setting up a giant number of stations. Basically they…
-
0
votes2
answers240
viewscol-Md-6 occupying all space
In my contact form I need to leave on one side some information about the contact, and on the other side a form with email and message. But the part of my form of information is occupying…
-
2
votes2
answers832
viewsLoad JS on mouse Hover
What technique did this widget use on blogger(?): http://tecplate.blogspot.pt/ When placing the cursor over the author’s name of the post, it loads a js with a popup. The idea is to use this to…
javascriptasked 11 years, 4 months ago Vinny Oliveira 77 -
4
votes1
answer214
viewsHow to document CSS?
I was documenting the typescript of my Angular project using Jsdoc basing myself in this question, and I was left with the following doubt. How can I document my CSS classes and components of my…
-
2
votes2
answers485
viewsExtract only extensions specific to a ZIP
I am developing a system where in some part of it the client can send a file ZIP containing only images. I’m willing to do it in a way that I can extract from this ZIP only files that contain…
-
-1
votes1
answer40
viewspreg_match to pick words between single quotes and remove blanks from the end of match[1] with the same Pattern is possible?
According to the strings below, using preg_match, I need a Pattern that is able to separate what is inside and outside of simple quotes and remove $match[1] blank spaces from the end of the string.…
-
1
votes3
answers174
viewsJava Strings Comparison Error
I have the following situation. I get a string that is in the application’s localStorage in a javascript variable. <script> var sendForm = localStorage.getItem('f'); </script> This same…
-
0
votes0
answers35
viewsHow to enter a number (x) and add up all the previous numbers?
How to enter a number and make the sum of all previous numbers, EXAMPLE: I enter the number 5, it will add up to 0+1+2+3+4 = 10 ! He will add and give the answer. I have to use the FOR command. My…
-
-1
votes2
answers59
viewsError clicking button to save data to database
Good morning guys, I’m trying to save some data in the database, for a button of windows form C# and this error appears. I have tried everything but the error persists. I did the print and pasted…
-
0
votes1
answer30
viewsWhy can’t I display the value in the print?
I want to display in the console the value of the name variable that appears is "(lldb)", why? @IBAction func botaoAcesse(_ sender: Any) { let cpf = self.campoCPF.text let senha =…
swift-3asked 7 years, 3 months ago GustavoSevero 2,567 -
-6
votes1
answer72
viewsVariable validation
I saw some examples of variable checking to set values. For example: $nome ?? "Tem nome"; $nome or "Tem nome"; In this case, you have the reverse validation? I’d like to do something like that:…
-
1
votes1
answer231
viewsValidation Lumen/Laravel does not work
I am creating an API using Lumen v5.8, and before saving the data in the database I am validating data from an array sent by the user but the data never pass the validation. Controller <?php…
-
-2
votes1
answer49
viewsStream Filter == List.get(index) does not compile
I’m trying to create a Stream to filter a list of a class with several attributes. One of these attributes is repeated in other instances. I’m trying to filter these instance members to make a sum…
-
-2
votes1
answer1008
viewsVIEW DATE BY PHP SPELL
Guys, next.. I have a contract printing page where I need to convert the field date in full <?php echo $result->estado?> - <?php echo $result->data_contrato?> In the…
-
-1
votes2
answers2566
viewsHow to return a JSON in PHP?
I have it: $insereUsuario=$pdo->prepare("INSERT INTO usuarios (idUsuario, idCep, tipoUsuario, nome, usuario, email, senha) VALUES (?, ?, ?, ?, ?, ?, ?)"); $insereUsuario->bindValue(1, NULL);…
-
3
votes1
answer1490
viewsHow to print a list in Java?
Guys I am studying the POO discipline in Java, I the teacher spent a content there that did not give time to write the code. Then I’ve got one hell of a question! I have 3 classes in java. Salaaula,…
javaasked 8 years, 4 months ago Sandson Costa 509 -
4
votes2
answers663
viewsHow to change setInterval delay programmatically?
I tried this way but did not succeed. My intention is to make as an effect of the Bézier curve. var count = 0; var times = 100; var fn = function() { count++; if(count === 25) { console.log(count,…
javascriptasked 9 years, 10 months ago Lucas Fontes Gaspareto 3,656 -
0
votes0
answers32
viewsGetters, Setters and Constructors (JAVA)
Good afternoon guys! Okay? I hope so! Well, I started my studies about 3 months ago in java and programming in general. Well, I am in a stage selection process and I started to study POO (Object…