This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo docker stop $(docker ps -a -q) | |
sudo docker rm $(docker ps -a -q) | |
sudo docker ps -a | grep 'months ago' | awk '{print $1}' | xargs sudo docker rm | |
sudo docker images | grep "\<none\>" | awk '{ print $3 }' | xargs sudo docker rmi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#--------------------------------------- | |
# Node.JS Raspberry Pi Package builder | |
# Raspbian | |
# http://nodejs-news.com | |
#--------------------------------------- | |
echo "-> Getting fpm (Effing package managers) Ruby gem" | |
sudo gem install fpm --no-ri --no-rdoc |
NewerOlder