- See here: http://vim.1045645.n5.nabble.com/MacVim-and-PATH-td3388705.html#a3392363
- Do this:
sudo mv /etc/zshenv /etc/zprofile
- Put this in your
~/.zprofile
| #/usr/bin/env python | |
| from pandas import np | |
| from pandas.io.data import DataReader | |
| def historical_volatility(sym, days): | |
| "Return the annualized stddev of daily log returns of `sym`." | |
| try: | |
| quotes = DataReader(sym, 'yahoo')['Close'][-days:] |
| [Dialer Defaults] | |
| Init1 = ATZ | |
| Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 | |
| Phone = #777 | |
| ISDN = 0 | |
| Password = vzw | |
| Username = XXX-XXX-XXXX | |
| Modem = /dev/ttyUSB1 | |
| Baud = 921600 | |
| Stupid Mode = on |
| # 0. Make sure you have Ruby 1.9.3 installed, and optionally RVM and PostgreSQL | |
| # 0.2 If you are on the Mac, make sure you have a c compiler by installing XCode Command Line Tools or gcc4.2 with homebrew | |
| # https://github.com/mxcl/homebrew/wiki/Custom-GCC-and-cross-compilers | |
| # 0.5 Make sure you have bundler version ~> 1.2 as Rails depends on it | |
| gem install bundler | |
| # 1. Get edge Rails source (master branch) | |
| git clone https://github.com/rails/rails.git |
sudo mv /etc/zshenv /etc/zprofile~/.zprofile