THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
# Example of using Fiona, pyproj, and Shapely together in a functional | |
# style. | |
import functools | |
import itertools | |
import logging | |
import sys | |
import fiona | |
from pyproj import Proj, transform |
doInstall <- TRUE | |
toInstall <- c("ggplot2") | |
if(doInstall){install.packages(toInstall, repos = "http://cran.us.r-project.org")} | |
lapply(toInstall, library, character.only = TRUE) | |
ANES <- read.csv("http://www.oberlin.edu/faculty/cdesante/assets/downloads/ANES.csv") | |
ANES <- ANES[ANES$year == 2008, -c(1, 11, 17)] # Limit to just 2008 respondents, | |
head(ANES) # remove some non-helpful variables | |
# Fit several models with the same DV: |
""" | |
required packages: | |
numpy | |
matplotlib | |
basemap: http://matplotlib.org/basemap/users/installing.html | |
shapely: https://pypi.python.org/pypi/Shapely | |
descartes: https://pypi.python.org/pypi/descartes | |
random | |
var s=document.createElement('script'); s.type='text/javascript'; s.src='http://d3js.org/d3.v3.min.js'; document.head.appendChild(s); |
--- | |
title : Two Column Layout | |
author : Ramnath Vaidyanathan | |
framework : io2012 # {io2012, html5slides, shower, dzslides, ...} | |
highlighter : highlight.js # {highlight.js, prettify, highlight} | |
hitheme : solarized_light # | |
--- .RAW | |
## Two Column Layout |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
IPython Installation | |
1. Install Git | |
1. sudo apt-get install git | |
2. Install IPython from GitHub server | |
1. git clone --recursive https://github.com/ipython/ipython.git (this clones the git repo into a directory called ‘ipython’ located in the directory you run the command from) | |
3. Run the IPython setup script | |
1. cd into the ‘ipython’ directory created in the previous step | |
2. sudo python setup.py install | |
4. Set up a self-signed certificate for SSL (still results in warning in the browser but allows for SSL) |
sudo apt-get install python-pip
or wget https://bootstrap.pypa.io/get-pip.py && sudo python get-pip.py
sudo pip install powerline-status
git clone https://github.com/powerline/fonts.git && cd fonts && sh ./install.sh
set rtp+=/usr/local/lib/python2.7/dist-packages/powerline/bindings/vim/
> " Always show statusline