Skip to content

Instantly share code, notes, and snippets.

View eltonea's full-sized avatar

Elton Ventura eltonea

View GitHub Profile
#UpGas
Order Status Flow
Requested*
driver accepts order -> InProgress
resale accepts order -> InProgress
driver rejects order -> RejectByDriver
resale rejects order -> RejectByResale
customer cancels order -> CanceledByCustomer
InProgress
@eltonea
eltonea / main.js
Last active December 15, 2017 02:19
webpack-simple
const displayText = (text) => console.log(text);
displayText('The powerfull webpack');
@eltonea
eltonea / semantic-commit.txt
Last active May 2, 2024 22:53
Exemplos de commit semântico
chore: add Oyster build script //Pequenas alterações que não são novas funcionalidades.
docs: explain hat wobble //Semelhante a uma wiki; documentações etc.
feat: add beta sequence //Criação de Nova funcionalidade;
fix: remove error message //Correção de bugs
refactor: share logic 4d3d3d3 //Refatoração de um código
style: convert tabs to spaces //Alteração em estilos, formatação de código etc.
test: ensure that increment //Criação de testes da sua aplicação
function ICalculator(){};
/*
Interface contract.
*/
ICalculator.prototype.Sum = function(a, b){
throw new Error('You have that implement this.');
};
ICalculator.prototype.Subtraction = function(a, b){
throw new Error('You have that implement this.');