This file contains hidden or 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 ~ | |
if [[ -f ".vimrc" ]]; then | |
mv .vimrc .vimrc_old | |
fi | |
curl -s https://gist.githubusercontent.com/dalguji/6d3f8e3242414a9fdacb/raw > .vimrc | |
if [[ -f ".bash_profile" ]]; then | |
mv .bash_profile .bash_profile_old |
This file contains hidden or 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 PS1="[\u@\[\e[37;1m\]\h \[\e[0m\]\W]\$ " | |
export TERM="xterm-256color" | |
export VISUAL=/usr/bin/vim | |
export EDITOR=/usr/bin/vim | |
export LANG="en_US.UTF-8" | |
export LC_ALL="en_US.UTF-8" | |
export TZ="Asia/Seoul" |
This file contains hidden or 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 textwidth=79 " 만약 79번째 글자를 넘어가면 | |
set wrap " 자동으로 를 삽입하여 다음 줄로 넘어간다. | |
"set nowrapscan " 검색할 때 문서의 끝에서 다시 처음으로 돌아가지 않는다. | |
set nobackup " 백업 파일을 만들지 않는다. | |
"set visualbell " 키를 잘못눌렀을 때 삑 소리를 내는 대신 번쩍이게 한다. | |
set tabstop=4 " Tab을 눌렀을 때 8칸 대신 4칸 이동하도록 한다. | |
set shiftwidth=4 " 자동 들여쓰기를 할때 4칸 들여쓰도록 한다. | |
set backspace=2 | |
set so=15 |
This file contains hidden or 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
import pandas as pd | |
import numpy as np | |
from pandas import DataFrame | |
data = pd.read_csv('ch08/Haiti.csv') | |
data = data[(data.LATITUDE > 18) & (data.LATITUDE < 20) & | |
(data.LONGITUDE > -75) & (data.LONGITUDE < -70) | |
& data.CATEGORY.notnull()] |
This file contains hidden or 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
import pandas as pd | |
import numpy as np | |
from pandas import DataFrame | |
data = pd.read_csv('Haiti.csv') | |
data = data[(data.LATITUDE > 18) & (data.LATITUDE < 20) & | |
(data.LONGITUDE > -75) & (data.LONGITUDE < -70) | |
& data.CATEGORY.notnull()] |