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 | |
ovs_dir_conf="/usr/local/etc/openvswitch" | |
ovs_file_conf_db="${ovs_dir_conf}/conf.db" | |
ovs_file_schema="vswitchd/vswitch.ovsschema" | |
#ovs_file_schema="${ovs_dir_conf}/vswitch.ovsschema" | |
ovs_file_var="/usr/local/var/run/openvswitch" | |
start() |
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
# coding: utf-8 | |
# In[24]: | |
import numpy as np # linear algebra | |
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv) | |
import dicom | |
import os | |
import scipy.ndimage |
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
source activate tensorflow | |
conda install -c conda-forge pandas -y | |
conda install -c conda-forge pydicom -y | |
conda install -c conda-forge scipy -y | |
conda install -c conda-forge matplotlib -y | |
conda install -c conda-forge skimage -y | |
conda install -c conda-forge scikit-image=0.12.3 -y | |
source deactivate | |
jupyter notebook |
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
# Ubuntu/Linux 64-bit | |
# install python3.5 | |
sudo apt-get install libssl-dev make build-essential libssl-dev zlib1g-dev libbz2-dev libsqlite3-dev -y | |
wget https://www.python.org/ftp/python/3.5.3/Python-3.5.3.tar.xz | |
tar Jxvf Python-3.5.3.tar.xz | |
cd Python-3.5.3/ && ./configure && make && sudo make install | |
# install virtualenv | |
sudo apt-get install python-pip python-dev python-virtualenv -y |
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 | |
sudo apt-get update | |
sudo apt-get install git -y | |
sudo apt-get install python-setuptools python-pip -y | |
sudo apt-get install python-eventlet python-routes python-webob python-paramiko -y | |
sudo pip install tinyrpc ovs oslo.config msgpack-python eventlet enum34 | |
sudo pip install eventlet --upgrade |