Skip to content

Instantly share code, notes, and snippets.

View femontanha's full-sized avatar

Fellipe Azambuja femontanha

  • Brazil
View GitHub Profile
@femontanha
femontanha / tab-trigger.js
Created September 17, 2016 04:41 — forked from wesbos/tab-trigger.js
How to properly get a TAB trigger working with Emmet inside of JSX
{
"keys": ["tab"],
"command": "expand_abbreviation_by_tab",
// put comma-separated syntax selectors for which
// you want to expandEmmet abbreviations into "operand" key
// instead of SCOPE_SELECTOR.
// Examples: source.js, text.html - source
"context": [
{
@femontanha
femontanha / adb-shellinput.sh
Created September 16, 2016 17:56
Open Debugger React Native (Android Device adb shell input)
adb shell input keyevent 82
npm install -g sass-lint` e no sublime instala o package `sublimeLinters-contrib-sass-lint
# SMACSS Property Order
# http://smacss.com/book/formatting
# Box
display
position
top
right
bottom
@femontanha
femontanha / accept-pr.md
Created February 13, 2016 03:08
Accept Pull Request

#Accept Pull Request

  1. git checkout develop && git pull origin develop

  2. git checkout feature/nome_da_feature

  3. git flow feature finish nome_da_feature

  4. git push origin develop

@femontanha
femontanha / dabblet.css
Created July 16, 2013 21:43
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
@femontanha
femontanha / function regex
Created November 6, 2012 21:14
new RegExp('[^'+pattern+']+', 'g')
Patterns
Letras maiúsculas com acento - À-ÃÈ-ÊÌ-ÎÒ-ÕÙ-ÛA-Z (Tabela Unicode)
Números = \\d
@femontanha
femontanha / gist:3954634
Created October 25, 2012 18:48
Regex espaço em branco
^\s{0,}\n
@femontanha
femontanha / gist:2820158
Created May 28, 2012 17:17
Regex replace blank space for '-'
foo.replace(/\s/g,'-');
@femontanha
femontanha / cufon characters
Created May 22, 2012 13:47
List of characters for cufon
(url) - http://cufon.shoqolate.com/generate/
áàãâäéèêëíìîïóòõôöúùûüçÁÀÃÂÄÉÈÊËÍÌÎÏÓÒÕÔÖÚÙÛÜÇñÑ“”‘’¿ªº®©