Skip to content

Instantly share code, notes, and snippets.

View razumzhir0's full-sized avatar

Raz Zach Stoddard razumzhir0

View GitHub Profile
@ninapavlich
ninapavlich / steps.txt
Last active August 26, 2022 21:51
Downgrade to older salt-minion version
#1. Remove the current version and clear app cache
sudo apt-get remove salt-minion
sudo apt-get clean
apt-get autoremove
#2. Create script to view all PPAs:
#Save as script as listppa.sh:
#! /bin/sh
# Script to get all the PPA installed on a system
@razumzhir0
razumzhir0 / docker-burn
Last active May 9, 2017 22:04
Docker Burn Script - Taken/modified from StackExchange, unsure of the post.
# echo 'stopping all containers...\n '
docker kill $(docker ps -q)
# echo 'removing all containers...\n '
docker rm $(docker ps -a -q)
# echo 'removing all docker images...\n '
docker rmi $(docker images -a -q)
# echo 'removing all docker volumes...\n '
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@evanscottgray
evanscottgray / docker_kill.sh
Last active November 7, 2023 03:40
kill all docker containers at once...
docker ps | awk {' print $1 '} | tail -n+2 > tmp.txt; for line in $(cat tmp.txt); do docker kill $line; done; rm tmp.txt