Last active
January 5, 2018 14:45
-
-
Save hendra-herviawan/27c19d167d69232244842468ae65a349 to your computer and use it in GitHub Desktop.
.Dotfile
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
#NVidia Cuda | |
export PATH="/usr/local/cuda/bin:~/bin/:$PATH" | |
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda/lib64::/usr/local/cuda/extras/CUPTI/lib64" | |
export CUDA_HOME=/usr/local/cuda | |
#Anaconda | |
export PATH=/home/x/.local/bin/intelpython3/bin:$PATH | |
export PATH="$PATH:$HOME/bin" | |
#powerline | |
powerline-daemon -q | |
POWERLINE_BASH_CONTINUATION=1 | |
POWERLINE_BASH_SELECT=1 | |
source /home/x/.local/bin/intelpython3/lib/python3.6/site-packages/powerline/bindings/bash/powerline.sh | |
#source /home/hendra_herviawan/bin/anaconda3/lib/python3.6/site-packages/powerline/bindings/bash/powerline.sh | |
#Alias | |
alias config='/usr/bin/git --git-dir=/home/x/.cfg/ --work-tree=/home/x' | |
alias ssh-gcpprem1='ssh [email protected]' | |
alias gcpprem1='gcloud compute instances start kaggle-4cpus-15gb-pre --zone\=us-east1-d' | |
#Start tmux | |
if [[ -z "$TMUX" ]] && [ "$SSH_CONNECTION" != "" ]; then | |
tmux attach-session -t ssh_tmux || tmux new-session -s ssh_tmux | |
fi |
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
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required | |
Plugin 'VundleVim/Vundle.vim' | |
" The following are examples of different formats supported. | |
" Keep Plugin commands between vundle#begin/end. | |
" plugin on GitHub repo | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'vim-airline/vim-airline' | |
Plugin 'jpalardy/vim-slime' | |
" All of your Plugins must be added before the following line | |
call vundle#end() " required | |
filetype plugin indent on " required | |
" vim-slime | |
let g:slime_target = "tmux" | |
let g:slime_default_config = {"socket_name": split($TMUX, ",")[0], "target_pane": ":.1"} | |
let g:slime_python_ipython = 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment