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
# https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository | |
# Install using the repository | |
sudo apt-get remove docker docker-engine docker.io containerd runc | |
sudo apt-get update | |
sudo apt-get install \ | |
ca-certificates \ | |
curl \ | |
gnupg \ |
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
# VirtualBox: Host<->Guest Networking | |
To simplify performing/testing automation on VirtualBox, we need to assign static IP Addresses to our VMs. | |
Create a Host Only network. | |
Virtual Box -> Preferences -> Network -> Host-only Networks | |
For this example, we will use `vboxnet0` |
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
wget https://3230d63b5fc54e62148e-c95ac804525aac4b6dba79b00b39d1d3.ssl.cf1.rackcdn.com/Anaconda-2.3.0-Linux-x86_64.sh | |
bash Anaconda-2.3.0-Linux-x86_64.sh | |
rm Anaconda-2.3.0-Linux-x86_64.sh | |
conda update conda | |
conda update ipython pandas | |
conda install ipython-notebook | |
conda install --channel https://conda.anaconda.org/aterrel xgboost |
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
#!/usr/bin/env python | |
""" | |
USAGE: python prime_generator.py <ceiling> | |
This prints out the list of prime numbers from 1 to | |
the passed in ceiling. | |
Example: |