Skip to content

Instantly share code, notes, and snippets.

View frv-dev's full-sized avatar
✌️

Felipe Vieira frv-dev

✌️
View GitHub Profile
@frv-dev
frv-dev / Dockerfile
Created August 10, 2020 02:42
Docker config for PHP 7.4 development with e-mail and MySQL.
FROM php:7.4-alpine
RUN docker-php-ext-install pdo pdo_mysql
@frv-dev
frv-dev / settings.json
Created October 26, 2020 17:32
[Code Easy - DON'T REMOVE] Settings for VSCode + PHP
{
"workbench.startupEditor": "newUntitledFile",
"window.zoomLevel": 3,
"editor.formatOnSave": true,
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true,
"**/.hg/store/**": true,
"**/vendor/*/**": true
@frv-dev
frv-dev / index.php
Last active December 2, 2020 02:32
PHP 8 - Attributes Test
<?php
#[Attribute]
class Letter
{
public const UPPER_CASE = 'UPPER_CASE';
public const LOWER_CASE = 'LOWER_CASE';
public function __construct(
public string $modifier
@frv-dev
frv-dev / attributes.php
Created December 10, 2020 13:54
Exemplos PHP 8 - Code Easy - DO NOT DELETE
<?php
#[Attribute]
class Letter
{
public const UPPER_CASE = 'UPPER_CASE';
public const LOWER_CASE = 'LOWER_CASE';
public const FIRST_CHARACTER_UPPER_CASE = 'FIRST_CASE_UPPER';
public function __construct(
@frv-dev
frv-dev / lilypond-template.ly
Last active November 7, 2023 03:12
Lilypond default template for mobile portrait documents.
\version "2.22.1"
\language "english"
\header {
title = "Título"
composer = "compositor"
subtitle = "Descrição adicional."
}
\paper {