Skip to content

Instantly share code, notes, and snippets.

@mulderu
Last active July 14, 2018 04:59
Show Gist options
  • Save mulderu/86d94b04a3b27e524314785bdf64be60 to your computer and use it in GitHub Desktop.
Save mulderu/86d94b04a3b27e524314785bdf64be60 to your computer and use it in GitHub Desktop.
mysetup, vscode, vim, bash, and more

httpd.conf

allow show directory index

<IfModule alias_module>
    ...
    Alias /Project /Users/mulder/Project
</IfModule>
<Directory "/Users/mulder/Project">
    AllowOverride None
    Options Indexes MultiViews
    Require all granted
</Directory>

bash locale gen


sudo locale-gen ko_KR.UTF-8
sudo dpkg-reconfigure locales

bash .profile


# lang
export LANG="ko_KR.UTF-8"
export LC_ALL="ko_KR.UTF-8"
 
# nodev8
export NODE_HOME="/usr/local/nodev8"

export CUDA_HOME=/usr/local/cuda-8.0
export PATH=${NODE_HOME}/bin:/usr/local/cuda-8.0/bin${PATH:+:${PATH}}
#export LD_LIBRARY_PATH=/home/mulder/work/darknet:/usr/local/lib:/usr/local/cuda-8.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
export LD_LIBRARY_PATH=/home/mulder/Project/ddh/dnet/darknet:/usr/local/lib:/usr/local/cuda-8.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

# added by Anaconda3 4.3.1 installer
export PATH="/home/mulder/work/bin:/home/mulder/anaconda3/bin:/home/mulder/apps/VSCode-linux-x64/bin:$PATH"


alias gopy2="source activate py27"
alias gopy3="source activate py3dev"

vscode

{
    "editor.fontSize": 18,
    "editor.fontFamily": "NanumGothicCoding",
    "editor.tabSize": 2,
    "editor.minimap.enabled": false,

    "git.enableSmartCommit": true,
    "git.confirmSync": false,
    "window.zoomLevel": 0,
    "git.autofetch": true,
    "gitlens.keymap": "alternate",
    "editor.renderWhitespace": "all",

    "terminal.integrated.fontFamily": "NanumGothicCoding"
    , "terminal.integrated.fontSize": 18
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment