This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
import React, {PropTypes} from 'react'; | |
const ${1:${TM_FILENAME/(.+)\..+/$1/}} = (props) => { | |
return ( | |
${4} | |
); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
amend = commit --amend | |
br = branch --sort=-committerdate | |
brd = "!f() { git branch -d $1 $2 $3 && git br; }; f" | |
brm = branch --merged | |
cm = checkout master | |
co = checkout | |
dc = diff --cached | |
fix = "!f() { git commit --fixup $1 && git rebase -i --autosquash $1~1; }; f" | |
fixa = "!f() { git commit --fixup $1 && git rebase --autosquash $1~1; }; f" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"binary_file_patterns": [ | |
"**/node_modules/*", | |
"**/coverage/*", | |
"*bundle.js", | |
"*.jpg", | |
"*.jpeg", | |
"*.png", | |
"*.gif", | |
"*.ttf", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source ~/.bash_completion.d/wo | |
wo() { | |
cd /var/www/$1 | |
. ./venv/bin/activate | |
if [ -d project ]; then | |
cd project | |
fi | |
if [ -d app ]; then | |
cd app |