Skip to content

Instantly share code, notes, and snippets.

View wesleyvicthor's full-sized avatar

wmsan wesleyvicthor

View GitHub Profile
@wesleyvicthor
wesleyvicthor / svgfixer.js
Created June 16, 2016 18:12 — forked from leonderijke/svgfixer.js
Fixes references to inline SVG elements when the <base> tag is in use.
/**
* SVG Fixer
*
* Fixes references to inline SVG elements when the <base> tag is in use.
* Firefox won't display SVG icons referenced with
* `<svg><use xlink:href="#id-of-icon-def"></use></svg>` when the <base> tag is on the page.
*
* More info:
* - http://stackoverflow.com/a/18265336/796152
* - http://www.w3.org/TR/SVG/linking.html
@wesleyvicthor
wesleyvicthor / ;)
Created July 6, 2012 17:38 — forked from lfguerreiro/Config .git
.gitconfig
[user]
name = NOME
email = EMAIL
[color]
diff = auto
grep = auto
interactive = auto
status = auto
branch = auto
regex=/^([1-9][1-9] +|\([1-9][1-9]\) *)[1-9]\d{2,4}[ .-]?\d{4}$/;
strings=[
/* Só numéricos com espaços que casam */
'11 9990000',
'11 99990000',
'11 999990000',
'11 999 0000',
'11 9999 0000',
'11 99999 0000',