Posts by Lucas_Kunze • 162 points
11 posts
-
1
votes1
answer380
viewsQ: Calendar is not working properly
My conversion from timestamp to Calendar was done, apparently successfully, as the data presented appeared correct except the day of the week. data=(java.util.Gregoriancalendar)…
-
2
votes2
answers660
viewsA: Sum dynamic line values automatically
The code almost does what you want, but does not recalculate while typing on the lines. To do this just add them to the change event. $(document).ready(function() { $("#qtde_falta").val("? - 0.0");…
jqueryanswered Lucas_Kunze 162 -
1
votes2
answers188
viewsA: How to Stop the Write On-Screen Effect with jQuery
I’m not sure that’s exactly what you want, but it will a possible solution: 'use strict'; var text = $('#write').text(), arrayElements = ["Primeiro texto"," Segundo texto","Terceiro texto","Quarto…
jqueryanswered Lucas_Kunze 162 -
1
votes1
answer158
viewsA: Removing "BC" from Timestamp dates in Postgresql
With the help of comments and stackoverflow it was possible to find the following solution: to_char("regiaulaavul_dataInicio"::date, 'YYYY-MM-DD')::date First a conversion was made to the string…
-
1
votes1
answer158
viewsQ: Removing "BC" from Timestamp dates in Postgresql
Hello, I’m trying to remove "BC" from sql dates but I’m not getting. I’ll tell you what: SELECT CAST("regiaulaavul_dataInicio" AS date) FROM "RegistroAulaAvulsa" And eventually return me the date…
-
-1
votes3
answers944
viewsA: Javascript - Function that returns value from a CSS property
I think I understand what you want. Have you tried using Eval? The Eval aims to transform your "String" into interpretable code to the browser. Therefore, it follows the adapted code: function…
-
2
votes2
answers2208
viewsQ: SQL to compare hours and minutes when Timestamp in Postgresql
I am trying to compare 2 timestamp fields, which have different dates, ignoring the dates and using only the hour/minute simultaneously, to know, within a same day which of them is bigger. EX:…
-
1
votes1
answer70
viewsQ: Communication using Torrents
I am programming a small application, which does P2P communications, similar to a torrent, and I came up with a theoretical question regarding trackers. Do computers use trackers to know what…
bittorrentasked Lucas_Kunze 162 -
2
votes1
answer921
viewsQ: Dynamically increasing the content of the div
I have 3 div’s and div2 should have dynamic content (growing as the content is inserted in it), div1 should follow the growth of div2. How can I do that? <div id="divPrincipal"> <div…
-
1
votes1
answer90
viewsA: Underline custom javafx
So you can try using the textflow of javafx8 to structure your text, so you get individualized control by word. I didn’t test this inside the textflow, but on a label you can do: Erro {…
javafxanswered Lucas_Kunze 162 -
1
votes0
answers48
viewsQ: What’s in the digital TV stream?
I would like to know what data received by a digital television, I know that send a description of the programming and other control data, beyond interactivity, but, beyond these and video/audio,…