Skip to content

jthodge/til

Repository files navigation

TIL

Today I Learned

Test Build

awk

bash

character-encoding

chrome

clis-and-terminals

cloudflare

css

curl

django

docker

emacs

git

github

go

graphical-control-elements

grep

haskell

html

http

javascript

language-features

macos

node

patterns

posix

postgres

python

regex

ruby

sed

unix

vscode

Development Setup

This project uses uv as its build system and package manager for fast, modern Python development.

Quick Start

# Install uv (if you haven't already)
curl -LsSf https://astral.sh/uv/install.sh | sh

# Clone the repository
git clone https://github.com/jthodge/til.git
cd til

# Setup development environment
uv venv
uv sync --all-extras

# Or use the helper script
./scripts/dev.sh init

Common Commands

# Build the database
uv run til build

# Update README
uv run til update-readme --rewrite

# Run Datasette locally
uv run datasette . -h 0.0.0.0 -p 8765 --cors

# Run tests
uv run pytest tests/

# Format and lint code
uv run ruff format til/ tests/
uv run ruff check til/ tests/

# Type check
uv run mypy til/

About

I shamelessly stole this idea from jbranchaud/til. And I hope you'll shamelessly steal it from me!

Other TIL Collections

License

© 2020 Taylor Hodge

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

About

Today I Learned

Topics

Resources

License

Stars

Watchers

Forks