Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Vitor Britto vitorbritto

🏠
Working from home
View GitHub Profile
@vitorbritto
vitorbritto / keybase.md
Created April 5, 2022 15:12
Keybase Proof
View keybase.md

Keybase proof

I hereby claim:

  • I am vitorbritto on github.
  • I am vitorbritto (https://keybase.io/vitorbritto) on keybase.
  • I have a public key ASAlgVIS18Rhy8It_4saeW-NLIB-VYoiFZeTPYSjz6M9qQo

To claim this, I am signing this object:

@vitorbritto
vitorbritto / postgres-brew.md
Created September 10, 2021 02:36 — forked from ibraheem4/postgres-brew.md
Installing Postgres via Brew (OSX)
View postgres-brew.md

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update
@vitorbritto
vitorbritto / vscode-settings.json
Created June 22, 2021 16:56
My VS Code Settings
View vscode-settings.json
{
"explorer.confirmDelete": false,
"window.zoomLevel": -2,
"guides.enabled": false,
"explorer.confirmDragAndDrop": false,
"[json]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[html]": {
"editor.defaultFormatter": "HookyQR.beautify"
@vitorbritto
vitorbritto / node-modules.md
Last active July 29, 2016 11:18
Install all node modules on my workflow
View node-modules.md

Workflow - Install Node modules

$ npm i -g
grunt-cli gulp-cli
jshint jscs clean-css eslint babel-eslint uncss
babel
nodemon pm2 browser-sync
@vitorbritto
vitorbritto / makefile
Created July 6, 2016 12:47
Using makefile to run automated tasks
View makefile
# MAKEFILE
#
# Autor: Vitor Britto
# Versão: 0.1.0
#
#
# Descrição:
# Arquivo para gerar um estrutura inicial para
# novos projetos e realizar tarefas de automação
#
@vitorbritto
vitorbritto / build.sh
Created July 6, 2016 12:33
Prepare and compile files using Shell Script
View build.sh
#!/bin/bash
#
 # Programa: build.sh
 # Autor: Vitor Britto
 #
 # Descrição:
 # Este script será responsável pelo build do projeto, o qual
 # fará o processo de minificação e concatenação dos arquivos
 # e preparação dos arquivos a serem colocados em produção.
@vitorbritto
vitorbritto / scaffolding.sh
Created July 6, 2016 12:30
Scaffolding for a new project using Shell Script
View scaffolding.sh
#!/bin/bash
#
 # Programa: scaffolding.sh
 # Autor: Vitor Britto
 #
 # Descrição:
 # Este script será responsável pela criação
 # de uma estrutura para novos projetos.
 #
@vitorbritto
vitorbritto / rake_cli.md
Last active August 29, 2015 14:14
Rake CLI
View rake_cli.md

Rake CLI

  • db:create creates the database for the current env
  • db:create:all creates the databases for all envs
  • db:drop drops the database for the current env
  • db:drop:all drops the databases for all envs
  • db:migrate runs migrations for the current env that have not run yet
  • db:migrate:up runs one specific migration
  • db:migrate:down rolls back one specific migration
  • db:migrate:status shows current migration status
@vitorbritto
vitorbritto / add_wp_cli.md
Created January 24, 2015 17:44
Install WordPress CLI
View add_wp_cli.md

Install WordPress CLI

# Installing WordPress CLI

curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
php wp-cli.phar --info
chmod +x wp-cli.phar
mv wp-cli.phar /usr/local/bin/wp

Installing WordPress Bash Completions