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
@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:
<?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
<?php
namespace App\Services\Utility;
use Log;
use Mail;
use Exception;
class SendMail {
"stripe/stripe-php": “2.*",
"laravel/cashier": “~5.0",