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 SimpleHTTPServer | |
class CORSHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): | |
def send_head(self): | |
"""Common code for GET and HEAD commands. | |
This sends the response code and MIME headers. | |
Return value is either a file object (which has to be copied | |
to the outputfile by the caller unless the command was HEAD, | |
and must be closed by the caller under all circumstances), or |
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
pg-deps: | |
pkg: | |
- installed | |
- names: | |
- postgresql-9.1 | |
- postgresql-contrib-9.1 | |
bar: | |
postgres_user: | |
- present |
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
GFS = HDFS | |
MapReduce = Hadoop | |
BigTable = HBase | |
Protocol Buffers = Thrift or Avro (serialization) | |
Stubby = Thrift or Avro (RPC) | |
ColumnIO = Parquet | |
Dremel = Impala | |
Chubby = Zookeeper | |
Omega = Mesos | |
Borg = Aurora |