Skip to content

Instantly share code, notes, and snippets.

Avatar
🚀
Flying through space

Vinícius Pereira vinirossa

🚀
Flying through space
View GitHub Profile
@vinirossa
vinirossa / reset.css
Created January 4, 2022 20:00
Reset style from HTML elements
View reset.css
@charset "utf-8";
/* CSS Document */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, and, address, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, input, textarea, select {
background:transparent;
border:0;
font-size:100%;
margin:0;
outline:0;
padding:0;
@vinirossa
vinirossa / guia-node-boilerplate.md
Last active October 25, 2021 12:06
Criação de Repositório com Node Boilerplate
View guia-node-boilerplate.md

Criação de Repositório com Node Boilerplate

Manual / Repo

  1. Inicializar o Git na branch main
  2. Substituir os "node-boilerplate" pelo nome do repositório / projeto
  3. Atualizar o README com as informaçoes do projeto
  4. Atualizar o package.json com as informações do projeto
  5. Substituir a função foobar por uma do próprio projeto
  6. Garantir que a versão está 0.0.0 e sem CHANGELOG.md
View bash-for-if.sh
commitMessages=(one "two afd-d" three "Merge branch 'main'")
commitRegex="^Merge branch '.*'$"
for i in "${commitMessages[@]}"
do
if [[ $i =~ $commitRegex ]]
then
echo "Correct"
else
echo "Incorrect"
@vinirossa
vinirossa / regex-expressions.txt
Last active October 11, 2021 12:18
Useful Regex Expressions
View regex-expressions.txt
# Useful Regex Expressions
[a-z] = letras minúsculas
[A-Z] = letras maiúsculas
[\d] = números
[àèìòùáéíóúâêîôûäëïöüãõ] = letras minúsculas e maiúsculas acentuadas
[\p{Letter}] = letras minúsculas e maiúsculas acentuadas e cedilha
[ç] = cedilha
[`´^~¨] = acentos
[.:,;\-_<>=+*!?)(}{|''""\][\\/] = sinais de pontuação
View .gitconfig
[core]
editor = \"C:\\Users\\vinic\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe\" --wait
[user]
name = Vinícius Pereira
email = viniciuspsb@gmail.com
[alias]
c = checkout
ft = fetch
ftp = fetch --prune