Install, build and debug a react native app in WSL2 (Windows Subsystem for Linux) and Ubuntu.
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; | |
| use Illuminate\Console\Command; | |
| use Illuminate\Support\Facades\Http; | |
| class CheckFilamentCompat 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
| OCTANE_SERVER="swoole" | |
| OCTANE_HTTPS="true" | |
| WWWGROUP=1004 | |
| WWWUSER=1004 |
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
| Generate a commit message following the Conventional Commits specification. Use one of the following types: | |
| Type Format: <type>(<scope>): <description> | |
| Available Types: | |
| - feat: A new feature | |
| - fix: A bug fix | |
| - docs: Documentation only changes | |
| - style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) | |
| - refactor: A code change that neither fixes a bug nor adds a feature |
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\Traits; | |
| trait PostsPerMonthSeries | |
| { | |
| protected function getChartData(): array | |
| { | |
| return [ | |
| 'data' => [ |
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
| { | |
| "preset": "per", | |
| "rules": { | |
| "align_multiline_comment": true, | |
| "array_indentation": true, | |
| "array_syntax": true, | |
| "blank_line_after_namespace": true, | |
| "blank_line_after_opening_tag": true, | |
| "combine_consecutive_issets": true, | |
| "combine_consecutive_unsets": true, |
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\Helper; | |
| trait WpTrait | |
| { | |
| /** | |
| * Replaces double line-breaks with paragraph elements. |
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\Http\Livewire; | |
| use App\Product; | |
| use Livewire\Component; | |
| use Livewire\WithPagination; | |
| class Datatable extends Component | |
| { |
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
| {{-- You do not need to add this component if you are using the permanent option in the head component --}} | |
| <script> | |
| if (!window.sessionTimerPermanent && window.Livewire) { | |
| window.livewire.hook('afterDomUpdate', startSessionTimer) | |
| } | |
| // if you are on livewire > 1.3.1 and want to avoid the default error alert | |
| // https://github.com/livewire/livewire/pull/1146 | |
| window.livewire.onError(statusCode => { | |
| if (statusCode === 419) { |
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
| - ok-my-zsh | |
| - p10k.zsh : custon | |
| - .zshrc : Plugins |
NewerOlder