The only cross-platform browser that fits in a Gist!
One line install. Works on Linux, MacOSX and Windows.
$> npm install http://gist.github.com/morganrallen/f07f59802884bcdcad4a/download
| #!/bin/bash | |
| # | |
| # Run docker-compose in a container | |
| # | |
| # This script will attempt to mirror the host paths by using volumes for the | |
| # following paths: | |
| # * $(pwd) | |
| # * $(dirname $COMPOSE_FILE) if it's set | |
| # * $HOME if it's set | |
| # |
| # swith to sudo | |
| sudo -i | |
| # create swap | |
| touch /2GiB.swap | |
| chattr +C /2GiB.swap | |
| fallocate -l 2048m /2GiB.swap | |
| chmod 600 /2GiB.swap | |
| mkswap /2GiB.swap |