This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
module.exports = { | |
types: [ | |
{value: 'feat', name: 'feat: A new feature'}, | |
{value: 'fix', name: 'fix: A bug fix'}, | |
{value: 'docs', name: 'docs: Documentation only changes'}, | |
{value: 'style', name: 'style: Changes that do not affect the meaning of the code\n (white-space, formatting, missing semi-colons, etc)'}, | |
{value: 'refactor', name: 'refactor: A code change that neither fixes a bug nor adds a feature'}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function guid(): string { | |
const date = new Date() | |
const timestamp = ((date.getTime() / 1000) | 0).toString(16) | |
const context = `${timestamp}xxxxxxxxxxxxxxxx` | |
const hash = context | |
.replace(/[x]/g, () => ((Math.random() * 16) | 0).toString(16)) | |
.toLowerCase() | |
return hash | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// settings | |
// To solve this problem add the following line of code in the settings.json file in vscode | |
files.watcherExclude": { | |
"**/**/*": true | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
o fix you can use a find find all files with permission 0 and set it to rw-r--r-- | |
find -perm 0 -type f -exec chmod 644 {} \; | |
find all directories with permission 0 and set it to rwxr-xr-x | |
find -perm 0 -type d -exec chmod 755 {} \; | |
Referência: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# GO Path | |
export PATH=$PATH:/usr/local/go/bin | |
# Yarn Path | |
#export PATH="$PATH:/opt/yarn-0.32/bin" | |
#Path to your oh-my-zsh installation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://gist.github.com/noygal/6b7b1796a92d70e24e35f94b53722219 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Completo: | |
Estudante de Ánalise e Desenvolvimento de Sistemas, entuasiasta em desenvolvimento Web FullStack com foco no back-end. | |
Apaixonado pelas tecnologias NodeJS, ReactJS e ReactNative. Amante das boas pratícas sendo elas Clean Architecture, Clean Code e o padrão Package by Feature, visando sempre seguir os princípios de design aplicados pelo S.O.L.I.D, K.I.S.S entre outros princípios. | |
Resumo: | |
Desenvolvedor Web FullStack com foco no back-end. Amante das boas praticas Clean Architecture e Clean Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Carro { | |
ID PK | |
nome_dono varchar | |
modelo varchar | |
placa varchar | |
numero_vaga FK | |
} | |
Vaga { | |
numero PK |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"tabnine.experimentalAutoImports": true, | |
"workbench.iconTheme": "material-icon-theme", | |
"editor.fontFamily": "Fira Code", | |
"editor.fontSize": 14, | |
"terminal.integrated.fontFamily": "Source Code Pro for Powerline", | |
"terminal.integrated.fontSize": 14, | |
"emmet.syntaxProfiles": { "javascript": "jsx" }, | |
"emmet.includeLanguages": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type BranchDataStructure = { | |
right: TreeDataStructure | |
left: TreeDataStructure | |
} | |
type TreeDataStructure = { | |
value: number | |
branch: BranchDataStructure | |
} |