This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use App\Http\Controllers\CompanyController; | |
use App\Http\Livewire\Test; | |
Route::get('/', [CompanyController::class, 'store']); | |
Route::get('/test', Test::class)->name('test'); | |
/// Test::class (Livewire) | |
<?php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Update the package list | |
sudo apt-get update | |
# Install FFmpeg from the Ubuntu repositories | |
sudo apt-get install -y ffmpeg | |
# Add the FFmpeg PPA to the system | |
sudo add-apt-repository -y ppa:jonathonf/ffmpeg-4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\Illuminate\Support\Collection::macro('recursive', function () { | |
return $this->map(function ($value) { | |
if (is_array($value) || is_object($value)) { | |
return collect($value)->recursive(); | |
} | |
return $value; |