(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
package main | |
import ( | |
"context" | |
"fmt" | |
"log" | |
"net/http" | |
"golang.org/x/oauth2" | |
"golang.org/x/oauth2/google" |
#!/bin/bash | |
# Copyright © 2017 Google Inc. | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#cloud-config | |
disable_root: false | |
manage_etc_hosts: true | |
# The modules that run in the 'init' stage | |
cloud_init_modules: | |
- migrator | |
- ubuntu-init-switch | |
- seed_random | |
- bootcmd |
gkahuna@lmp-swarm-i-master:~$ cat docker-extension.log | |
[DockerExtension] 2015/07/09 15:02:14 ---------------------------------------- | |
[DockerExtension] 2015/07/09 15:02:14 Extension handler launch args: "./bin/docker-extension install" | |
[DockerExtension] 2015/07/09 15:02:14 Status 'transitioning' not reported for operation 'Install Docker' (by design) | |
[DockerExtension] 2015/07/09 15:02:14 distro info: Ubuntu 14.04 | |
[DockerExtension] 2015/07/09 15:02:14 using distro driver: driver.UbuntuUpstartDriver | |
[DockerExtension] 2015/07/09 15:02:14 user: root uid:0 gid:0 | |
[DockerExtension] 2015/07/09 15:02:14 env['PATH'] = /usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin | |
[DockerExtension] 2015/07/09 15:02:14 + starting: 'install' | |
[DockerExtension] 2015/07/09 15:02:14 ++ install docker |
I install these on OS X every single time I set up a new one:
#!/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 }')" |
#!/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 }')" |