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 | |
function event_stream { | |
ssh -p 29418 gerrit@localhost gerrit stream-events | |
} | |
function get_json { | |
python -c "import sys, json; print json.dumps(json.loads(sys.stdin.read())[sys.argv[1]])" $1 | |
} |
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
#!/usr/bin/env python2.6 | |
# Copyright (c) 2010, Code Aurora Forum. All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are | |
# met: | |
# # Redistributions of source code must retain the above copyright | |
# notice, this list of conditions and the following disclaimer. | |
# # Redistributions in binary form must reproduce the above |
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
Stevey's Google Platforms Rant (now-removed Google-internal Google+ post) | |
(possibly better formatted at http://steverant.pen.io/) | |
I was at Amazon for about six and a half years, and now I've been at | |
Google for that long. One thing that struck me immediately about the | |
two companies -- an impression that has been reinforced almost daily -- | |
is that Amazon does everything wrong, and Google does everything right. | |
Sure, it's a sweeping generalization, but a surprisingly accurate one. | |
It's pretty crazy. There are probably a hundred or even two hundred | |
different ways you can compare the two companies, and Google is superior |
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
#include <boost/spirit/include/qi.hpp> | |
#include <boost/spirit/include/phoenix.hpp> | |
#include <boost/shared_ptr.hpp> | |
#include <sstream> | |
namespace qi = boost::spirit::qi; | |
namespace ascii = boost::spirit::ascii; | |
namespace phx = boost::phoenix; | |
template<typename Iterator> |
NewerOlder