✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨
SUPPORT MY WORK - Everything Helps Thanks
YouTube 🔗 https://YouTube.GetMeTheGeek.com
Buy Me a Coffee ☕ https://www.buymeacoffee.com/getmethegeek
Hire US 🔗 https://getmethegeek.com
Digital Ocean referral 🔗 https://tiny.cc/plxdigitalocean
✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨
This file contains 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
name: Deploy Application | |
env: | |
SIDECAR_APP_NAME: ${{ secrets.SIDECAR_APP_NAME }} | |
SIDECAR_ACCESS_KEY_ID: ${{ secrets.SIDECAR_ACCESS_KEY_ID }} | |
SIDECAR_SECRET_ACCESS_KEY: ${{ secrets.SIDECAR_SECRET_ACCESS_KEY }} | |
SIDECAR_REGION: ${{ secrets.SIDECAR_REGION }} | |
SIDECAR_ARTIFACT_BUCKET_NAME: ${{ secrets.SIDECAR_ARTIFACT_BUCKET_NAME }} | |
SIDECAR_EXECUTION_ROLE: ${{ secrets.SIDECAR_EXECUTION_ROLE }} | |
VAPOR_API_TOKEN: ${{ secrets.VAPOR_API_TOKEN }} |
This file contains 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\Console\Kernel; | |
use App\Http\Middleware\RedirectIfAuthenticated; | |
use App\Models\User; | |
use App\Providers\BroadcastServiceProvider; | |
use App\Providers\RouteServiceProvider; | |
use Illuminate\Console\Scheduling\Schedule; | |
use Illuminate\Foundation\Application; | |
use Illuminate\Http\RedirectResponse; |
This file contains 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
laravel new {projectName} | |
cd {projectName} | |
composer require --dev barryvdh/laravel-debugbar beyondcode/laravel-query-detector friendsofphp/php-cs-fixer nunomaduro/larastan phpro/grumphp | |
Setup config for code quality (php-cs-fixer, larastan, grumphp) in https://laravolt.dev/guidelines/code-quality/ | |
php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider" |
This file contains 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 | |
/** | |
* In your Livewire model for the list of items | |
*/ | |
class ItemList extends Component | |
{ | |
// rest of component |
This file contains 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 | |
namespace App\Traits; | |
trait HasLinks | |
{ | |
public function getLinksAttribute(): array | |
{ | |
return [ |
This file contains 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
{"version":1,"resource":"file:///Users/rama/Dev/kopi/database/migrations/2022_05_23_091744_drop_role_pengawas.php","entries":[{"id":"FAyG.php","timestamp":1653272392142}]} |
This document describes how to set up Windows 10 for cross-platform development (Go, NodeJS, etc) with Windows Subsystem for Linux (WSL).
Most of the information here is collected from