Skip to content

Instantly share code, notes, and snippets.

View jingyulong's full-sized avatar
🎯
Focusing

Yulong Jing jingyulong

🎯
Focusing
View GitHub Profile
@patriciogonzalezvivo
patriciogonzalezvivo / PythonSetup.md
Created October 7, 2014 23:17
How to install Python correctly on Mac OSX

Install Homebrew

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

Add PATH to ~/.bash_profile and ~/.zshrc

export PATH=/usr/local/bin:$PATH
@nsonnad
nsonnad / tsv2csv.py
Created November 22, 2013 11:38
Python script for converting tsv to csv
import sys
import csv
tabin = csv.reader(sys.stdin, dialect=csv.excel_tab)
commaout = csv.writer(sys.stdout, dialect=csv.excel)
for row in tabin:
commaout.writerow(row)