I hereby claim:
- I am davidwalter0 on github.
- I am davidwalter (https://keybase.io/davidwalter) on keybase.
- I have a public key ASDb3UfSbovTX7fM6ovJtc29uhnasXn4600uLmA7uLghoAo
To claim this, I am signing this object:
#!/bin/bash | |
# same idea as [https://docs.docker.com/articles/baseimages] different name than scratch | |
tar cv --files-from /dev/null | docker import - null |
# create an empty container for data -- mounted by docker into the /var/lib/docker* path | |
docker run --name=data-01--interactive --tty --volume=/data null /not.runnable.data.only.container | |
# use the empty data container | |
docker run --name=shell-with-data-01 --volumes-from=data-01 --interactive --tty centos:centos6 /bin/bash | |
# Multiple containers can use this for common storage. | |
docker run --name=shell-with-data-02 --volumes-from=data-01 --interactive --tty centos:centos6 /bin/bash |
https://savannah.nongnu.org/cvs/?group=jailkit |
from bottle import route, run, request, static_file | |
import subprocess | |
""" | |
Get DEVICE_ID by running script and connecting to the url with your mobile device | |
python unlock.py | |
Bottle v0.11.2 server starting up (using WSGIRefServer())... | |
Listening on http://192.168.77.102:8888/ |
# Here's a little CoffeeScript routine that will recursively | |
# read the file-system, generating an object that represents | |
# a directory tree. | |
# The returned object will contain the following attributes: | |
# | |
# * `file` - the basename of the file. | |
# * `dir` - the directory containing the file. | |
# * `types` - an array containing zero or more of | |
# "File", "Directory", "SymbolicLink", "BlockDevice", |
from BaseHTTPServer import BaseHTTPRequestHandler | |
import urlparse, json | |
class GetHandler(BaseHTTPRequestHandler): | |
def do_GET(self): | |
parsed_path = urlparse.urlparse(self.path) | |
message = '\n'.join([ | |
'CLIENT VALUES:', | |
'client_address=%s (%s)' % (self.client_address, |
user httpd; | |
worker_processes 2; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; | |
events { |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: trivial-container | |
spec: | |
containers: | |
- name: c | |
image: ubuntu:xenial | |
#resources: | |
# limits: |
I hereby claim:
To claim this, I am signing this object: