Skip to content

Instantly share code, notes, and snippets.

View Cperbony's full-sized avatar
🏠
Working from home

Claudinei Aparecido Perboni Cperbony

🏠
Working from home
  • Bild & Viita
  • Ribeirão Preto - SP
View GitHub Profile
@Cperbony
Cperbony / docker-aliases.sh
Created July 24, 2023 13:18 — forked from jgrodziski/docker-aliases.sh
Useful Docker Aliases
############################################################################
# #
# ------- Useful Docker Aliases -------- #
# #
# # Installation : #
# copy/paste these lines into your .bashrc or .zshrc file or just #
# type the following in your current shell to try it out: #
# wget -O - https://gist.githubusercontent.com/jgrodziski/9ed4a17709baad10dbcd4530b60dfcbb/raw/d84ef1741c59e7ab07fb055a70df1830584c6c18/docker-aliases.sh | bash
# #
# # Usage: #
APP_ENV=local
APP_KEY=base64:MW4KYHNp+TfiD3bEij1BihsoKXB3XUwxw9Yq1/axllA=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=code_editora_perboni
version: '3'
services:
web:
image: nginx
ports:
- 80:80
db:
image: postgres
restart: always
@Cperbony
Cperbony / ServicoType.txt
Last active April 30, 2018 21:26
Curso Symfony 4 - Microjobs
<?php
namespace App\Form;
use App\Entity\Categoria;
use App\Entity\Servico;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\FileType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;