https://twitter.com/mrphilroth
https://www.bloomberg.com/news/articles/2011-04-14/this-tech-bubble-is-different
https://bost.ocks.org/mike/algorithms/
import importlib | |
import os | |
def list_file_modules(path): | |
return [ os.path.basename(f).split(".")[0] | |
for f in os.listdir(path) | |
if os.path.isfile(os.path.join(path, f)) | |
if f.endswith(".py") | |
if not f.startswith("_") ] |
#!/bin/sh | |
hash brew &> /dev/null | |
if [ $? -eq 1 ]; then | |
echo 'Installing Homebrew ...' | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" | |
fi | |
# Ensure Homebrew formulae are updated | |
brew update |
var request = require('request'); | |
var unzip = require('unzip'); | |
var csv2 = require('csv2'); | |
request.get('http://s3.amazonaws.com/alexa-static/top-1m.csv.zip') | |
.pipe(unzip.Parse()) | |
.on('entry', function (entry) { | |
entry.pipe(csv2()).on('data', console.log); | |
}) | |
; |