Skip to content

Instantly share code, notes, and snippets.

@benwestrate
Last active April 23, 2021 18:26
Show Gist options
  • Save benwestrate/b1e371e691a56ca252504c816b50d4b3 to your computer and use it in GitHub Desktop.
Save benwestrate/b1e371e691a56ca252504c816b50d4b3 to your computer and use it in GitHub Desktop.
Daily Status Builder
# install Pandoc https://pandoc.org/index.html
brew install pandoc
# Download status.md and place it somewhere easy to remember
# I placed mine in my dotfiles repo

Results from today

Plan for tomorrow

MRs needing review :merged-party:

Meetings

MRs Reviewed 🎩

Blockers

  • None
# the following can be added to your bashrc or zshrc
# Copies the status.md you downloaded into a status folder
# and opens it in your favorite editior
function newStatus() {
cp $HOME/dotfiles/status.md $HOME/NOTES/status_updates/$(date +"%Y-%m-%d").md
code $HOME/NOTES/status_updates/$(date +"%Y-%m-%d").md
}
# Takes one argment of the file path of your markdown and creates a *.rtf of the
# markdown status update. It then opens that rtf file for you to easily copy the contents
function md(){
filename=$1
name=$(echo "$filename" | cut -f 1 -d '.')
pandoc -s $filename -o $name.rtf
open $name.rtf
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment