- app.js
- routes/route.js
- layouts/Default.vue
- components
- Home.vue
- About.vue
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
| CSS : | |
| @media (prefers-dark-interface) { | |
| color: white; background: black | |
| } | |
| JS : | |
| if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) { | |
| // dark mode | |
| } |
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
| visa | |
| 4[0-9]{12}(?:[0-9]{3})? | |
| mastercard | |
| ^5[1-5][0-9]{14} | |
| american express | |
| ^3[47][0-9]{13} | |
| diners club | |
| ^3(?:0[0-5]|[68][0-9])[0-9]{11} | |
| discover | |
| ^6(?:011|5[0-9]{2})[0-9]{12} |
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
| const number = 123456.789; | |
| console.log(new Intl.NumberFormat('tr-TR', { style: 'currency', currency: 'TRY' }).format(number)); | |
| // expected output: "₺123.456,79" | |
| // the Japanese yen doesn't use a minor unit | |
| console.log(new Intl.NumberFormat('ja-JP', { style: 'currency', currency: 'JPY' }).format(number)); | |
| // expected output: "¥123,457" | |
| // limit to three significant digits |
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
| - List php versions | |
| brew list | grep php | |
| - Installing wanted php version | |
| brew install php@7.4 | |
| - Linking wanted php version | |
| brew unlink php | |
| brew link php@7.4 --force |
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
| #channel ------------------- | |
| <?php | |
| namespace App\Channels; | |
| use Illuminate\Notifications\Notification; | |
| class SmsChannel | |
| { | |
| public function send($notifiable, Notification $notification) |
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
| web: vendor/bin/heroku-php-apache2 public/ |
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\Query\Expression; | |
| ... | |
| return new class extends Migration | |
| { | |
| /** | |
| * Run the migrations. |
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\Query\Expression; | |
| ... | |
| return new class extends Migration | |
| { | |
| /** | |
| * Run the migrations. |
OlderNewer