Skip to content

Instantly share code, notes, and snippets.

View filljoyner's full-sized avatar

Philip Joyner filljoyner

View GitHub Profile

Server

Install

Install Ubuntu 22.04

Update

Update all the things

sudo apt update

Ubuntu 22.04 for Deep Learning

In the name of God

This gist contains steps to setup Ubuntu 22.04 for deep learning.


Install Ubuntu 22.04

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