As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
// Add on element with overflow | |
-webkit-mask-image: -webkit-radial-gradient(white, black); |
# coding: utf-8 | |
from django.core.exceptions import ValidationError | |
from django.core.files.images import get_image_dimensions | |
from django.utils.translation import ugettext_lazy as _ | |
from django.utils.deconstruct import deconstructible | |
@deconstructible | |
class ImageDimensionsValidator: |
The following instructions describe a set of processes allowing you to run Django database migrations against a production database without having to bring the web service down.
Note that in the below instructions, migrations are all run manually at explicit points, and are not an automatic part of the deployment process.