This file contains hidden or 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
diff --git a/.gitignore b/.gitignore | |
index 2a86e41..c169bd4 100644 | |
--- a/.gitignore | |
+++ b/.gitignore | |
@@ -1,28 +1,12 @@ | |
# Docker project generated files to ignore | |
# if you want to ignore files created by your editor/tools, | |
-# please consider a global .gitignore https://help.github.com/articles/ignoring-files | |
-.vagrant* | |
+# please consider a global .gitignore |
This file contains hidden or 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
$ docker run -it --rm debian:wheezy bash | |
root@9ea67f28938b:/# apt-get update && apt-get install -y curl --no-install-recommends | |
... | |
The following extra packages will be installed: | |
libcurl3 libgcrypt11 libgnutls26 libgpg-error0 libgssapi-krb5-2 libidn11 | |
libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 | |
libp11-kit0 librtmp0 libsasl2-2 libssh2-1 libssl1.0.0 libtasn1-3 | |
Suggested packages: | |
rng-tools krb5-doc krb5-user | |
Recommended packages: |
This file contains hidden or 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
(print "hello") | |
(print "hyfriends!") |
This file contains hidden or 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
github.com/tianon/rawdns |
This file contains hidden or 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
$ docker build 5.018.002-64bit | |
Sending build context to Docker daemon 3.072 kB | |
Sending build context to Docker daemon | |
Step 0 : FROM buildpack-deps | |
---> 133626b602ad | |
Step 1 : MAINTAINER Peter Martini <[email protected]> | |
---> Running in 439365f937bf | |
---> 47a560ee0c2e | |
Removing intermediate container 439365f937bf | |
Step 2 : RUN apt-get update && apt-get install -y curl procps |
This file contains hidden or 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
keyboard = ( | |
{ key = "^Z"; id = "change_window"; data = "1"; }, | |
{ key = "meta-1"; id = "change_window"; data = "1"; }, | |
{ key = "meta-2"; id = "change_window"; data = "2"; }, | |
{ key = "meta-3"; id = "change_window"; data = "3"; }, | |
{ key = "meta-4"; id = "change_window"; data = "4"; }, | |
{ key = "meta-5"; id = "change_window"; data = "5"; }, | |
{ key = "meta-6"; id = "change_window"; data = "6"; }, | |
{ key = "meta-7"; id = "change_window"; data = "7"; }, | |
{ key = "meta-8"; id = "change_window"; data = "8"; }, |
This file contains hidden or 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
+ cd bashbrew/src/github.com/cpuguy83/docker-jruby | |
+ git reset -q HEAD | |
+ git checkout -q -- . | |
+ git clean -dfxq | |
+ git checkout -q fe814254b51c4f619ec2561df421259c32b27c63 -- | |
+ cd bashbrew/src/github.com/cpuguy83/docker-jruby/9000 | |
+ bashbrew/git-set-mtimes | |
+ docker build -t jruby:dev bashbrew/src/github.com/cpuguy83/docker-jruby/9000 | |
Sending build context to Docker daemon 3.072 kB |
This file contains hidden or 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 | |
set -e | |
image='tianon/speedtest' | |
layer='b31651d7665036bcf58a0b6b0d7aca173daff87b003ec50621cb0fde8d68864f' | |
# docker inspect b31651d7665036bcf58a0b6b0d7aca173daff87b003ec50621cb0fde8d68864f | grep '"Size"' | |
# "Size": 580580561, | |
# ("Content-Length: 228991341" though...) | |
token="$(curl -sSL -o /dev/null -D- -H 'X-Docker-Token: true' "https://index.docker.io/v1/repositories/$image/images" | awk -F ':[[:space:]]*|\r' '$1 == "X-Docker-Token" { print $2 }')" |
This file contains hidden or 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 | |
set -e | |
image='alunduil/roundcube' | |
tag='latest' | |
token="$(curl -sSL -o /dev/null -D- -H 'X-Docker-Token: true' "https://index.docker.io/v1/repositories/$image/images" | awk -F ':[[:space:]]*|\r' '$1 == "X-Docker-Token" { print $2 }')" | |
imageId="$(curl -sSL -H "Authorization: Token $token" "https://registry-1.docker.io/v1/repositories/$image/tags/$tag")" | |
echo "${imageId//\"/}" |
This file contains hidden or 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
diff --git a/display.go b/display.go | |
index fc52fcd..1aefc3a 100644 | |
--- a/display.go | |
+++ b/display.go | |
@@ -34,7 +34,7 @@ func truncate(s string) string { | |
func DisplayPullRequests(c *cli.Context, pulls []*gh.PullRequest, notrunc bool) { | |
w := newTabwriter() | |
- fmt.Fprintf(w, "NUMBER\tSHA\tLAST UPDATED\tCONTRIBUTOR\tASSIGNEE\tTITLE") | |
+ fmt.Fprintf(w, "URL\tLAST UPDATED\tCONTRIBUTOR\tTITLE") |