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
Verifying my Blockstack ID is secured with the address 16JvWarSzdGfSrv7xZjefM3ai2BGEgSFyG https://explorer.blockstack.org/address/16JvWarSzdGfSrv7xZjefM3ai2BGEgSFyG |
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
# 1. TAKES A FOLDER OF IMAGES (in this case /supplied-images) | |
# 2. OPTIMIZES THEIR FORMAT TO MAKE AS LIGHTWEIGHT AS POSSIBLE FOR THE CLIENT DEVICE | |
# 3. JOB CAN TAKE TIME BUT THIS IS VERY POWERFUL WHEN ALLOWED TO RUN OVER 10 MINUTES | |
# 4. GENERATES DIFFERENT SIZES - Maintanins aspect ratio - /www/images | |
# 5. Also generates a JSON file referencing each image | |
# SIZES - xsmall, small, medium, large, xlarge, xxlarge, xxxlarge | |
# Delete folder if it already exists | |
rm -r -f www/images |
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
NVM | |
Install NVM | |
> curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash | |
> export NVM_DIR="$HOME/.nvm" | |
> [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm | |
> command -v nvm # verifies install |
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
docker-machine create --driver virtualbox dev | |
export DOCKER_TLS_VERIFY="1" | |
export DOCKER_HOST="tcp://192.168.99.101:2376" | |
export DOCKER_CERT_PATH="/Users/fintankearney/.docker/machine/machines/dev" | |
export DOCKER_MACHINE_NAME="dev" |