Skip to content

Instantly share code, notes, and snippets.

View ilearnbydoing's full-sized avatar

Durgesh Gupta ilearnbydoing

View GitHub Profile
@ilearnbydoing
ilearnbydoing / index.js
Created May 17, 2020 10:20 — forked from MustansirZia/index.js
Reverse Geocode JS [ES7] Gist - Latitude/Longitude to local address.
/**
* Created by M on 15/04/17. With ❤
*/
/*
* Reverse Geocode JS [ES7] Gist. Converts latitude/longitude to a human readable address.
* Firstly, tries to judge whether the lat/long is over a road. If so, returns the local street address
* with state and country stripped out.
* If not, returns the local address for the nearest point of interest. (or place). The second condition works even if
* the lat/long belongs to a disputed territory such as Kashmir, India.
@ilearnbydoing
ilearnbydoing / Install-Mcrypt.md
Created November 18, 2019 11:51 — forked from idleberg/Install-Mcrypt.md
Install Mcrypt on macOS

Setup php-mcrypt on macOS (and versions of Mac OS X)

These steps should have been mentioned in the prerequisites of the Laravel Installation Guide, since I'm surely not the only person trying to get Laravel running on macOS.

Install

Install Mcrypt using Homebrew and PECL (comes with PHP)

# PHP 7.3