A very basic example of reandering Japan Atlas TopoJSON with D3.
Source: MLIT, 2017
# git clone https://github.com/mozilla/DeepSpeech.git | |
# cd DeepSpeech | |
# git checkout -b v0.1.0 | |
# vi Dockerfile | |
# docker build -t deepspeech . | |
# docker run -it -v "$PWD":/app deepspeech bash | |
# ./DeepSpeech.py --help | |
# | |
FROM python:2.7.14-slim-stretch |
<!DOCTYPE html> | |
<svg width="960" height="600"></svg> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<script src="https://d3js.org/topojson.v3.min.js"></script> | |
<script> | |
var svg = d3.select('svg') |
A very basic example of reandering Japan Atlas TopoJSON with D3.
Source: MLIT, 2017
# you need to sign-up https://developer.nvidia.com/rdp/cudnn-download | |
scp cudnn-7.0-linux-x64-v4.0-prod.tgz ubuntu@your-ec2-instance:~/ | |
ssh ubuntu@your-ec2-instance | |
curl -O http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_7.5-18_amd64.deb | |
sudo dpkg -i cuda-repo-ubuntu1404_7.5-18_amd64.deb | |
sudo apt-get update | |
# see http://tleyden.github.io/blog/2015/11/22/cuda-7-dot-5-on-aws-gpu-instance-running-ubuntu-14-dot-04/ | |
sudo apt-get install -y linux-image-extra-`uname -r` linux-headers-`uname -r` linux-image-`uname -r` | |
sudo apt-get install cuda | |
tar zxvf cudnn-7.0-linux-x64-v4.0-prod.tgz |
# see which driver should you install | |
sudo ubuntu-drivers devices | |
sudo apt-get install nvidia-346 | |
reboot | |
# tweak tool for changing Caps Lock to Ctrl | |
# http://askubuntu.com/questions/181532/emacs-keybindings-in-ubuntu-12-04/181671#181671 | |
# PhpStorm | |
sudo add-apt-repository ppa:no1wantdthisname/openjdk-fontfix |
sudo dnf -y install http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee-nonfree/fedora22/noarch/bumblebee-nonfree-release-1.2-1.noarch.rpm | |
sudo dnf -y install http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee/fedora22/noarch/bumblebee-release-1.2-1.noarch.rpm | |
sudo dnf -y install bumblebee-nvidia | |
sudo dnf -y install gnome-tweak-tool.noarch |
<?xml version="1.0"?> | |
<ruleset name="ILoveSpace"> | |
<description>Space Over Tab.</description> | |
<arg name="tab-width" value="4"/> | |
<rule ref="Generic.WhiteSpace.DisallowTabIndent"/> | |
</ruleset> |
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Switch Input Method to Expose key</name> | |
<appendix>Ctrl-3 to the Expose key (F3)</appendix> | |
<identifier>remap.input_method_to_fkeys_f3</identifier> | |
<autogen>__KeyToKey__ KeyCode::EXPOSE_ALL, KeyCode::KEY_3, ModifierFlag::CONTROL_L</autogen> | |
</item> | |
</root> |