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
import { createVuePlugin as Vue2Plugin } from 'vite-plugin-vue2'; | |
const { resolve } = require('path'); | |
const Dotenv = require('dotenv'); | |
Dotenv.config(); | |
const ASSET_URL = process.env.ASSET_URL || ''; | |
export default { | |
plugins: [ |
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
name: Build | |
on: [push, workflow_dispatch] | |
jobs: | |
build-php: | |
services: | |
mysql: | |
image: mysql:8.0 | |
env: | |
MYSQL_USER: root |
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
// inside ModalHeader component... | |
const ModalCloseButton = () => { | |
const {closeModal} = useModal(); | |
return ( | |
<button type="button" onClick={() => closeModal()}>X</button> | |
); | |
} |
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 | |
Route::get('/subscription', ManageSubscriptionController::class)->name('subscription'); |
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
{ | |
props: { | |
name: [String, Number] | |
} | |
} |
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 | |
... | |
use Sagalbot\Encryptable\Encryptable; | |
class User extends Authenticatable | |
{ | |
use Encryptable; |
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
name: Build | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@master | |
- name: Checkout | |
- name: Setup PHP with PECL extension | |
uses: shivammathur/setup-php@v2 |
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
SELECT * FROM mysql.general_log; |
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 artisan optimize:clear | |
composer dump-autoload |
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
<svg width="180" height="180" viewBox="0 0 180 180" fill="none" xmlns="http://www.w3.org/2000/svg"> | |
<style> | |
path { | |
fill: #273240; | |
} | |
@media (prefers-color-scheme: dark) { | |
path { fill: #ffffff; } | |
} | |
</style> |