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
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install git | |
# install pyenv | |
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils | |
# pyenv installer | |
curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash |
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
1. Click "inital GC" in memory tab | |
2. Click "Dump java heap" in memory tab | |
3. Tab dumped screen and "Copy path"(or press Shift + Command + C) | |
4. hprof-conv {copied_path}.hprof {wanted_path}/heap-converted.hprof |
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
# After Catalina | |
# Prerequisites | |
# Installed Chrome | |
# Installed iTerm2 | |
# install homebrew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# xcode select(๋์ ์ํด๋, brew install ๋์ค ์๋์ผ๋ก ์ค์น ๋จ) |
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
jQuery ($) -> | |
$('#gallery_photo').change -> | |
ext = $(@).val().split('.').pop().toLowerCase() | |
if $.inArray(ext, ['png','jpg','jpeg']) == -1 | |
alert 'ํ์ฅ์๋ png, jpg, jpeg๋ง ๊ฐ๋ฅํฉ๋๋ค!' | |
return false | |
return true |