- Task
- Task
- Task
- Task
- Task
- Task
- Task
- Task
- Task
- Task
- Task
- Task
- Task
- Task
- Task
- Task
- Task
This file contains 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
(.env)Rob@rmbp ~/src/pydatasv2014 (master) $ pip freeze | |
Flask==0.10.1 | |
Jinja2==2.7.2 | |
Markdown==2.4 | |
MarkupSafe==0.19 | |
PyYAML==3.11 | |
Pygments==1.6 | |
Sphinx==1.2.2 | |
Werkzeug==0.9.4 | |
backports.ssl-match-hostname==3.4.0.2 |
This file contains 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
import bearcart | |
import bokeh | |
import bokeh.plotting as bp | |
from bokeh.plotting import output_notebook | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
import mpld3 | |
import numpy as np | |
import vincent | |
import ggplot as gg |
This file contains 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
Python 2.6.9 |Continuum Analytics, Inc.| (unknown, Jan 10 2014, 13:33:57) | |
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import timeit | |
>>> from math import sqrt | |
>>> | |
>>> n = 100 | |
>>> sqrt_n = int(sqrt(n)) | |
>>> | |
>>> def with_set(): |
This file contains 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
These are the TechCrunch one-sentence summaries of the YCombinator 2014 class: | |
"Speeds up the process of genetically engineering and growing ingredients" | |
"A platform that provides ways for artists to make more money off their concerts and sell directly to fans" | |
"An e-filing service for paying income taxes in India" | |
"A company that arbitrages the cost of goods in different countries by using international travelers as a distribution network" | |
"Sells men’s custom shirts by measuring you with the camera on your phone" | |
"Creates technology for genetically engineering plants" | |
"Attacking the $400 billion used car market" | |
"Using nanodiamonds to redefine medical imaging" |
This file contains 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
scala> def addStringOneParam(input: String): String = input + "foo" | |
addStringOneParam: (input: String)String | |
scala> def addStringDefParam(input: String, toAdd: String = "foo"):String = input + toAdd | |
addStringDefParam: (input: String, toAdd: String)String | |
scala> addStringOneParam("baz") | |
res3: String = bazfoo | |
scala> addStringDefParam("baz") |
This file contains 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
scala> Array(1, 2, 3) == Array(1, 2, 3) | |
res0: Boolean = false | |
scala> Vector(1, 2, 3) == Vector(1, 2, 3) | |
res1: Boolean = true | |
scala> List(1, 2, 3) == List(1, 2, 3) | |
res2: Boolean = true |
This file contains 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
scala> Set | |
res0: scala.collection.immutable.Set.type = scala.collection.immutable.Set$@12559336 | |
scala> import scala.collection.mutable.Set | |
import scala.collection.mutable.Set | |
scala> Set | |
res1: scala.collection.mutable.Set.type = scala.collection.mutable.Set$@f86a0bd |
This file contains 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
#!/bin/bash | |
virtualenv .env && | |
source .env/bin/activate && | |
brew install libevent && | |
brew install libyaml && | |
pip install cython && | |
pip install numpy && | |
pip install scipy && | |
pip install pandas && | |
pip install matplotlib && |
This file contains 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
Robs-MacBook-Pro:testenv robstory$ sh PIPALLTHETHINGS.sh | |
New python executable in .env/bin/python2.7 | |
Also creating executable in .env/bin/python | |
Installing setuptools, pip...done. | |
Warning: libevent-2.0.21 already installed | |
Warning: libyaml-0.1.6 already installed | |
Downloading/unpacking cython | |
Downloading Cython-0.20.2-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.whl (3.4MB): 3.4MB downloaded | |
Installing collected packages: cython | |
Successfully installed cython |
OlderNewer