Skip to content

Instantly share code, notes, and snippets.

View fabiogoll's full-sized avatar

Fábio Goll fabiogoll

View GitHub Profile
@jhafner
jhafner / jquery-to-vanilla-js.md
Created December 16, 2013 17:52 — forked from harmstyler/moving_from_jquery.md
jQuery methods in vanilla JavaScript.

Moving from jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
@vinicius73
vinicius73 / atom.md
Last active July 13, 2020 21:44
My default Atom packages and theme
@jean-cap
jean-cap / expressoesRegulares.md
Last active March 2, 2023 13:42
Expressões regulares úteis

Algumas expressões regulares úteis

Validação de e-mail:

var er = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
var email = 'teste@teste.com';
er.test(email); // true