Skip to content

Instantly share code, notes, and snippets.

View diego1araujo's full-sized avatar

DIEGO Araujo diego1araujo

  • Recife, Pernambuco, Brazil
  • 08:11 (UTC -03:00)
View GitHub Profile
{
"editor.fontFamily": "Monolisa",
// "editor.fontFamily": "DejaVu Sans Mono",
// "editor.fontFamily": "Roboto Mono",
// "editor.fontFamily": "Operator Mono",
"editor.fontSize": 17,
// "editor.fontFamily": "JetBrains Mono Regular",
// "editor.fontSize": 18,
// "editor.fontFamily": "Cascadia Code",
// "editor.fontSize": 18.5,
@diego1araujo
diego1araujo / docker-help.md
Created September 5, 2020 17:56 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@diego1araujo
diego1araujo / .bash_aliases
Created August 22, 2020 11:26 — forked from vratiu/.bash_aliases
Git shell coloring
# Customize BASH PS1 prompt to show current GIT repository and branch.
# by Mike Stewart - http://MediaDoneRight.com
# SETUP CONSTANTS
# Bunch-o-predefined colors. Makes reading code easier than escape sequences.
# I don't remember where I found this. o_O
# Reset
Color_Off="\[\033[0m\]" # Text Reset
@diego1araujo
diego1araujo / .php_cs.laravel.php
Last active October 27, 2019 14:52 — forked from laravel-shift/.php-cs-fixer.php
PHP CS Fixer - Laravel Ruleset
<?php
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
$rules = [
'@PSR2' => true,
'@Symfony' => true,
'concat_space' => ['spacing' => 'one'],
'phpdoc_align' => ['align' => 'left'],

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@diego1araujo
diego1araujo / rows_columns.dart
Created January 14, 2019 22:34 — forked from mjohnsullivan/rows_columns.dart
Using rows and columns to create an asymmetric grid-like layout
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
@diego1araujo
diego1araujo / Instructions.sh
Created January 5, 2019 14:41 — forked from GhazanfarMir/Instructions.sh
Install PHP7.2 NGINX and PHP7.2-FPM on Ubuntu 16.04
########## Install NGINX ##############
# Install software-properties-common package to give us add-apt-repository package
sudo apt-get install -y software-properties-common
# Install latest nginx version from community maintained ppa
sudo add-apt-repository ppa:nginx/stable
# Update packages after adding ppa
@diego1araujo
diego1araujo / ubuntu.md
Created December 25, 2018 03:15 — forked from razzul/ubuntu.md
ubuntu lamp

Install LAMP Stack On Ubuntu 16.04

LAMP

Install Apache

$ sudo apt-get update
$ sudo apt-get install apache2

Test Apache

@diego1araujo
diego1araujo / ubuntu.txt
Created December 25, 2018 03:15 — forked from jotapepinheiro/ubuntu.txt
UBUNTU
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install php5.6-imap
#LISTA PORTAS USADAS
netstat -plntu
## VUEJS
npm install -g vue-cli @vue/cli vue-native-cli
@diego1araujo
diego1araujo / run.sh
Created December 19, 2018 21:10 — forked from victorhugorch/run.sh
Shell script to initialize a docker enviroment for Laravel projects.
#!/bin/bash
echo Uploading Application container
docker-compose up -d
echo Copying the configuration example file
docker exec -it <app-name>-app cp .env.example .env
echo Install dependencies
docker exec -it <app-name>-app composer install