This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT *, | |
( 3959 * acos( cos( radians('#{latitude}') ) * | |
cos( radians( latitude ) ) * | |
cos( radians( longitude ) - | |
radians('#{longitude}') ) + | |
sin( radians('#{latitude}') ) * | |
sin( radians( latitude ) ) ) ) | |
AS distance, a_b.name as neighbourhood_name FROM address_neighbourhood_users INNER JOIN address_neighbourhoods AS a_b ON a_b.neighbour_code = address_neighbourhood_users.address_neighbourhood_code AND ( 3959 * acos( cos( radians('#{latitude}') ) * | |
cos( radians( latitude ) ) * | |
cos( radians( longitude ) - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#encoding: utf-8 | |
module T3L4R0L1 | |
def me_ajuda?(dinheiro) | |
if dinheiro > 500 | |
"SIM" | |
else | |
"NÃO" | |
end | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#encoding: utf-8 | |
module M3nd3s | |
def me_ajuda! | |
"NÃO" | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"version":1,"resource":"file:///Users/melo/Projects/Angular/controlled-health-frontend/src/app/exams/services/exams-facade.service.ts","entries":[{"id":"qela.ts","timestamp":1650461783059},{"id":"1DVY.ts","timestamp":1650462325935},{"id":"mUEH.ts","timestamp":1650462392089},{"id":"FCQI.ts","timestamp":1650463035177}]} |
OlderNewer