Skip to content

Instantly share code, notes, and snippets.

@windauer
Last active February 1, 2024 10:26
Show Gist options
  • Save windauer/4604344 to your computer and use it in GitHub Desktop.
Save windauer/4604344 to your computer and use it in GitHub Desktop.
Gist - best practices

motivation

  • I'm [to lasy | don't have the time] to write a blog continuously.
  • I need a place for (code-)snippets
  • to memorize them without digging in old projects
  • to share them with others

questions

organize gists

Create single gists for any snippet or one gist per topic?

  • start with one gist per topic
  • topic 'root' gist contains only few information and the table of contents (can be links with ankers)
  • any other snippet belonging to the topic is added (as one big or many various file(s)) to the 'root' gist
Sample

Markdown code of this topic gist

# Gist
1. [motivation](motivation)
1. [questions](#questions)
1.[best practices](#best-practices)

best practices

- TBD -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment