Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View tnrich's full-sized avatar

Thomas Willheim tnrich

View GitHub Profile
{ "Ansi 7 Color" : { "Blue Component" : 0.7333333492279053, "Green Component" : 0.7333333492279053, "Red Component" : 0.7333333492279053 }, "Tags" : [ ], "Ansi 12 Color" : { "Blue Component" : 1, "Green Component" : 0.3333333432674408, "Red Component" : 0.3333333432674408 }, "Ansi 8 Color" : { "Blue Component" : 0.3333333432674408, "Green Component" : 0.3333333432674408, "Red Component" : 0.3333333432674408 }, "Ansi 9 Color" : { "Blue Component" : 0.3333333432674408, "Green Component" : 0.3333333432674408, "Red Component" : 1 }, "Bold Color" : { "Blue Component" : 1, "Green Component" : 1, "Red Component" : 1 }, "Horizontal Spacing" : 1, "Ansi 6 Color" : { "Blue Component" : 0.7333333492279053, "Green Component" : 0.7333333492279053, "Red Component" : 0 }, "Rows" : 25, "Default Bookmark" : "No", "Non-ASCII Anti Aliased" : true, "Use Bright Bold" : true, "Ansi 10 Color" : { "Blue Component" : 0.3333333432674408, "Green Component" : 1, "Red Component" : 0.3333333432674408 }, "Ambiguous Double Width" : false, "J
@tnrich
tnrich / index.js
Created October 28, 2016 06:52
requirebin sketch
// Welcome! require() some modules from npm (like you were using browserify)
// and then hit Run Code to run your code on the right side.
// Modules get downloaded from browserify-cdn and bundled in your browser.
require('inert-polyfill')
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Monokai</string>
<key>settings</key>
<array>
<dict>
<key>name</key>
These are my atom settings!
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 {
@tnrich
tnrich / uncommentedConsoleLogFinder
Last active August 29, 2015 14:26
find uncommented console logs
^\s+(console\.log.*)$
/** @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 = {
@tnrich
tnrich / install gist command line
Last active August 29, 2015 14:16
install gist command line
#install command line gist on mac
gem install gist
@tnrich
tnrich / .profile
Last active August 29, 2015 14:16
tnr's .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'
@tnrich
tnrich / usefulAliases.sh
Created February 22, 2015 03:47
Useful git shell aliases. Put them in ~/.profile or ~/.bashrc or wherever you keep your aliases
#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