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
{ | |
"workbench.colorCustomizations": { | |
"titleBar.activeBackground": "#117406", | |
"titleBar.inactiveBackground": "#1b6044", | |
"titleBar.activeForeground": "#000", | |
}, | |
"php.problems.scope": "all", | |
"php.problems.exclude": { | |
"**": [ | |
407, |
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
Export: | |
mysqldump -u root -p db_name | gzip > ~/Downloads/db_name.sql.gz | |
Import: | |
gunzip < ~/Downloads/db_name.sql.gz | myql -u root -p new_db_name |
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
1. Create a new file at /etc/nginx/sites-available | |
e-g; cirrussafe | |
2. Create a symlink of newly created file /etc/nginx/sites-enabled | |
e-g; sudo ln -s /etc/nginx/sites-available/cirrussafe /etc/nginx/sites-enabled | |
3. Define servername in this file | |
e-g; cirrussafe.local | |
4. Add new domain to /etc/hosts |
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
server { | |
listen 80; | |
server_name nextcloud.local; | |
root /var/www/html/nextcloud; | |
index index.php index.html index.htm; | |
client_max_body_size 512M; | |
fastcgi_buffers 64 4K; |
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
"dev": [ | |
"Composer\\Config::disableProcessTimeout", | |
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --timeout=3600 --tries=1\" \"php artisan reverb:start --port=8080\" \"npm run dev\" --names=server,queue,logs,vite" | |
] |
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
code --install-extension absszero.vscode-laravel-goto | |
code --install-extension amiralizadeh9480.laravel-extra-intellisense | |
code --install-extension augment.vscode-augment | |
code --install-extension bmewburn.vscode-intelephense-client | |
code --install-extension damms005.devdb | |
code --install-extension dbaeumer.vscode-eslint | |
code --install-extension docker.docker | |
code --install-extension dsznajder.es7-react-js-snippets | |
code --install-extension eamodio.gitlens | |
code --install-extension esbenp.prettier-vscode |
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]": { | |
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client" | |
}, | |
"php-cs-fixer.executablePath": "${extensionPath}/php-cs-fixer.phar", | |
"php-cs-fixer.exclude": [], | |
"workbench.colorTheme": "Default Light+", | |
"editor.fontSize": 15, | |
"php.validate.executablePath": "D:/xampp8.2/php/php.exe", | |
"php-cs-fixer.lastDownload": 1616565451685, |