This file contains 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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/jingpingw/.oh-my-zsh" | |
# Set theme. More at https://github.com/ohmyzsh/ohmyzsh/wiki/Themes | |
# ZSH_THEME="robbyrussell" | |
This file contains 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
" show line numbers | |
set number | |
" indent by 2 spaces | |
set softtabstop=2 | |
set shiftwidth=2 | |
" turn on syntax highlighting | |
syntax on | |
" autocomplete brackets | |
:inoremap ( ()<Esc>i |
This file contains 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
# rmb to export http_proxy, https_proxy before anything, and su - root | |
export http_proxy=... | |
export https_proxy=... | |
# update yum and install packages | |
yum update | |
yum install kernel-devel kernel-headers dkms | |
# disable Nouveau, by adding the following line to /etc/modprobe.d/blacklist.conf | |
blacklist nouveau |
This file contains 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
# My learning journal | |
2015-12-22,hdf5 h5py | |
2016-01-04,gnu screen | |
2016-01-06,how to build ATLAS from source | |
2016-01-07,how to set http_proxy;how to find proxy address from .pac script in Internet Options | |
2016-01-08,sloth | |
2016-01-15,json (python) | |
2016-01-17,cv2 | |
2016-01-20,keras | |
2016-01-22,python generators |