Skip to content

Instantly share code, notes, and snippets.

View dodocinho's full-sized avatar
:octocat:
Information wants to be free

Dodô - Evandro Carreira dodocinho

:octocat:
Information wants to be free
View GitHub Profile
@leonardokl
leonardokl / README.md
Created October 11, 2017 20:12
Convetional ChangeLog Prefixes

Convetional ChangeLog Prefixes

  • feat: A new feature

  • fix: A bug fix

  • BREAKING CHANGE: A breaking change

  • docs: Documentation only changes

@flesler
flesler / index.html
Last active September 11, 2021 13:16
Anchor navigation powered by jquery.scrollTo
<!-- Include jQuery from somewhere, must use version 1.8 or above -->
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Include latest jquery.scrollTo, can download from https://github.com/flesler/jquery.scrollTo/releases -->
<script type="text/javascript" src="//cdn.jsdelivr.net/jquery.scrollto/2.1.2/jquery.scrollTo.min.js"></script>
<!-- Initialize the plugin, the contents of the script can be inlined here, of course -->
<script type="text/javascript" src="js/init.js"></script>
@erikhenrique
erikhenrique / bin-cc.md
Last active June 30, 2024 22:14
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
@jfsiii
jfsiii / index.html
Last active January 4, 2021 18:11
Full-Screen Layout using Flexbox
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Holy Grail</title>
<style>
/* some basic styles. nothing to do with flexbox */
header, footer,
nav, article, aside {
border: 1px solid black;
@wildiney
wildiney / verifica_cartao.js
Created October 19, 2012 17:39
Função Javascript para validar cartão de crédito
function checkCard(num){
var msg = Array();
var tipo = null;
if(num.length > 16 || num[0]==0){
msg.push("Número de cartão inválido");
} else {