- D-Pad == Directional Pad
- RSB == Right Stick Button
- LSB == Left Stick Button
- RB == Right Bumper
- RT == Right Trigger
- LB == Left Bumper
- LT == Left Trigger
- Y == Y Button (Top)
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 | |
| namespace App\Console\Commands\Horizon; | |
| use Illuminate\Console\Command; | |
| use Illuminate\Queue\Failed\FailedJobProviderInterface; | |
| use Laravel\Horizon\Contracts\JobRepository; | |
| use Laravel\Horizon\Jobs\RetryFailedJob; | |
| class RetryAllFailedJobsCommand extends Command |
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 | |
| sudo add-apt-repository ppa:ondrej/php | |
| sudo apt update | |
| sudo apt install php8.2-cli php8.2-dev php8.2-pgsql php8.2-sqlite3 php8.2-gd php8.2-imagick \ | |
| php8.2-curl php8.2-imap php8.2-mysql php8.2-mbstring php8.2-xml php8.2-zip \ | |
| php8.2-bcmath php8.2-soap php8.2-intl php8.2-readline php8.2-ldap php8.2-msgpack \ | |
| php8.2-igbinary php8.2-redis php8.2-memcache php8.2-pcov php8.2-xdebug |
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
| <script setup> | |
| import { onMounted } from "vue"; | |
| import { create, registerPlugin } from "filepond"; | |
| import FilePondPluginImagePreview from 'filepond-plugin-image-preview'; | |
| import FilePondPluginFileValidateType from 'filepond-plugin-file-validate-type'; | |
| import FilePondPluginFileValidateSize from 'filepond-plugin-file-validate-size'; | |
| import FilePondPluginImageExifOrientation from 'filepond-plugin-image-exif-orientation'; | |
| import 'filepond/dist/filepond.min.css'; | |
| import 'filepond-plugin-image-preview/dist/filepond-plugin-image-preview.css'; |
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
| PUSHER_HOST=socket.yourdomain.com | |
| PUSHER_APP_ID=unlock | |
| PUSHER_APP_KEY=123 | |
| PUSHER_APP_SECRET=456 | |
| PUSHER_PORT=443 | |
| PUSHER_SCHEME=https |
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
| // Modified from @mutsuda's https://medium.com/@mutsuda/create-an-ios-widget-showing-google-spreadsheets-data-856767a9447e | |
| // by @levelsio | |
| // HOW TO | |
| // 1) Make a Google Sheet, we'll pull the first cell e.g. A1 | |
| // 2) Publish your Google Sheet, File -> Publish To Web | |
| // 3) Copy the SHEET_ID in the URL, put it in here below: | |
| const endpoint = "https://spreadsheets.google.com/feeds/cells/SHEET_ID/1/public/full?alt=json" | |
| // 4) Install Scriptable @ https://apps.apple.com/us/app/scriptable/id1405459188 | |
| // 5) Copy this entire script in to Scriptable (tip: you can send it to your iPhone via Whatsapp/Messenger/Telegram etc) |
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
| name: CI | |
| on: [ push, pull_request ] | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 |
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 Illuminate\Database\Migrations\Migration; | |
| use Illuminate\Database\Schema\Blueprint; | |
| use Illuminate\Support\Facades\DB; | |
| use Illuminate\Support\Facades\Schema; | |
| class ChangeEnum extends Migration | |
| { | |
| /** |
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 | |
| namespace Tests\Feature; | |
| use App\User; | |
| use Tests\TestCase; | |
| use Livewire\Livewire; | |
| use Illuminate\Support\Facades\Route; | |
| use Illuminate\Foundation\Testing\RefreshDatabase; |
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
| I'll start with the basics and proceed to addressing the common problems | |
| faced while setting up private channels with laravel-echo & laravel-echo-server. | |
| If you are getting these errors while setup; 401, 403, 419 etc, as I did in my experience. | |
| this gist will help you fix these errors. | |
| Although this gist addresses common problems of laravel-echo-server setup, some problems are similar with Pusher setup. | |
| So it might also be useful if you're having problems with setting up Pusher with Echo. | |
| I'll try to cover eveything and try to use appropriate highlighting to single out each common problem. |
NewerOlder