Skip to content

Instantly share code, notes, and snippets.

View justincone's full-sized avatar
🏠
Working from home

Justin Cone justincone

🏠
Working from home
View GitHub Profile
@justincone
justincone / InvoicePaid.php
Created August 13, 2019 16:23 — forked from gilbitron/InvoicePaid.php
Convert the Laravel Spark invoice email to a notification email
<?php // app/Notifications/InvoicePaid.php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Laravel\Cashier\Invoice;
{
title: "The Fed doesn't need backward-looking businessmen like Herman Cain pushing half-baked tax policies",
content: "<div><div id="article_body" class="content"> <div class="group-container "> <div class="embed-container image"> <img src="https://fm.cnbc.com/applications/cnbc.com/resources/img/editorial/2019/01/31/105712367-1548961197490cain2.1910x1000.jpg?v=1554462490" alt="Herman Cain" width="530"> <meta><meta><meta><meta><meta><meta><meta><meta> <meta><meta><meta> <meta> <div class="attribution">Justin Sullivan | Getty Images</div> </div> <div class="group"> <p>Let&apos;s face it &#x2026; Cain ain&apos;t able.</p> <meta id="speakablemeta3"> <p>Many of us who follow the Federal Reserve have already suggested that we&apos;d like to see even less of Stephen Moore. Now, President <a href="https://www.cnbc.com/donald-trump/">Donald Trump</a> plans to nominate a pizza executive and former presidential candidate, Herman Cain, to the Fed&apos;s Board of Governors.</p> <p>While the Fed is already threatened by
{
title: "The Fed doesn't need backward-looking businessmen like Herman Cain, Ron Insana says",
author: "Ron Insana",
content: "<div id="cnbc-contents"> <div itemscope="" itemtype="https://schema.org/NewsArticle"> <section> <div> <article> <div> <div id="article_body"> <div> <div itemscope="" itemtype="https://schema.org/ImageObject"> <p><img alt="Herman Cain" data-enlarged-image="https://fm.cnbc.com/applications/cnbc.com/resources/img/editorial/2019/01/31/105712367-1548961197490cain2.1910x1000.jpg?v=1554462490" height="298" src="https://fm.cnbc.com/applications/cnbc.com/resources/img/editorial/2019/01/31/105712367-1548961197490cain2.530x298.jpg?v=1554462490" width="530"></img></p><meta content="https://fm.cnbc.com/applications/cnbc.com/resources/img/editorial/2019/01/31/105712367-1548961197490cain2.jpg?v=1554462490" itemprop="image"></meta><meta content="width='530'" itemprop="width"></meta><meta content="height='298'" itemprop="height"></meta><meta content="2019-01-31T12:20:39-0500" itemprop="datePublished"
{
title: "The Fed doesn't need backward-looking businessmen like Herman Cain, Ron Insana says",
softTitle: "The Fed doesn't need backward-looking businessmen like Herman Cain, Ron Insana says",
date: "2019-04-05T07:43:32-0400",
author: [
"https://www.facebook.com/CNBC",
"Ron Insana"
],
publisher: "CNBC",
copyright: null,
{
title: "The Fed doesn't need backward-looking businessmen like Herman Cain pushing half-baked tax policies",
content: "<div><div id="article_body" class="content"> <div class="group-container "> <div class="embed-container image"> <img src="https://fm.cnbc.com/applications/cnbc.com/resources/img/editorial/2019/01/31/105712367-1548961197490cain2.1910x1000.jpg?v=1554462490" alt="Herman Cain" width="530"> <meta><meta><meta><meta><meta><meta><meta><meta> <meta><meta><meta> <meta> <div class="attribution">Justin Sullivan | Getty Images</div> </div> <div class="group"> <p>Let&apos;s face it &#x2026; Cain ain&apos;t able.</p> <meta id="speakablemeta3"> <p>Many of us who follow the Federal Reserve have already suggested that we&apos;d like to see even less of Stephen Moore. Now, President <a href="https://www.cnbc.com/donald-trump/">Donald Trump</a> plans to nominate a pizza executive and former presidential candidate, Herman Cain, to the Fed&apos;s Board of Governors.</p> <p>While the Fed is already threatened by
{
author: "Ron Insana",
date: "2019-04-05T15:55:05.000Z",
description: "Cain may know his way around a pizza pie, but he doesn’t have the chops to find ways to make the economic pie bigger for one and all, says Ron Insana.",
image: "https://fm.cnbc.com/applications/cnbc.com/resources/img/editorial/2019/01/31/105712367-1548961197490cain2.1910x1000.jpg",
logo: null,
publisher: "CNBC",
title: "The Fed doesn’t need backward-looking businessmen like Herman Cain, Ron Insana says",
url: "https://www.cnbc.com/2019/04/05/the-fed-needs-backward-looking-businessmen-and-quasi-economists-who-push-half-baked-tax-policies-that-benefit-the-very-few-are-plentiful-we-need-ideas-and-economic-policies-that-push-progress-forwardh.html"
}
{
"data": [
{
"id": 109663,
"title": "‘Crucial’ Week Has Citigroup Touting a Bet on Higher Volatility",
"url": "https:\/\/www.bloomberg.com\/news\/articles\/2019-03-29\/-crucial-week-has-citigroup-touting-a-bet-on-higher-volatility?utm_source=twitter&utm_medium=social&utm_campaign=socialflow-organic&cmpid=socialflow-twitter-business&utm_content=business",
"preface": null,
"summary": "To position for what could be either a “hefty bounce” in risk appetite or a further darkening of the global economic outlook, Citigroup strategist Calvin Tse recommends an options wager on the dollar-yen currency pair, which has a tendency to move along with global risk sentiment.",
"live_date": "2019-04-01T09:30:41+00:00",
"impact_score": "4.5",
{
title:"Trump Owns the Economy Now, for Better or Worse",
excerpt:"Trump owns the economy now for better or worse on thursday the commerce department said the economy slowed more sharply at the end of last year than previously reported revising its estimate of 4th quarter",
metadescription:"The Federal Reserve has halted rate increases. Tax cuts and tariffs have taken hold. Now the president must prove the naysayers wrong about the future.",
url:"https://www.nytimes.com/2019/03/28/us/politics/us-economy-trump.html",
sentiment:{
score:27,
comparative:0.07317073170731707
},
keyphrases:[
{
title: "Trump Owns the Economy Now, for Better or Worse",
excerpt: "Trump owns the economy now for better or worse on thursday the commerce department said the economy slowed more sharply at the end of last year than previously reported revising its estimate of 4th quarter",
metadescription: "The Federal Reserve has halted rate increases. Tax cuts and tariffs have taken hold. Now the president must prove the naysayers wrong about the future.",
url: "https://www.nytimes.com/2019/03/28/us/politics/us-economy-trump.html",
sentiment: {
score: 27,
comparative: 0.07317073170731707
},
keyphrases: [