Skip to content
View React Redux HoverHelper.js
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 {
View MoustrapMixin.js
/** @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 = {
View install gist command line
#install command line gist on mac
gem install gist
View .profile
#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'
View usefulAliases.sh
#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
View gist:99fcf420a49340a9c61f
ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/bin/subl
View .profile
alias gc='git checkout'
alias gcam='git commit -am '
alias gcb='git checkout -b '
alias gpu='git push -u'
alias gs='git status -sb '
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
Something went wrong with that request. Please try again.