Skip to content

Instantly share code, notes, and snippets.

View nicolascbarbosa's full-sized avatar
🏠
Working from home

Nicolas C. Barbosa nicolascbarbosa

🏠
Working from home
View GitHub Profile
@nicolascbarbosa
nicolascbarbosa / git.md
Created June 1, 2018 20:29 — forked from leocomelli/git.md
Lista de comandos úteis do GIT

#GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

@nicolascbarbosa
nicolascbarbosa / gh-pages-deploy.md
Created May 28, 2018 03:13 — forked from cobyism/gh-pages-deploy.md
Deploy to `gh-pages` from a `dist` folder on the master branch. Useful for use with [yeoman](http://yeoman.io).

Deploying a subfolder to GitHub Pages

Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.

For the sake of this example, let’s pretend the subfolder containing your site is named dist.

Step 1

Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).

StarQuiz

Objetivo

O objetivo desse desafio é medir o conhecimento do candidato em relação ao desenvolvimento de aplicativos Web com foco no front-end.

Enredo

Você conhece os personagens de Star Wars?

@nicolascbarbosa
nicolascbarbosa / bin-cc.md
Created October 6, 2016 18:27 — forked from erikhenrique/bin-cc.md
Bin de cartões de crédito para validação

Validação para cartão de crédito.

Bin e padrões para validação de cartão de crédito.

Bandeira Começa com Máximo de número Máximo de número cvc
Visa 4 13,16 3
Mastercard 5 16 3