Skip to content

Instantly share code, notes, and snippets.

garygreen / GdDifferenceHash.php
Created May 28, 2020 13:00
GD Difference Hash for jenssegers / imagehash package (around 4x quicker than Intervention)
View GdDifferenceHash.php
namespace App\Image;
use Jenssegers\ImageHash\Hash;
use Jenssegers\ImageHash\Implementation;
class GdDifferenceHash implements Implementation
garygreen / 2018_02_13_142413_add_renews_at_column_to_subscriptions.php
Last active October 29, 2021 12:48
Sync Stripe Renewal Date for all subscriptions - Laravel Console Command
View 2018_02_13_142413_add_renews_at_column_to_subscriptions.php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddRenewsAtColumnToSubscriptions extends Migration
* Run the migrations.
View PHPExcel Cheat

PHPExcel Cheat Sheet




composer require phpoffice/phpexcel
garygreen / mouseflow.js
Created May 22, 2015 10:16
Detect if mouseflow recording and get original path
View mouseflow.js
(function(window) {
function MouseflowRecording(playback) {
this.playback = playback;
* Get original path
* @return {string}