Skip to content

Instantly share code, notes, and snippets.

View LarryBarker's full-sized avatar
🚀

Larry Barker LarryBarker

🚀
View GitHub Profile
@LarryBarker
LarryBarker / Auth.php
Created September 22, 2019 01:14
Dummy Auth class to fix Corcel error
<?php
/**
* Class Auth
* Dirty hack used to avoid error within corcel
*/
class Auth {
public static function provider($name, $callback){
return false;
}
@LarryBarker
LarryBarker / gist:b8f93e8034c7605fbd0e9c72f316577c
Created January 4, 2019 14:30
Script used to process VIN numbers on NHTSA
$(document.vhr).submit(function (e) {
$vin = $(this).find('input[name="decodeVIN"]');
if (!$vin.val() || $vin.val().length <= 10) {
$('.digits-error').show();
$('.triangle-border').hide();
return false;
}
else {
e.preventDefault();
$('.miniBox ul:eq( 0 )').after('<div class="loader"></div>');
@LarryBarker
LarryBarker / VerificationController.php
Created August 30, 2018 19:43
New Verification Controller for Laravel 5.7 Email Vertification
<?php
namespace App\Http\Controllers\Auth;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller;
use Illuminate\Foundation\Auth\VerifiesEmails;
class VerificationController extends Controller
{