- Split terminal into two vertical panes:
Cmd + D - Split terminal into two horizontal panes:
Cmd + Shift + D
- Tested on Macbook Air 2017
- To disable keyboard (in case on-board keyboard not functioning correctly):
Cmd + DCmd + Shift + D
A python virtual environment is a lighweight tool used to create an isolated Python environment with its own -
Note: venv is a package that comes only with Python3.x and not with Python2.x.
Docker is the easiest way to run TensorFlow on a GPU since the host machine only requires the NVIDIAยฎ driver (the NVIDIAยฎ CUDAยฎ Toolkit is not required).
Update package lists, download and install NVIDIA driver
sudo apt-get update
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt install nvidia-410
| echo "Downloading gcc source files..." | |
| curl https://ftp.gnu.org/gnu/gcc/gcc-5.4.0/gcc-5.4.0.tar.bz2 -O | |
| echo "extracting files..." | |
| tar xvfj gcc-5.4.0.tar.bz2 | |
| echo "Installing dependencies..." | |
| yum -y install gmp-devel mpfr-devel libmpc-devel | |
| echo "Configure and install..." |
| # List of cheatsheet for linux find. | |
| # Taken from here http://alvinalexander.com/unix/edu/examples/find.shtml | |
| # basic 'find file' commands | |
| # -------------------------- | |
| find / -name foo.txt -type f -print # full command | |
| find / -name foo.txt -type f # -print isn't necessary | |
| find / -name foo.txt # don't have to specify "type==file" | |
| find . -name foo.txt # search under the current dir | |
| find . -name "foo.*" # wildcard |