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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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 gc='git checkout' | |
alias gcam='git commit -am ' | |
alias gcb='git checkout -b ' | |
alias gpu='git push -u' | |
alias gs='git status -sb ' |
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
ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/bin/subl |
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
#lists your last 20 branches in the order that you last commited to them | |
alias gbh='git for-each-ref --count=20 --sort=-committerdate refs/heads/ --format='\''%(refname:short)'\''' | |
alias gc='git checkout' | |
alias gcam='git commit -am ' | |
alias gcb='git checkout -b ' | |
alias gpuo='git push -u origin' | |
alias gs='git status -sb ' | |
#need to npm install -g node-inspector and nodemon before using this one |
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
#update this gist here: https://gist.github.com/tnrich/91deea34c648fb38f537 | |
#note this command isn't working for me | |
if [ -f ~/.git-completion.bash ]; then | |
. ~/.git-completion.bash | |
fi | |
#VE specific commands | |
alias gpuo='git push -u origin' | |
alias gpod='git pull origin dev' |
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
#install command line gist on mac | |
gem install gist |
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
/** @jsx React.DOM */ | |
// NOTE: This file is formatted for React.js + Browserify | |
// You might need to make some changes to use it without Browserify | |
var MousetrapMixin, | |
Mousetrap = require('mousetrap'); | |
MousetrapMixin = { |
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
^\s+(console\.log.*)$ |
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
import deepEqual from 'deep-equal'; | |
import onlyUpdateForKeys from 'recompose/onlyUpdateForKeys'; | |
import {mouseAware} from 'react-mouse-aware'; | |
// import './style'; | |
import * as hoveredAnnotationActions from '../redux/hoveredAnnotation'; | |
import {connect} from 'react-redux'; | |
import React from 'react'; | |
import lruMemoize from 'lru-memoize'; | |
class HoverHelper extends React.Component { |
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
These are my atom settings! |
OlderNewer