Skip to content

Instantly share code, notes, and snippets.

View davidhfabian's full-sized avatar
🦖

David H. Fabian davidhfabian

🦖
View GitHub Profile

React/Redux architecture

Tools

  • [Visual Studio Code]: For its [TypeScript] integration
  • [TypeScript]: Which can also replace React's PropTypes
  • [Create React app]: For a PoC or a small project, you can easily [use TypeScript following this guide]
  • [Storybook]: To develop your component standalone, see Storybook-driven development
  • [Babel]
  • [Webpack]
@davidhfabian
davidhfabian / docker-clean.sh
Created April 20, 2021 14:49 — forked from rafaelaazevedo/docker-clean.sh
Clean all docker images/containers/volumes script
#!/bin/bash
# Kill all running containers.
docker kill $(docker ps -q)
# Delete all stopped containers.
printf "\n>>> Deleting stopped containers\n\n" && docker rm $(docker ps -a -q)
# Delete all untagged images.
@davidhfabian
davidhfabian / DockerCleanupScripts.md
Created April 20, 2021 14:48 — forked from johnpapa/DockerCleanupScripts.md
Docker Cleanup Scripts

Docker - How to cleanup (unused) resources

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