This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Models; | |
/** | |
* Created by PhpStorm. | |
* User: dmellum | |
* Date: 7/25/17 | |
* Time: 6:04 PM | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by mellu on 3/3/2017. | |
*/ | |
(function($) { | |
$.fn.danTyper = function(strings, options) { | |
var $this = $(this); | |
var opts = $.extend({}, $.fn.danTyper.defaults, options); | |
var speed = opts.speed; | |
var enableCursor = opts.cursor; | |
var lines = strings.length; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by mellum on 8/3/2016. | |
* Gets data from Laravel back-end: https://gist.github.com/danielme85/8ddd04431ea2d6982e0b14802464ea0a | |
* Based on GeoIP2 https://github.com/danielme85/laravel-geoip2 | |
* This product includes GeoLite2 data created by MaxMind, available from: http://www.maxmind.com | |
* Beautiful css weather icons by Erik Flowers: https://erikflowers.github.io/weather-icons/ | |
* Weather data from: http://openweathermap.org/api | |
* | |
*/ | |
(function($) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Addons; | |
use GuzzleHttp; | |
use Illuminate\Support\Facades\Session; | |
use Illuminate\Support\Facades\Log; | |
class Weather | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($) { | |
$.fn.danScramble = function(options) { | |
var $this = $(this); | |
var opts = $.extend({}, $.fn.danScramble.defaults, options); | |
var letters = opts.letters.split(''); | |
var maxTries = opts.maxTotalTries; | |
var randomMax = opts.randomMax; | |
var length = letters.length; | |
var string = $this.text(); | |
var array = string.split(''); |