Skip to content

Instantly share code, notes, and snippets.

View PasaOpasen's full-sized avatar
😛
ultimate hot computer man

Demetry Pasсal PasaOpasen

😛
ultimate hot computer man
View GitHub Profile
@PasaOpasen
PasaOpasen / remove-all-from-docker.sh
Created April 18, 2025 15:26 — forked from beeman/remove-all-from-docker.sh
Remove all from Docker
# Stop all containers
docker stop `docker ps -qa`
# Remove all containers
docker rm `docker ps -qa`
# Remove all images
docker rmi -f `docker images -qa `
# Remove all volumes
@PasaOpasen
PasaOpasen / precommit.sh
Last active October 1, 2023 08:33
git precommit hook which adds big staged files to LFS
#!/bin/sh
#
# moves big staged files to LFS if not already tracked
#
# the file is tracked as LFS if it is mentioned in .gitattributes
#
#
FILE_SIZE_LIMIT_MB=10