Skip to content

Instantly share code, notes, and snippets.

View omurbekjk's full-sized avatar
🚀
Learn & Build & Share

Omurbek omurbekjk

🚀
Learn & Build & Share
View GitHub Profile

FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?

@omurbekjk
omurbekjk / generateRandomGeoLocations.ts
Last active August 7, 2019 09:32 — forked from mkhatib/geo.js
A Typescript utility function to generate number of random Geolocations around a center location and in a defined radius.
export class GeoUtil {
/**
* @param center = {lat, lng}
* @param radius = 1000
* @param count = 10
*/
static generateRandomPoints(center, radius = 1000, count = 10) {
const points = [];
for (let i = 0; i < count; i++) {
points.push(this.generateRandomPoint(center, radius));