Skip to content

Instantly share code, notes, and snippets.

View GorianDriza's full-sized avatar

Gorian Driza GorianDriza

View GitHub Profile
@edyrkaj
edyrkaj / countdown.helper.ts
Last active February 5, 2020 15:22
Helper method for countdown
/**
* This class has a static a method `run` which needs to pass a callback method in order to get back the values
* for minutes and seconds
* If you need to show number values with zeros on pad start you have an example at the end of this code:
* Countdown
* run {method}
* @author Eledi Dyrkaj <edyrkaj@gmail.com>
*/
export class Countdown {
/**
@edyrkaj
edyrkaj / MapService.php
Last active September 24, 2023 15:36
Google Maps API Curl Call - Laravel Service
<?php
/**
* Copyright (c) 2017. Ezeclip
*/
namespace App\Services;
class MapService {
// Define Constants
const GOOGLE_API_KEY = "XXX";