I hereby claim:
- I am apatil on github.
- I am appatil (https://keybase.io/appatil) on keybase.
- I have a public key ASAVyjh28PYFqu5KEu4RW8PR_Zs3uo3DxKkus8bHmEezEgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v2.json", | |
"data": { | |
"values": [ | |
{ "x": 0.0, "y": 1.0 }, | |
{ "x": 1.0, "y": 0.0 }, | |
{ "x": 2.0, "y": 1.0 } | |
] | |
}, | |
"description": "An example plot to show you how to use this package", |
--- | |
- hosts: master,nodes | |
become: True | |
become_user: root | |
become_method: sudo | |
vars_files: | |
- config.yml | |
vars: | |
k8s_version: 1.3.7 | |
docker_version: 1.11.2 |
#!/bin/bash | |
fname=$1 | |
branch=$2 | |
key=$3 | |
if [ "$fname" = "-h" ] | |
then | |
echo "Usage: git-crypt-diff fname branch key" | |
exit 0 |
# Test 1: | |
# Launch data-only container in privileged mode | |
sudo docker run -i -t --name dataonly --privileged -v /shared ubuntu:14.04 /bin/bash | |
# in container: | |
mdir /shared/usr | |
mount --bind /usr /shared/usr | |
# Launch client container and attempt to read data from data-only container | |
sudo docker run -i -t --volumes-from dataonly ubuntu:14.04 /bin/bash |
apiVersion: v1 | |
kind: PersistentVolume | |
metadata: | |
name: projects-share | |
labels: | |
app: sense | |
spec: | |
capacity: | |
storage: 12E | |
accessModes: |
#!/bin/bash | |
# I ran this on an EC2 c1.medium instance with Docker version 0.6.3 on Ubuntu 12.04. | |
# I ran docker -d on tcp port 4243, and delivered 'stop' via the rest api | |
# because that's what I do in my production setup, but I don't know if that | |
# makes a difference. | |
# First, run ubuntu:12.04, and in it do | |
# echo -e '#!/bin/bash\nsleep 600' > cmd.sh | |
# chmod +x cmd.sh | |
# Then commit it and tag it as img-with-cmd |
#!/usr/bin/env node | |
var shell = require("shelljs") | |
var n = 100; | |
var nPorts = 10; | |
var port = 40000; | |
var launchCmds = []; | |
for (var i = 0; i < n; i++) { |
#!/bin/bash | |
# (C) Copyright Canonical 2011,2012 | |
# What lxc container to clone | |
LXC_BASE="" | |
# $2 is a path to bind mount e.g. /tmp/foo. | |
LXC_BIND="" | |
LXC_DIR="" | |
UNION="overlayfs" |