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
""" | |
A sample utility for customizing virtualenv creation based | |
on the postmkvirtualenv hook provided by virtualenvwrapper. | |
This script will generate a Komodo project file suitable for | |
use in Komodo Edit (and presumably Komodo IDE). The project preferences | |
are automatically customized so that the Python path contains the | |
new virtualenv's site-packages directory. | |
(Project Properties -> Languages -> Python in the GUI) |
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
brew install git | |
brew update | |
brew install readline | |
brew link readline | |
brew install python | |
brew install postgres | |
brew install postgis | |
brew install gdal | |
brew install geos | |
brew install git |
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
[4:47pm] dslipakoff: You see this cat Croddy is a bad mother-- | |
[4:47pm] cmheisel: Shut your croddy | |
[4:47pm] dslipakoff: But I'm talking about Croddy | |
[4:47pm] cmheisel: Then we can croddy it | |
[4:47pm] dslipakoff: He's a complicated man | |
[4:47pm] cmheisel: And no one understands him but his TTY | |
[4:48pm] mchace: That's a sex machine to all the chicks | |
[4:48pm] cmheisel: Croddy! | |
[4:48pm] dslipakoff: Who's the white Ops Guys | |
[4:48pm] dslipakoff: that's a HotFixing machine to all the servers ? |
Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)
That's it!
A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."
- Does the design expect failures to happen regularly and handle them gracefully?
- Have we kept things as simple as possible?
User story
As a Kabbage developer, I want to see how you code a lightweight application, so that I can get a feel for your skills and strengths.
Acceptance Criteria:
- Given a user, when they access your application, then they should be presented with a search box prompting them for a topic
- Given a user, when they enter a topic, results from Twitter should be returned
- Given a user, when they enter a topic, results from Wikipedia should be returned
- Given a user who's performed a search, when they hit the browser's refresh button, results should be refreshed under the same search criteria.