Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View edyrkaj's full-sized avatar
🧿
Focusing

Eledi edyrkaj

🧿
Focusing
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";
@edyrkaj
edyrkaj / ed-cluetip
Created October 10, 2013 12:26
Re versioned cluetip jquery plugin from http://plugins.learningjquery.com/cluetip/ -Added support width: 'auto' -Activation 'click' -Added mouseleave on click activation to enable possibility to close cluetip on mouse leave after activated on click
/*!
* clueTip - v1.2.10 - 2013-07-20
* http://plugins.learningjquery.com/cluetip/
* Copyright (c) 2013 Karl Swedberg
* Licensed MIT (http://www.opensource.org/licenses/mit-license.php)
*/
(function($) {
$.cluetip = {