Install R in Ubuntu

UBUNTU 16.04

Option 1:

sudo apt-get install -y r-base r-base-dev libcurl4-openssl-dev libssl-dev build-essential

Option 2:

with PPA. ref digitalocean

sudo apt-key adv --keyserver --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 && \

sudo add-apt-repository 'de......

Boot Partitions, Install Multi-OS

When installing Ubuntu, it will decide what kind of partition to use:

Ubuntu decicison tree for using entire disk:

? installer booted in EFI mode or BIOS mode?


: use gpt and never make biosboot


? is the disk larger than the max for msdos (2TB)?

* yes

: use gpt......

Gym Sports Tips

3分钟带你认识能减肥的有氧运动 | 真相大白话


Palio diet

See also: temperature-and-clothes.

Install TensorFlow with CUDA GPU for Deep Learning


Summary: install CUDA first, then TF.

ref TF 1.0 doc

ref nvidia doc, until step 3


64-bit Linux

Python 2.7 or 3.3+ (3.5 used in this blog)

NVIDIA CUDA 7.5 (8.0 if Pascal GPU)

NVIDIA cuDNN >v4.0 (v5.1 recommended)

NVIDIA GPU with compute capability >3.0



Machine Learning - Basics

This blog collects some useful materials for beginners.

Book: python-machine-learning-book

code on github

ML from scratch (py)

code on github

7 Types of Regression Techniques you should know (modern regressions)


evernote backup

Mount NTFS in Linux Ubuntu

Make mount point:

mkdir /mnt/win

Find the partition


Temp Mount

mount -t ntfs-3g /dev/sda4 /mnt/win

Easy Fstab Mount with All Permissions

1.find uuid:


2.add in fstab:

UUID=asdf1234 /mnt/win10c ntfs-3g defaults,windows_names,locale=en_US.utf8 0 0

For advanced permission con......