Interesting questions
-
1
votes1
answer90
viewsSQL Server - Return only the searched word
I have a problem where the Cód. below returns not only the searched words, but tb words that have this word in their composition. Ex: The term is Rio, but also finds terms as salary. In the link…
-
1
votes3
answers163
viewsHow can I pass php data to javascript in this case?
I need to pass the latitude and longitude data of the addresses that are within 25km’s radius to the javascript function that creates the map, follow the code I’ve made so far(Yes, I’m beginner):…
-
-2
votes1
answer128
viewsHow do I use the Python range function in this specific case?
I have a problem and I’m looking for the best way to solve it. I have a function that inserts in an array 26 positions starting from the letter 'to' down to the last letter of the alphabet which is…
-
0
votes1
answer286
viewsHow to create a Canvas object in Lazarus and add it to a Paintbox?
In a Form have a Paintbox property Align = alClient and a Button. I need to draw an object of the type Canvas within the Paintbox at the event Onclick of Button. This is the object of type Canvas…
-
-1
votes1
answer785
viewsHow to create a search filter for a Three-Dimensional String?
I have a ArrayList of the kind String Three-dimensional: String[][] And I would like to do a search system that filters the values, example: String[][] table = {{"Ronaldo","32","Atacante","Sao…
-
2
votes0
answers58
viewsSlide show on jQuery does not work
I’m doing a slide show on jQuery but it doesn’t work, the browser has error in line 2, but the syntax is correct. Note: the same code is being used on another PC and is working normal. //Mostra os…
-
0
votes1
answer164
viewsJS works on Greasemonkey, but does not work directory on the page
I’m doing some tests using Google Recaptcha. What I am trying to do is to automatically click on the checkbox when the captcha appears. I took this function teste() on the website of greasemonkey…
-
0
votes0
answers64
viewsProblem with JSF & JPA Lists
I don’t know if it’s right the way I’m doing it, but I got a problem: java.lang.Illegalargumentexception: id to load is required for loading. When I try to remove a template from the list, and also…
-
2
votes1
answer81
viewsRemoving data with TRUNCATE wouldn’t be DDL command?
Reading the OCA Oracle Database SQL Exam Guide(1Z0-071) I came across the following definition for the TRUNCATE on the topic of DDL(Data Definition Language): Removes all the Rows-in other words,…
-
2
votes1
answer87
viewsHow to work with type Enerico
Hello! I’m starting at Delphi and was creating a method to add margin to an object, but needed it to be for any object. Example of the code I was working on. Below is the example of the code I made…
-
1
votes0
answers87
viewsProblems with Google API authentication in Ruby
I’m developing a Ruby API that communicates google-api-ruby-client but when trying to authenticate I get some errors. example of my code: class GoogleService require 'googleauth' require…
-
0
votes0
answers153
viewsOutput badly formatted accented C characters in Visual Studio Code
Although it is importing the library referring to accentuation, the outputs of the accented characters come out totally unnoticed of the normal. This problem only happens in Visual Studio Code, the…
-
1
votes1
answer40
viewsFunction that returns the client name using the . filter method
In my template I have an interpolation that performs a call to function getNomeCliente, passing the ClienteId as a parameter: <ng-template kendoGridCellTemplate let-dataItem> <div…
-
1
votes1
answer63
viewsOnly the last array item is displayed
How to play a php code, like a comment system. Using this code I was able to make this possible but, in the same way the code returns only the last query item: <?php error_reporting(0);…
-
13
votes1
answer545
viewsHow does ES7 async/await work?
ES7 allows you to use a new syntax to work with Promises known as async/await functions. How I can use these functions and how they are compared to functions that use Promises to process sequential…
javascript asynchronous ecmascript-6 promises async-awaitasked 10 years, 1 month ago Gabriel Gartz 5,624 -
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…
-
-1
votes1
answer70
viewsI am Beginner and I am trying to Register and Login with Firebase but with errors that I can not solve
I’m following a tutorial I saw on Youtube but mine did not work... Elpe me Please.... By Debug I saw that the error starts inside the private fun functions creatOrLoginUser: I need to create a…
-
3
votes2
answers106
viewsHow to dynamically generate OR comparisons with LINQ?
I have a query where I should find certain values comparing whether a column is equal to a value X. X is an array that can have 1 to 4 values. How can I in mine query with LINQ dynamically assemble…
-
1
votes1
answer46
views"numberFormat" is not a Function, but she is
Sirs, The situation is as follows. I got a function to format numbers for financial formats. When applying, it says it is not a function. But it is. How to proceed? <script> // * Função para…
javascriptasked 8 years, 10 months ago Maykel Esser 598 -
1
votes1
answer73
viewsPass a list to a view to get via Javascript
I have a method Index, where it takes a parameter, makes a query and returns a list. I need to run that list along with view or get that list some other way, so I can access list via Angularjs.…