(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| alias gbr='git for-each-ref --sort="-authordate:iso8601" --format=" %(color:green)%(authordate:iso8601)%09%(color:white)%(refname:short)" refs/heads' |
| #!/usr/bin/ruby | |
| require 'json' | |
| DESC_HEAD = /^\.([^\.\[]+)/ | |
| DEREF_HEAD = /^\[(\d+)\]/ | |
| def usage | |
| $stderr.puts <<USAGE | |
| usage: json descriptor |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #!/bin/bash | |
| mkdir sslfix | |
| cd sslfix | |
| wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/openssl_1.0.1e-3ubuntu1.2.dsc | |
| wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/openssl_1.0.1e.orig.tar.gz | |
| wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/openssl_1.0.1e-3ubuntu1.2.debian.tar.gz | |
| sudo apt-get build-dep openssl | |
| dpkg-source -x openssl_1.0.1e-3ubuntu1.2.dsc |
| public interface GuavaCacheMXBean { | |
| public long getRequestCount(); | |
| public long getHitCount(); | |
| public double getHitRate(); | |
| public long getMissCount(); |
Either copy the aliases from the .gitconfig or run the commands in add-pr-alias.sh
Easily checkout local copies of pull requests from remotes:
git pr 4 - creates local branch pr/4 from the github upstream(if it exists) or origin remote and checks it outgit pr 4 someremote - creates local branch pr/4 from someremote remote and checks it out