I hereby claim:
- I am dinhquochan on github.
- I am dinhquochan (https://keybase.io/dinhquochan) on keybase.
- I have a public key ASDsk46sZUU38_Q3k0FLgkMMcSsV_lPkWSbFx8L72cDuBAo
To claim this, I am signing this object:
| { | |
| /** | |
| * Better Defaults | |
| **/ | |
| "editor.copyWithSyntaxHighlighting": false, | |
| "editor.cursorSmoothCaretAnimation": true, | |
| "diffEditor.ignoreTrimWhitespace": false, | |
| "editor.emptySelectionClipboard": false, | |
| "workbench.editor.enablePreview": false, | |
| "window.newWindowDimensions": "inherit", |
| function phpv() { | |
| valet stop | |
| brew unlink [email protected] php | |
| brew link --force --overwrite $1 | |
| brew services start $1 | |
| composer global update | |
| rm -f ~/.config/valet/valet.sock | |
| valet install | |
| } |
| [xdebug] | |
| zend_extension= | |
| xdebug.mode=debug | |
| xdebug.start_with_request=yes | |
| xdebug.client_port=9003 | |
| xdebug.client_host=127.0.0.1 | |
| xdebug.discover_client_host=true | |
| xdebug.idekey=PHPSTORM |
I hereby claim:
To claim this, I am signing this object:
| name: tests | |
| on: [push] | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: true |
| <?php | |
| Route::get('email/verify', 'Auth\VerificationController@show')->name('verification.notice'); | |
| Route::get('email/verify/{id}', 'Auth\VerificationController@verify')->name('verification.verify'); | |
| Route::get('email/resend', 'Auth\VerificationController@resend')->name('verification.resend'); |
| <?php | |
| declarce(strict_type=1); | |
| use Composer\Console\Application; | |
| use Composer\Command\UpdateCommand; | |
| use Symfony\Component\Console\Input\ArrayInput; | |
| define('COMPOSER_ROOT', __DIR__); |
| <?php | |
| use App\Post; | |
| $posts = Post::query() | |
| ->selectRaw( | |
| 'YEAR(`published_at`) as `year`, MONTH(`published_at`) as `month`, MONTHNAME(`published_at`) as `month_name`, COUNT(id) as `posts_count`' | |
| ) | |
| ->groupBy('year') | |
| ->groupBy('month') |
| alias laralog="tail -f -n 450 storage/logs/laravel*.log | grep -i -E \"^\[\d{4}\-\d{2}\-\d{2} \d{2}:\d{2}:\d{2}\]|Next [\w\W]+?\:\" --color" | |
| alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" | |
| alias wip="git add . && git commit -m 'wip'" | |
| alias nah='git reset --hard;git clean -df' | |
| alias art='php artisan' | |
| alias a='php artisan' | |
| alias tinker='php artisan tinker' | |
| alias migarte='php artisan migrate' | |
| alias mfs='php artisan migrate:fresh' |
| const sluggify = (title) => { | |
| title = title.replace(/^\s+|\s+$/g, "") | |
| title = title.toLowerCase() | |
| let original = title | |
| let from = "àáảãạäăắằẳẵặâầấẩẫậđèéẻẽẹêềếểễệëìíỉĩịïîòóỏõọöôồốổỗộơờớởỡợùúủũụưừứửữựüûyỳýỷỹỵñç·/_,:;" | |
| let to = "aaaaaaaaaaaaaaaaaadeeeeeeeeeeeeiiiiiiioooooooooooooooooouuuuuuuuuuuuuyyyyyync------" |