Download Kafka from:
https://www.apache.org/dyn/closer.cgi/incubator/kafka/kafka-0.7.2-incubating/kafka-0.7.2-incubating-src.tgz
Install Kafka
Host * | |
ControlPath ~/.ssh/control/%C | |
ControlMaster auto |
/* For example, I want to do this: | |
* | |
* sqlContext.catalog.client.getTable("default", "blah").properties | |
* | |
* but none of that is public to me in the shell. Using this, I can now do: | |
* | |
* sqlContext.reflectField("catalog").reflectField("client").reflectMethod("getTable", Seq("default", "blah")).reflectField("properties") | |
* | |
* not perfect, but usable. | |
*/ |
alias gbr='git for-each-ref --sort="-authordate:iso8601" --format=" %(color:green)%(authordate:iso8601)%09%(color:white)%(refname:short)" refs/heads' |
In projects where I only participate in some small areas, I often want to fetch | |
or update just one (or few) particular pull request, without polluting my repo with the full | |
fetch = +refs/pull/*/head:refs/pull/origin/* | |
configuration. To do that, one-off command like | |
git fetch origin refs/pull/529/head:pr-529 -f | |
does the trick. |
As configured in my dotfiles.
start new:
tmux
start new with session name: