Interesting questions
-
8
votes3
answers1220
viewsGet timestamp
I have two variables, one with the date and the other with the time. How can I get your timestamp of the two variables. Example: var data = 02/01/2015; var hora = 10:00:00; var d = new Date(data +…
-
0
votes0
answers33
viewsWhy fgetc(stdin) does not recognize the end of a file?
For some reason the fgetc(stdin) is not recognizing the end of a file line and it is in the while infinitely. fscanf(arqIN, "%*s %d", &qntPacientes); // Aqui é só pra pegar a informação da…
-
0
votes1
answer1266
viewsHow to update an apk without uninstalling the current one?
Google play apps updating without the need to uninstall. Does anyone know how the google update works? Thanks in advance.
androidasked 10 years, 2 months ago daniel12345smith 2,120 -
4
votes1
answer3926
viewsGenerate PDF Base64
I have an Laravel API that generates a PDF with Snappy dock. Works perfectly on Chrome linux but in windows that has the newest version of Chrome does not work, Chrome only opens a blank page. I get…
-
1
votes2
answers408
viewsInsert <li> and <a> via Javascript
I’m studying DOM and I’m having trouble inserting a new one <li> and <a> in a certain <ul>. I managed to insert a new <li> using the code below, but I could not succeed in…
javascriptasked 7 years, 9 months ago Max Wilson 13 -
1
votes1
answer57
viewsValue passed in Pattern tag keys for class name
I am studying about Logback to implement in my company’s system, and at tag pattern I have the following: [%d{yyyy-MM-dd HH:mm:ss.SSS}] %level [%thread] %class{0} %method %line - %message%n I…
-
2
votes1
answer149
viewsNOTIFICATION_SERVICE with Channel=null error, how to resolve?
I did work perfectly this notification on android 19 and 21 but does not work on 27, 28 e 29. <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> private void…
-
0
votes1
answer117
viewsArray of numbers with variable amount Java Android
I am making a program for Android and I want to make an array of integers, but I need to define the quandity of numbers with a variable that has 3 options of values: 20, 50 and 100. I tried to use…
-
0
votes3
answers424
viewsBlock enter if textarea is empty
I’m trying to check if a textarea has valid text. Checking the space was easy, but the enter I don’t know how to check. enviar() { var num = 13; // 13 é o cód ascii do enter if (this.textoEmEdicao…
javascriptasked 7 years, 10 months ago LuisHF 348 -
-1
votes3
answers383
viewsChange Bootstrap 4 button background
What would be the right way to change the background of a button in bootstrap 4 to a custom color: <button class="btn btn-primary btn-lg">Buscar</button> for <button class="btn…
-
0
votes0
answers75
viewslinear path in c language
Hello, I’m Lísias and I was wondering if someone could help me in this difficult task to finish my library. I made a game engine, and in it I have already managed to implement all the basic…
casked 7 years, 1 month ago Lísias de Castro 11 -
1
votes0
answers1419
viewsERROR System.Invalidoperationexception: The sequence contains more than one element
I have a system that works in several machines, but in one machine the error occurs: `The sequence contains more than one element Description: An untreated exception occurred during the execution of…
-
0
votes0
answers52
viewsProblem sending the form
I have a problem making this short form website work he is sending the email on the console it gives that error: line 2 code : $("#submit_btn").click(function()... follows my code: HTML: <form…
-
0
votes2
answers126
viewsValidate read or unread message
I created an email system. I now want to check the messages read (appear without Bold) and unread (appear Bold) by the user. I create the table with the emails this way: <?php while($row =…
-
5
votes1
answer1177
viewsSpeed difference in HD Sata/SSD
I have Mongodb running on a 500GB SSD HD. But as the folder /date started to get too big, we put a HD slave 3TB, but this being SATA and not SSD as the first. But after changing the date folder to…
-
0
votes1
answer83
viewsRegular expression that returns next words
Well I’m working on a regular expression that picks up license plates, my interest would be not just picking up the license plates, but like things next to it, for example: |Placa:AVX-4300 Fiat Uno…
-
3
votes1
answer58
viewsJRE 8, TDM-GCC Mingw: Silent installation
Does anyone know how to silently install JRE 8 ( jre-8u65-windows-i586 ) via a bat file ? And if possible they could also tell me how to install TDM-GCC ( Mingw32) in the same way ? For those two…
-
0
votes1
answer95
viewsPass data between fragments and Activitys with radio button
I’m having trouble passing data from an Activity to a Fragment, I would like to use a radio button to define a parameter for a variable, dps pass this value so the Fragment can do the treatment,…
androidasked 9 years, 1 month ago Topazzio App 43 -
2
votes1
answer44
viewsDoubt with "minor" in Visualg
I started a course of algorithms and I like it a lot! But lately I have been quite complicated with the question of "minor" in some situations. Follows the question: Create a program that reads the…
visualgasked 5 years, 2 months ago Lucas Silva 23 -
4
votes2
answers277
viewsIs it possible to use the resize function of the textarea in an input?
Good morning, everyone. I’m making a form, and I wanted to make a <input type='text' /> that the user could set the width, with that drag resize that exists in the textarea. I want to insert…