Commands used to install fontforge using brew and linking it afterward.
brew install fontforge
brew install ttfautohint fontforge (optional)
brew link fontforge
...
Monday, 31 January 2022
Thursday, 27 January 2022
PHP Google GeoCoding Getting Latitude & Longitude
private function getGeoLocation($address)
{
try {
$url = 'https://maps.google.com/maps/api/geocode/json';
$address = str_replace(["'", '"'], " ", $address);
$address = str_replace([" ", " "], "+", $address);
$query_array = array(
'address' => $address,
'key' => env('GOOGLE_MAP_API_KEY')
);
$query = http_build_query($query_array);...