Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Yulong Jing jingyulong

🎯
Focusing
Block or report user

Report or block jingyulong

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@patriciogonzalezvivo
patriciogonzalezvivo / PythonSetup.md
Created Oct 7, 2014
How to install Python correctly on Mac OSX
View PythonSetup.md

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 Nov 22, 2013
Python script for converting tsv to csv
View tsv2csv.py
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)
You can’t perform that action at this time.