Posts by Daniel Lavedonio de Lima • 175 points
5 posts
-
3
votes1
answer273
viewsA: How to calculate a value in a given range?
You’re looking for something inversely proportional. It’s more math than programming, but putting it into code: Considering: A_max the maximum value of range A (3) A_min the minimum value of range A…
-
1
votes3
answers4318
viewsA: How to set your own domain in Heroku?
While using the method nome-do-app.herokuapp.com works, Heroku’s Automatic Certificate Manager (ACM) will fail and you nay you will be able to use your domain with an HTTPS session, HTTP only. In…
-
0
votes2
answers144
viewsA: CASE WHEN in Where clause and with THEN with more than 1 return value
I would reformat this query to: select [...] from table where (campo = 'Valor1' and <condicao1>) or (campo in ('Valor1', 'Valor2') and <condicao2>) or campo = 'Valor3'…
-
-1
votes2
answers1127
viewsA: Domain verification using Registrobr and Heroku
It took me a long time to understand how I solved this, and as I did, I feel that putting my answer here could help a lot of people. Here I will try to be as complete as possible by taking a step by…
-
-1
votes1
answer446
viewsA: Images disappear in Heroku after a while
Heroku, free or paid, does not have a permanent file system where you can store files and/or images permanently, as they explain themselves here. Heroku periodically goes through an internal routine…