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
Show hidden characters
[ | |
{ "keys": ["ctrl+shift+c"], "command": "toggle_comment", "args": { "block": false } }, | |
{ "keys": ["ctrl+u"], "command": "soft_undo" }, | |
{ "keys": ["f6"], "command": "expand_fqcn" }, | |
{ "keys": ["shift+f6"], "command": "expand_fqcn", "args": {"leading_separator": true} }, | |
{ "keys": ["f5"], "command": "find_use" }, | |
{ "keys": ["f4"], "command": "import_namespace" }, | |
{ "keys": ["f7"], "command": "insert_php_constructor_property" }, | |
{ "keys": ["shift+f12"], "command": "goto_definition_scope" }, |
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 | |
$countries = | |
array( | |
"AF" => "Afghanistan", | |
"AL" => "Albania", | |
"DZ" => "Algeria", | |
"AS" => "American Samoa", | |
"AD" => "Andorra", | |
"AO" => "Angola", |
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
#!/bin/bash | |
declare -a exclude=(information_schema mysql performance_schema sys default) | |
echo Mysql user ? | |
read user | |
echo Mysql password ? | |
read password | |
declare folder=$(date +%Y%m%d) |
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
/** | |
* This is a function that helps naming migrations published by packages | |
* it will generate YYYY_mm_dd_######_migration_name.php | |
* if the migration has already been published, it will return the published migration name to prevent dupplicate | |
* | |
* @param \Illuminate\Filesystem\Filesystem $filesystem | |
* @param $migrationName the migration file base name without timestamp or .stub e.g. create_user_table.php | |
* @param $i allows for incrementing in a way that the migrations order is kept | |
* | |
* @return string |
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
... | |
workspace: | |
... | |
ports: | |
... | |
- "${WORKSPACE_VITE_PORT:5173}:5173" |