Skip to content

Instantly share code, notes, and snippets.

@JulyanoF
JulyanoF / install.sh
Created October 29, 2024 00:21
Instalações PHP
sudo apt update
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install -y php8.3 php8.3-{common,cli,mbstring,intl,curl,dev,dom}
sudo apt install -y unzip
@JulyanoF
JulyanoF / docker-compose.yml
Created October 29, 2024 00:15
docker-compose Postgres
version: '3.6'
services:
postgres:
image: postgres:12.2-alpine
restart: always
command: postgres -c 'max_connections=1000'
environment:
POSTGRES_PASSWORD: jbr@jbr
volumes:
@JulyanoF
JulyanoF / PHP.code-profile
Created October 28, 2024 22:19
PHP Profile VSCode
{"name":"PHP","settings":"{\"settings\":\"{\\r\\n \\\"terminal.integrated.shell.windows\\\": \\\"C:\\\\\\\\Windows\\\\\\\\System32\\\\\\\\cmd.exe\\\",\\r\\n \\\"atomKeymap.promptV3Features\\\": false,\\r\\n \\\"editor.multiCursorModifier\\\": \\\"ctrlCmd\\\",\\r\\n \\\"editor.formatOnPaste\\\": true,\\r\\n \\\"git.autofetch\\\": true,\\r\\n \\\"git.suggestSmartCommit\\\": false,\\r\\n \\\"diffEditor.ignoreTrimWhitespace\\\": false,\\r\\n \\\"typescript.updateImportsOnFileMove.enabled\\\": \\\"always\\\",\\r\\n \\\"[php]\\\": {\\r\\n \\\"editor.formatOnType\\\": true,\\r\\n \\\"editor.insertSpaces\\\": true,\\r\\n \\\"editor.codeActionsOnSave\\\": {\\r\\n \\\"source.organizeImports\\\": \\\"explicit\\\",\\r\\n \\\"source.fixAll\\\": \\\"explicit\\\"\\r\\n }\\r\\n },\\r\\n \\\"terminal.integrated.defaultProfile.linux\\\": \\\"zsh\\\",\\r\\n \\\"editor.fontFamily\\\": \\\"'Fira Code Medium', Consolas, 'Courier New', monospace\\\",\\r\\n \\\"editor.fontLigatures\\\": true,\\r\\n