/mouse enable
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
# sourcing this file will define a bash functions that | |
# tries to run subsequent calls to emacs with 24 bit color. | |
# | |
# It sets TERM=xterm-emacs-leg if | |
# - we've created a user-local terminfo record for xterm-emacs-leg, and | |
# - we're using iTerm2 or something has set COLORTERM=truecolor | |
# | |
# This will cause emacs to use 24 bit color only when it will work, | |
# inside or outside of tmux. I haven't found a way to auto-detect Blink.sh yet. | |
# |
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
## ZSH Options | |
# http://zsh.sourceforge.net/Doc/Release/Options.html | |
# Changing Directories | |
# http://zsh.sourceforge.net/Doc/Release/Options.html#Changing-Directories | |
setopt auto_cd # if a command isn't valid, but is a directory, cd to that dir | |
setopt auto_pushd # make cd push the old directory onto the directory stack | |
setopt pushd_ignore_dups # don’t push multiple copies of the same directory onto the directory stack | |
setopt pushd_minus # exchanges the meanings of ‘+’ and ‘-’ when specifying a directory in the stack |
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 e='emacsclient -q -a emacs' | |
EDITOR=emacsclient | |
function e { | |
tmux new-window -a -n "emacs" "$EDITOR $@" | |
} | |
function ee { | |
tmux split-window "$EDITOR $@" |
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
# basic factor analysis | |
# http://blog.alphaarchitect.com/2015/05/28/basic-factor-analysis-simple-tools-to-understand-what-drives-performance/ | |
import pandas as pd | |
import pandas.io.data as web | |
import datetime, re, copy | |
import numpy as np | |
import statsmodels.formula.api as sm | |
start = datetime.date(2000,1,1) |