This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QuickLookJSON.qlgenerator | |
CC_QL.qlgenerator | |
QLStephen.qlgenerator | |
QLColorCode.qlgenerator | |
QLMarkdown.qlgenerator | |
ScriptQL.qlgenerator | |
DICOMQuickLook.qlgenerator | |
ProcessingQL.qlgenerator | |
Archive.qlgenerator | |
GBQLGenerator.qlgenerator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NOTE: .pydistutils.cfg seems to be not compatible with brew install python | |
#areas I needed to clean before installation | |
#clean up ~/Library/Python | |
#clean up .local | |
brew install python --framework | |
easy_install pip | |
pip install virtualenv | |
pip install virtualenvwrapper | |
mkdir $HOME/.virtualenvs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX=$HOME | |
VERSION=1.2.3 | |
# Install Protocol Buffers | |
wget http://protobuf.googlecode.com/files/protobuf-2.4.1.tar.bz2 | |
tar -xf protobuf-2.4.1.tar.bz2 | |
cd protobuf-2.4.1 | |
./configure --prefix=$PREFIX | |
make | |
make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-*- coding:utf-8 - *- | |
def load_dataset(): | |
"Load the sample dataset." | |
return [[1, 3, 4], [2, 3, 5], [1, 2, 3, 5], [2, 5]] | |
def createC1(dataset): | |
"Create a list of candidate item sets of size one." |