Skip to content

Instantly share code, notes, and snippets.

@shun-shobon
Last active October 30, 2022 06:56
Show Gist options
  • Save shun-shobon/87924a9bda114a3bb3c9a19e5aff9206 to your computer and use it in GitHub Desktop.
Save shun-shobon/87924a9bda114a3bb3c9a19e5aff9206 to your computer and use it in GitHub Desktop.
curl -H "Accept: application/vnd.github+json" https://api.github.com/licenses/mit | jq -r .body | sed -e "s/\[year\]/$(date '+%Y')/; s/\[fullname\]/$(git config user.name)/" > LICENSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment