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
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| <!-- <title>Words</title> --> | |
| <title>글</title> | |
| <style type="text/css"> | |
| body { font-size:18px; } | |
| .wrapper { max-width: 600px; margin:0 auto; } | |
| </style> |
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 PROJECTS_HOME="$HOME/Projects" | |
| function has_virtualenv__() { | |
| if [[ ${PWD##$PROJECTS_HOME} != $PWD ]]; then | |
| IFS="/" read -ra ADDR <<< "${PWD##$PROJECTS_HOME}" | |
| venvname=${ADDR[1]} | |
| cur_env=${VIRTUAL_ENV##$WORKON_HOME} | |
| if [[ $venvname != "" ]] && [[ -d "$WORKON_HOME/$venvname" ]]; then | |
| if [[ ${cur_env:1} != $venvname ]]; then | |
| workon "$venvname" |