Skip to content

Instantly share code, notes, and snippets.

@simplay
simplay / digital_ocean_setup.md
Created October 17, 2017 21:56 — forked from ChuckJHardy/digital_ocean_setup.md
DigitalOcean Ubuntu 14.04 x64 + Rails 4 + Nginx + Unicorn + PostgreSQL + Capistrano 3 Setup Instructions

Enable mobx' annotations in es6

  1. Install plugins:

yarn add mobx mobx-react react-app-rewire-mobx

yarn add --dev react-app-rewired

  1. Define config-overrides:
@simplay
simplay / docker-cleanup-resources.md
Created September 14, 2018 13:21 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// 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