Posts by Gustavo • 124 points
5 posts
-
0
votes1
answer74
viewsA: Api payment Boletofácil in php
I believe I can help: PHP json_decode documentation $json = '{"a":1,"b":2,"c":3,"d":4,"e":5}'; var_dump(json_decode($json)); var_dump(json_decode($json, true)); or, to sum up: $json =…
-
1
votes3
answers2758
viewsA: Open google maps app via link via Ionic 3
<a href="geo:?q=LOCATION" target="_system">Map</a> Where LOCATION would be latitude and longitude <a href="geo:?q=-22.9121089,-43.2301558" target="_system">Map</a>…
-
0
votes1
answer51
viewsA: problem when using text to Speech in python, problem with windows path
I had the same problem. I did so: import os os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "caminhoatesua/chave.json"
-
0
votes2
answers348
viewsA: I cannot make my result appear, only Nan appears in the IMC box.(HTML/Javascript)
Make a parseFloat to convert the string being captured in the height field to a floating number value: var altura = parseFloat(document.getElementById("altura").value);…
javascriptanswered Gustavo 124 -
0
votes3
answers781
viewsA: Printing schedules at predetermined intervals
See if it helps: $start = new \DateTime('08:00'); $times = 12 * 2; // 24 hours * 30 mins in an hour $result[0] = $start->format('H:i'); for ($i = 0; $i < $times - 1; $i++) { $result[] =…