#!/bin/sh site_dir="$HOME/projects/siina.monster" current_date=$(date +%Y-%m-%d) timestamp=$(date +%H:%M:%S) current_note="$site_dir/notes/${current_date}.txt" if [ -z "$1" ]; then echo -e "\n

$(echo $timestamp):

" >> $current_note cd $site_dir && make else echo -e "\n

$(echo $timestamp): ${1}

" >> $current_note fi cd $site_dir ./noter/noter.sh public make push publish