used to calculate the great circle distance between two points on the earth (specified in decimal degrees)
- Miles: 3956
- Kilometers: 6371
config.py | |
*.log | |
*.csv | |
*.pyc |
/* | |
* Export the data generated by this query to create fields from the custom rows | |
* stored in jos_sobipro_field. | |
*/ | |
SELECT CONCAT("MAX(CASE WHEN f.nid = '",nid,"' THEN d.baseData END) AS ", nid, ", ") | |
FROM `jos_sobipro_field` | |
ORDER BY nid; | |
/* |
package main | |
import ( | |
"fmt" | |
) | |
func Sqrt(x float64) (float64, int) { | |
var i, z = 1, 1.0 | |
for ; i < 11; i++ { |
I hereby claim:
To claim this, I am signing this object:
I have a Nuxt 3 app that hits a rest API in order to display a paginated list of blog previews. Each preview can be tapped on to view the entire blog.
My app interfaces with 2 API endpoints.
GET /api/v1/blogs
returns a paginated listing of blogs.GET /api/v1/blog/:slug
returns a single blog by an identifier.Make as few server/API requests as possible, since much of the data can be easily cached on the client-side.