Interesting questions
-
0
votes2
answers49
viewsproblems with color exchange through javascript
I have a problem in javascript where each time period changes the color of an element. Follow the code below: <script type="text/javascript"> var timer = setInterval(modCor, 5000); var cor =…
-
0
votes1
answer31
viewsAjax event does not run with modal
I have this ajax. I call a modal, which in theory, when clicked on an id, would execute this ajax, but does not execute. $("#ClassificacaoId").on('change click', function () { valor =…
-
2
votes1
answer103
viewsHow to set a string coming from a sqlite database to display in a Textview?
I’m trying to display a string value in a textview via a query in sqlite, but when I run the code a numeric log of the Android sqlite class is displayed randomly. I’m just trying to display the…
-
6
votes1
answer942
viewsRemove noise, dots and image strokes
I would like to know how I can process a captcha image to remove noise, strokes and dots. Here are examples of how you are and how I’d like you to stay. Original Image: Adjusted Image:…
-
0
votes0
answers1048
viewsFirebase - An unknown error occurred while creating the project. Try again
I tried to create a project in Firebase and I can’t, I’ve tried several different ways (changing the name of the project, changing the country, trying with another Google account... etc.) and still…
-
0
votes2
answers1390
viewsHow to go through an array of objects accessing each element of the array with PHP
[items:protected] => Array ( [0] => stdClass Object ( [id] => 130627 [avatar] => [first_name] => Prii [last_name] => Camargo [email] =>…
phpasked 8 years, 2 months ago Daywison Ferreira Leal 101 -
1
votes1
answer121
viewsLoad RTF content into HTML component
I’m using the API Sceditor to make a text editor available on the page, but I need to fill it (set the value) with the contents of an RTF string. I did it this way, but it was already wrong in the…
-
2
votes2
answers338
viewsHow to create project installation done on android studio
I created a project in Andoid Studio, run it on the right virtual machine, now I would like to "compile" it to install on a real phone. How do I do it? I create a file and step into the mobile? I…
-
0
votes1
answer190
viewsI cannot fix this java.lang.Nullpointerexception error
I am creating a simple app to show the images in a kind of gallery but I am unable to show the images in the view by Adapter. Always give this error Nullpointerexception Adapter class: public class…
-
5
votes2
answers1028
viewsCreate object with internal object array
I would like to create an object "mold" (maybe a class, maybe a function), with possibly other objects inside it, and arrays. The structure I imagine is like this: postagem: { titulo: "", autor: "",…
javascriptasked 9 years, 6 months ago Daniel 3,168 -
1
votes1
answer99
viewsJava: separate row into columns by character position
Hello, I turned the internet upside down trying to solve this problem. I have a text that in this format: 012016010402AAPL34 010APPLE DRN R$…
-
2
votes1
answer66
viewsError using Fuelphp in version 7
I wonder if anyone has ever encountered a similar error when using the Fuelphp framework, in version 1.7 with PHP 7. This is popping the following message, before entering the application: Fatal…
-
-1
votes1
answer2287
viewsUnhandled Promise rejection typescript and Node.js
Good night to you all! I am developing an app with React, Node and typescript and was programming a route with post method for inserting data using sqlite database and testing in India but when…
-
0
votes3
answers1050
viewsUse jQuery in a JS file
I’m a beginner and I would like a help if possible... I have file index.html, which I’m importing the jQuery: <script…
-
-1
votes1
answer2777
viewsSave Json to a mysql database
I don’t know how to process to save one JSON within the database. The whole process is thus: I am sending from another server through the script below: $sql = "SELECT * from mgs_castloang";…
-
2
votes1
answer798
viewsCakephp Auth Component Does Not Work Properly
I am making a user registration screen. When the user completes the registration, it is redirected to a restricted area. On this same screen, there is a login and password field for them to log in.…
-
-2
votes1
answer59
viewsCalculation of days comes negative. Why?
I did that: DateTime dt = new DateTime(DateTime.Today.Year, DateTime.Today.Month, 1); int dias = (int)dt.Subtract(DateTime.Today).TotalDays; If you make for today(26/01/2018) the result in var dias…
-
0
votes1
answer627
viewsHow to get current month with getDisplayName
I intend to get the current month and for that I am using the following code: Calendar calendar = Calendar.getInstance(); String mes = calendar.getDisplayName(Calendar.MONTH, Calendar.LONG,…
-
7
votes1
answer1523
viewsPython. pyc file function
If the Python language is interpreted, why are there . pyc files that are compiled bytecodes?
-
1
votes1
answer40
viewsLacos while em javascript
I need to create a while loop that sent a message x number of times to the console. var loop = function(){ while(){ console.log(""); } } loop();
javascriptasked 10 years, 1 month ago otarampinelli 15