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 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' |
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
From d71bb4c36ad0dd42f10224aba2f5d10599cd25fa Mon Sep 17 00:00:00 2001 | |
From: Xiaolong Wang <dragonxlwang@gmail.com> | |
Date: Tue, 12 Apr 2016 16:41:27 -0500 | |
Subject: [PATCH] fix lime color | |
--- | |
gitk | 12 ++++++------ | |
1 file changed, 6 insertions(+), 6 deletions(-) | |
diff --git a/gitk b/gitk |
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
sudo yum install -y ruby ruby-devel lua lua-devel luajit \ | |
luajit-devel ctags git python python-devel \ | |
python3 python3-devel tcl-devel \ | |
perl perl-devel perl-ExtUtils-ParseXS \ | |
perl-ExtUtils-XSpp perl-ExtUtils-CBuilder \ | |
perl-ExtUtils-Embed | |
cd ~ | |
version=7.4.1724 | |
curl -OL https://github.com/vim/vim/archive/v$version.tar.gz |
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
sudo yum install cmake clang boost rubygems | |
gem install gist | |
chmod a+rx /usr/bin/gist | |
yum install curl-devel | |
# timan-install-git | |
## ================================================== | |
cd ~ | |
yum groupinstall "Development Tools" | |
yum install gettext-devel openssl-devel perl-CPAN perl-devel zlib-devel curl-devel |
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
export CC="/home/xwang95/.linuxbrew/bin/gcc" | |
export CXX="/home/xwang95/.linuxbrew/bin/g++" | |
export OBJC="/home/xwang95/.linuxbrew/bin/gcc" | |
export OBJCXX="/home/xwang95/.linuxbrew/bin/g++" | |
export CFLAGS="-Os -w -pipe -march=core2" | |
export CXXFLAGS="-Os -w -pipe -march=core2" | |
export CPPFLAGS="-isystem/home/xwang95/.linuxbrew/include" | |
export LDFLAGS="-L/home/xwang95/.linuxbrew/lib -Wl,--dynamic-linker=/home/xwang95/.linuxbrew/lib/ld.so -Wl,-rpath,/home/xwang95/.linuxbrew/lib" | |
export MAKEFLAGS="-j16" | |
export CMAKE_PREFIX_PATH="/home/xwang95/.linuxbrew" |
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
sudo -H /usr/local/bin/pip install --upgrade "ipython[all]" | |
sudo -H /usr/local/bin/pip install --upgrade numpy scipy matplotlib jupyter | |
sudo -H /usr/local/bin/pip install --upgrade basemap numba pillow pygame sympy nose | |
sudo -H /usr/local/bin/pip install --upgrade nltk | |
sudo -H /usr/local/bin/pip install --upgrade flake8 pep8 autopep8 yapf jedi | |
python -m nltk.downloader all | |
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
cd ~ | |
wget -O /etc/yum.repos.d/slc6-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoolset/slc6-devtoolset.repo | |
yum install devtoolset-2 | |
source /opt/rh/devtoolset-2/enable | |
yum groupinstall "Development tools" | |
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline readline-devel | |
yum -y install python-devel openssl openssl-devel gcc sqlite-devel | |
[[ ! -e Python-2.7.11.tgz ]] && { wget --no-check-certificate https://www.python.org/ftp/python/2.7.11/Python-2.7.11.tgz; } || { rm -rf Python-2.7.11; } | |
tar -zxvf Python-2.7.11.tgz | |
cd Python-2.7.11 |
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
cd ~ | |
yum groupinstall "Development Tools" | |
yum install gettext-devel openssl-devel perl-CPAN perl-devel zlib-devel curl-devel | |
# for gga git gui | |
sudo yum install xorg-x11-xauth | |
ver=2.8.0 | |
curl -L https://github.com/git/git/archive/v$ver.tar.gz -o git-$ver.tar.gz | |
tar -zxf git-$ver.tar.gz | |
cd git-$ver | |
make configure |