Skip to content

Instantly share code, notes, and snippets.

View jasonherndon's full-sized avatar

Jason Herndon jasonherndon

  • Salt Lake City, UT
View GitHub Profile
"stripe/stripe-php": “2.*",
"laravel/cashier": “~5.0",
<?php
namespace App\Services\Utility;
use Log;
use Mail;
use Exception;
class SendMail {
<?php namespace Laracove\Http\Controllers;
use Laracove\Services\Utility\SendMail;
use Laracove\Http\Controllers\Controller;
use Exception;
class AnyController extends Controller {
/**
* Form request from /edit
@jasonherndon
jasonherndon / gist:9ee641edfaf2e25fd71b83861b4e539a
Last active June 21, 2017 01:52
How we calculate change on the trade
/*
*
* HEY KEVIN!
*
* OKAY .... SO HERE's HOW TO READ THIS SO YOU CAN CHECK MY LOGIC
* I HAVE TO ALWAYS TRANSLATE OUR EXPLAINATIONS INTO CODE
* AND THEN I HAVE TO ACCOUNT FOR DATA THAT MAY/MAY NOT BE THERE
* SO HERE'S WHERE YOUR LAST EMAIL ENDED UP...
*
* TO READ THIS: