Skip to content
/ til Public

Today I Learned: a collection of snippets and learnings.

License

Notifications You must be signed in to change notification settings

rogfrich/til

Repository files navigation

Today I Learned...

A collection of concise write-ups and code snippets on those small nuggets of information I'd otherwise forget.

So far, I have learned 14 things.

Categories


Bash

Black

Django

Doh

Git and Github

Markdown

Python built-ins

Python datatypes

Python standard library

Web Design

Usage

To create a new article:

  1. Create a new .md file (and a new folder, if it's a new category).
  2. The title of the new article will be the first level one heading in the file. Use '#', not 'H1'.
  3. Once all new articles are have been staged in the local repo, commit the changes to git. Assuming python-githooks is installed and set up, this readme.md should be automatically regenerated (the test suite will also run, and Python files will be blackened).
  4. If edits are made directly in the GitHub editor make sure to git pull the latest version before committing any new articles to the repo locally. There's a test in the test suite to check that the local repo isn't behind the remote, so a commit should fail if there are remote changes not included locally.

About

Jim Anderson suggested that I build a "Today I Learned..." repo when I asked on the Real Python Slack channel how people were storing their code snippets. Jim's reward for this kindness was that I shamelessly copied his own TIL (although I've added quite a lot of features since then). Thank you Jim, for the suggestion and inspiration!

License

This repository is licensed under the MIT license. See LICENSE for details.

About

Today I Learned: a collection of snippets and learnings.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages