This tip can be used if you forget or want to change MariaDB root password.
Make sure to install MariaDB using Homebrew.
This tip is from Update root password in MariaDB 10.4 on MacOS
This tip can be used if you forget or want to change MariaDB root password.
Make sure to install MariaDB using Homebrew.
This tip is from Update root password in MariaDB 10.4 on MacOS
| const mix = require('laravel-mix'); | |
| /* ... */ | |
| if (! mix.inProduction()) { | |
| let homedir = require('os').homedir(); | |
| // e.g SESSION_DOMAIN = myapp.test | |
| let domain = process.env.SESSION_DOMAIN; | 
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <title>Alpine.js Accordion</title> | |
| <link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet" /> | |
| <script src="https://unpkg.com/alpinejs" defer></script> | |
| </head> | |
| <body> | 
| document.addEventListener('alpine:init', () => { | |
| window.Alpine.data('autocompleter', ({ | |
| selectedResults, | |
| max, | |
| min, | |
| ownerId, | |
| url, | |
| elName, | |
| filterEls = [], | |
| addUrl = "", | 
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <title>CodePen - Datepicker with TailwindCSS and AlpineJS</title> | |
| <link | |
| href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" | |
| rel="stylesheet" | |
| /> | |
| <script | 
| {{-- | |
| Simple Example: | |
| <x-table-simple | |
| striped // default: false | |
| :columns='[ | |
| [ | |
| "name" => "Name", | |
| "field" => "name", | |
| "columnClasses" => "", // classes to style table th | |
| "rowClasses" => "" // classes to style table td | 
| /** | |
| * Bootstrap any application services. | |
| * | |
| * @return void | |
| */ | |
| public function boot() | |
| { | |
| Component::macro('notify', function ($message, $title = '', $type = 'success') { | |
| $this->dispatchBrowserEvent('notify', ['message' => $message, 'title' => $title, 'type' => $type]); | |
| }); |