Skip to content

Instantly share code, notes, and snippets.


Philip Joyner filljoyner

View GitHub Profile
filljoyner / DataBag.php
Created Apr 1, 2019
A simple bag of info to prevent making the same calls over and over again
View DataBag.php
namespace App\Abilities\Components;
class DataBag
protected $data;
View DatasetApi.php
namespace App\Abilities\Capsules;
use GuzzleHttp\Client;
class DatasetApi
protected $key;
protected $conn;
filljoyner / app.php
Last active Oct 11, 2018
Laravel - Change Public Directory
View app.php
// Replace Application instance with below
// Override public directory with custom application instance
$app = new \App\Abilities\App\Application(
filljoyner / blade.php
Last active Oct 11, 2018
Laravel Delete Link with jQuery
View blade.php
<a href="#" data-delete="{{ route('account.bots.pages.destroy', ['bot_id' => $bot->id, 'id' => $page->id]) }}" class="text-danger">
filljoyner / User Settings
Created Nov 17, 2017
Visual Studio Code - User Settings for Git Bash on Windows 10
View User Settings
"": "C:\\Program Files\\Git\\bin\\bash.exe",
"": [