brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
| # download docx2txt by Sandeep Kumar | |
| wget -O docx2txt.pl http://www.cs.indiana.edu/~kinzler/home/binp/docx2txt | |
| # make a wrapper | |
| echo '#!/bin/bash | |
| docx2txt.pl $1 -' > docx2txt | |
| chmod +x docx2txt | |
| # make sure docx2txt.pl and docx2txt are your current PATH. Here's a guide | |
| http://shapeshed.com/using_custom_shell_scripts_on_osx_or_linux/ |
| # | |
| # Get appraised value of car from Edmunds.com using the developer API with R | |
| # Reference: http://developer.edmunds.com/docs/read/The_Vehicle_API | |
| # | |
| # set working dir | |
| setwd('~/R/carvalue') | |
| #load libraries | |
| library(RJSONIO) |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| # Makefile for generating R packages. | |
| # 2011 Andrew Redd | |
| # | |
| # Assumes Makefile is in a folder where package contents are in a subfolder pkg. | |
| # Roxygen uses the roxygen2 package, and will run automatically on check and all. | |
| PKG_VERSION=$(shell grep -i ^version pkg/DESCRIPTION | cut -d : -d \ -f 2) | |
| PKG_NAME=$(shell grep -i ^package pkg/DESCRIPTION | cut -d : -d \ -f 2) | |
| R_FILES := $(wildcard pkg/R/*.R) |