Skip to content

Instantly share code, notes, and snippets.

Avatar

Mitchel Cabuloy mixxorz

View GitHub Profile
@palibaya
palibaya / gist:5361696
Created Apr 11, 2013
Environment for Behave + Django + Selenium
View gist:5361696
# -*- coding: utf-8 *-*
import os
import urlparse
import logging
from selenium import webdriver
# This is necessary for all installed apps to be recognized, for some reason.
os.environ['DJANGO_SETTINGS_MODULE'] = 'myproject.settings'
def before_all(context):
View URLs-syntax-DEP.md

======================== DEP XXX: Simplified routing syntax

  • DEP: XXX
  • Author: Tom Christie
  • Implementation Team: Tom Christie
  • Shepherd: Tim Graham
  • Status: Draft
  • Type: Enhancement
@alferov
alferov / docker-rm-images.md
Last active May 10, 2021
Remove all (untagged) images and containers from Docker
View docker-rm-images.md
# Delete all containers
docker rm $(docker ps -aq)
# Delete all images
docker rmi $(docker images -q)
# Delete all untagged images
docker rmi $(docker images -q --filter "dangling=true")

References: