- Install and download the free Scriptable app on your iOS device.
- Inside the app, press the "Plus" icon to create a new script
- Paste the content of the JS file into the script
- Place a Scriptable widget on your home screen
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\Providers; | |
use Filament\Actions; | |
use Filament\Forms; | |
use Filament\Infolists; | |
use Filament\Notifications\Notification; | |
use Filament\Pages; | |
use Filament\Support\Enums\MaxWidth; |
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
FROM laravelphp/vapor:php83 | |
ARG IMAGICK_VERSION=3.7.0 | |
RUN apk --update add \ | |
ghostscript && \ | |
rm /var/cache/apk/* | |
RUN curl -L -o /tmp/imagick.tar.gz https://github.com/Imagick/imagick/archive/refs/tags/${IMAGICK_VERSION}.tar.gz \ | |
&& tar --strip-components=1 -xf /tmp/imagick.tar.gz \ |
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
FROM laravelphp/vapor:php83 | |
ARG IMAGICK_VERSION=3.7.0 | |
RUN apk --update add \ | |
ghostscript && \ | |
rm /var/cache/apk/* | |
RUN curl -L -o /tmp/imagick.tar.gz https://github.com/Imagick/imagick/archive/refs/tags/${IMAGICK_VERSION}.tar.gz \ | |
&& tar --strip-components=1 -xf /tmp/imagick.tar.gz \ |
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\Filament\Resources\Trip; | |
//... | |
class PlaceResource extends Resource | |
{ | |
public static function table(Table $table): Table | |
{ | |
return $table |
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
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |