start new:
tmux
start new with session name:
tmux new -s myname
import urllib2 | |
import json | |
import time | |
# Form: http://digitalpbk.com/stock/google-finance-get-stock-quote-realtime | |
class GoogleFinanceAPI: | |
def __init__(self): | |
self.prefix = "http://finance.google.com/finance/info?client=ig&q=" | |
def get(self,symbol,exchange): |
Save books out of Safari Books Online
From http://objectivesea.tumblr.com/post/9033067018/safaribooks
This is hard. I spent way too much time figuring this out, because I was annoyed that a book I bought (Addison-Wesley) was available online for free, except only for 45 days after which payment was required. So I made this hack... probably useful to no one else, but here it is.
Requirements: