Preparation for Jekyll + Github

$ sudo apt install nodejs npm ruby ruby-dev gem build-essential
$ git clone https://github.com/minibrary/en.blog
$ git clone https://github.com/minibrary/kr.blog
$ git clone https://github.com/minibrary/jp.blog
$ npm install -g gulp
$ npm init
$ npm install

SEND E-MAIL when someone is logged in by SSH

change into your mail address and add below lined into .bashrc

IP="$(echo $SSH_CONNECTION | cut -d " " -f 1)"
HOSTNAME=$(hostname)
NOW=$(date +"%e %b %Y, %a %r")
echo 'Someone from '$IP' logged into '$HOSTNAME' on '$NOW'.' | mail -s 'SSH Login Notification' <mail address>

Study for ‘self signed certificate authority’

 include/bar.html 복사
 include/header-default.html 과 header-post.html 에서 include menu-search 삭제
 layout 폴더 각각 파일에
 include bar.html
 src/styl에 _nav.styl 복사
 src/styl 에 main.styl 에서 import nav
[link](url){:target="_blank"}

nginx 301 redirect

location /ko {
                return 301 https://kr.minibrary.com;
        }