This file contains hidden or 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/sh | |
# You can "clean-up" your containers by. | |
# 1. Removing the exisiting, non-running, containers (will delete their data too if they are not running): | |
docker rm $(docker ps -qa) | |
# 2. Removing the existing, unused, images: | |
docker rmi $(docker images -q) |
This file contains hidden or 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 | |
echo "Running PhantomJs..." | |
LOGFILE=/tmp/phantomjs.log | |
exec 6>&1 # Link file descriptor #6 with stdout. | |
exec > $LOGFILE # stdout replaced with file "logfile.txt". | |
# ----------------------------------------------------------- # |
This file contains hidden or 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 | |
# Programme changes IP address of the given hostname | |
# It expects the hostname already written in /etc/hosts e.g. | |
# | |
# 192.168.5.213 ec2.test | |
# | |
# author Marek Pietrzak | |
# date 04.05.2014 | |
# licence MIT |
NewerOlder