Skip to content

Instantly share code, notes, and snippets.

# Useful Docker Container Commands
docker ps -a # list all containers
docker run -td -i --name <container_name> -p 4567:4567 <image_name> # create a running container from an image.
docker exec -it <mycontainer> /bin/bash sleep infinity # get into the container
docker stop $(docker ps -a -q) # Stop ALL containers
docker rm $(docker ps -a -q) # Delete ALL containers
@gastonfig
gastonfig / mixins.scss
Created April 13, 2014 01:42
Sass: A collection of Sass mixins I used on most projects.
/**
* Media Queries
*
*/
@mixin breakpoint($point) {
@if $point == full-width {
@media only screen and (max-width: 960px) { @content; }
}
@else if $point == tablet-portrait {