Skip to content

Instantly share code, notes, and snippets.

View mmccall10's full-sized avatar
🐢
💻

Mike McCall mmccall10

🐢
💻
View GitHub Profile
@mxmtsk
mxmtsk / MultipartController.php
Last active February 16, 2024 03:13
Laravel controller for handling AWS S3 Multipart uploads with Uppy.io uploader. Replicates the API of the node server so you only have to specify `companionUrl` in the Uppy Configuration without specific the custom methods.
<?php
namespace App\Http\Controllers;
use Exception;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Facades\Config;
@fernandoaleman
fernandoaleman / mysql2-mojave.md
Last active February 7, 2024 19:19
Install mysql2 on MacOS Mojave

For MacOS Catalina, visit Install mysql2 on MacOS Catalina

Problem

Installing mysql2 gem errors on MacOS Mojave.

Solution

Make sure openssl is installed on Mac via Homebrew.

default: Ember

import Ember from 'ember';

default: Ember.Application

import Application from 'ember-application';