Skip to content

Instantly share code, notes, and snippets.

View abunuwas's full-sized avatar
🎯
Focusing

José Haro Peralta abunuwas

🎯
Focusing
View GitHub Profile
!#/bin/bash
# Converts tabs to 4 spaces in all .py files found recursively from
# the directory where it's run
find . -name '*.py' ! -type d -exec bash -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;
#####################
# Remove all images #
#####################
images=($(docker images -q))
length=${#images[@]}
for (( i=0; i<$length; i++ ));
do
@abunuwas
abunuwas / Dockerfile
Created July 1, 2016 10:25
Docker file tutorial
########################################################
# Dockerfile to build Python WSGI Application Containers
# Based on Ubuntu
########################################################
# Set the base image to Ubuntu
FROM ubuntu
# File Author / Maintainer
MAINTAINER Jose Haro
########################################################
# Dockerfile to build Python WSGI Application Containers
# Based on Ubuntu
########################################################
# Set the base image to Ubuntu
FROM ubuntu
# File Author / Maintainer
MAINTAINER Jose Haro
########################################################
# Dockerfile to build Python WSGI Application Containers
# Based on Ubuntu
########################################################
# Set the base image to Ubuntu
FROM ubuntu
# File Author / Maintainer
MAINTAINER Jose Haro
########################################################
# Dockerfile to build Python WSGI Application Containers
# Based on Ubuntu
########################################################
# Set the base image to Ubuntu
FROM ubuntu
# File Author / Maintainer
MAINTAINER Jose Haro