Skip to content

Instantly share code, notes, and snippets.

@chrxn
chrxn / md-cal.sh
Last active March 6, 2023 07:09 — forked from jdbrice/md-cal.sh
Generate markdown table calendar. Use wiki links to individual days
# modified to use gdate for macos -- obtain 'gdate' by running `brew install coreutils`
startdate=2020-01-01
enddate=2020-12-31
# controls the link format for each day:
# [[ $linkformat | $displayformat ]]
linkformat="%Y-%b-%d-%a"
displayformat="%d"
# marker for empty days in calendar view
@chrxn
chrxn / 0_reuse_code.js
Last active August 29, 2015 14:24
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console