Using Docker With Homebrew and VMware Fusion on Mac

Install Docker with Homebrew brew install docker brew install docker-machine Create Default Machine with VMware Fusion Driver docker-machine create –driver vmwarefusion default Eval Env and Manage eval $(docker-machine env default) docker info Config Network Get the HWaddr of VM and stop VM docker-machine ssh default ifconfig -a | grep eth0 docker-machine stop default Edit the VMware NAT network adapter sudo vi "/Library/Preferences/VMware Fusion/vmnet8/dhcpd.conf" Added the following line host default { hardware ethernet 00:0C:29:E6:F9:AC; fixed-address 192.
Read more →

Delete All Records From Dingtalk Workflow

document.getElementsByTagName('head')[0].appendChild(document.createElement('script')).setAttribute('src','https://code.jquery.com/jquery-3.2.1.min.js'); function deleteall() { while($(".delete-message").length > 0) { $(".delete-message")[0].click(); $(".kuma-dialog-confirm").click(); } $(".prev").click(); setTimeout(deleteall, 1000); } deleteall();
Read more →

how to install AWS python SDK boto3

Instead of doing pip install boto3, you should do: pip install botocore pip install boto3 Otherwise you won’t have latest botocore installed. If you had done that, you should pip install -U botocore
Read more →

nvidia GPU GFLOPS comparison table (VS CPU)

Model Launch Process Node Architecture CUDA Cores Memory TFLOPs GTX 950m 2015/3/13 28nm Maxwell 640 4 GB 1.3 GTX 960m 2015/3/12 28nm Maxwell 640 2/4 GB 1.4 GTX 1050 2016/10/25 14nm FinFET Pascal 640 2GB 1.8 GTX 1050Ti 2016/10/25 14nm Pascal 768 4GB 2.1 GTX 1060 2016/7/19 16nm Pascal 1152 3 GB 4.0 GTX 1060 2016/8/18 16nm Pascal 1280 6 GB 4.4 GTX 1070 2016/6/10 16nm Pascal 1920 8 GB 6.
Read more →

Install Tensorflow on AWS GPU Instance

The following procedure will guide you through installation of tensorflow on AWS GPU instances with 64bit Ubuntu1604 make sure .bashrc has the following content export CUDA_HOME=/usr/local/cuda export CUDA_ROOT=/usr/local/cuda export PATH=$PATH:$CUDA_ROOT/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CUDA_ROOT/lib64 CUDA and cuDNN Installation Install CUDA Toolkit 8.0 # note 1 wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.61-1_amd64.deb sudo dpkg -i cuda-repo-ubuntu1604_8.0.61-1_amd64.deb sudo apt-get update # note 2 sudo apt-get install -y nvidia-367 libcuda1-367 sudo apt-get install -y cuda-toolkit-8-0 sudo reboot note 1 If your linux is not ubuntu1604, you should browse here to find your distribution and version of linux.
Read more →