Keybase proof
I hereby claim:
- I am gcamerli on github.
- I am gcamerli (https://keybase.io/gcamerli) on keybase.
- I have a public key ASCGqMERHavumfhrddd0un2LvF3nHc2gMzbWs5pC1M-KYAo
To claim this, I am signing this object:
#!/bin/sh | |
# Clean containers | |
docker container prune -f | |
# Clean images | |
docker image prune -f | |
# Clean networks | |
docker network prune -f |
#!/bin/bash | |
# ./docker-test-net.sh | |
# Create a test network with a subnet (e.g.) | |
docker network create --driver bridge --subnet 172.42.0.0/16 --gateway 172.42.0.1 test-net | |
# Run an nginx server on the test network assigning a static ip | |
docker run -d -h test --net test-net --ip 172.42.0.2 -p 8080:80 --name nginx nginx |
#!/bin/sh | |
# ./reset_attr.sh $1 | |
# Remove no-change attributes | |
chflags nouchg $1 | |
# Remove extended attributes | |
xattr -rc $1 |
#!/bin/sh | |
# sh docker_setup.sh | |
# Assuming you’re using zsh and you’ve already installed | |
# VirtualBox from MSC | |
LOGIN=$(whoami) | |
# Setup Brew | |
curl -fsSL https://rawgit.com/gcamerli/42brew/master/set.sh | zsh |
from flask import Flask | |
app = Flask(__name__) | |
@app.route("/") | |
def hello(): | |
return "<h1>Hello World</h1>" | |
if __name__ == "__main__": | |
app.run(host='0.0.0.0', port=3000) |
#!/bin/sh | |
INIT_ENV=bootstrap | |
# Name your "bootstrap" environment | |
PYTHON=$(which python) | |
# Set python interpreter you want for your environment | |
URL_BASE=https://pypi.python.org/packages/source/v/virtualenv | |
# Set the package url |
I hereby claim:
To claim this, I am signing this object: