Elsewhere
Release TIL Research Tool Museum
Filters: Sorted by date
3,014 results
«« first
« previous
page 83 / 101
next »
last »»
TIL
PostgreSQL full-text search in the Django Admin
— Django 3.1 introduces PostgreSQL `search_type="websearch"` - which gives you search with advanced operators like `"phrase search" -excluding`. James Turk [wrote about this here](https://jamesturk.net/posts/websearch-in-django-31/), and it's also in [my weeknotes](https://simonwillison.net/2020/Jul/23/datasette-copyable-datasette-insert-api/).
TIL
Implementing a "copy to clipboard" button
— I had to figure this out while building [datasette-copyable](https://github.com/simonw/datasette-copyable/) - demo [here](https://covid-19.datasettes.com/covid/ny_times_us_counties.copyable?state=Texas&county=Harris).
TIL
Updating a Markdown table of contents with a GitHub Action
— [markdown-toc](https://github.com/jonschlinkert/markdown-toc) is a Node script that parses a Markdown file and generates a table of contents for it, based on the headings.
Release
datasette-copyable 0.2
— Datasette plugin for outputting tables in formats suitable for copy and paste
Release
datasette-copyable 0.1
— Datasette plugin for outputting tables in formats suitable for copy and paste
TIL
Registering temporary pluggy plugins inside tests
— While implementing more finely-grained permissions for `datasette-insert-api` ([issue 8](https://github.com/simonw/datasette-insert-api/issues/8)) I decided I wanted to register a Datasette pluggy plugin for the duration of a single test.
TIL
Upgrading a Heroku PostgreSQL database with pg:copy
— Figured this out in https://github.com/simonw/simonwillisonblog/issues/132 - I was running PostgreSQL 9.x and I wanted 11.x in order to use the new `search_type="websearch"` option in Django 3.1.
TIL
Password hashing in Python with pbkdf2
— I was researching password hashing for [datasette-auth-passwords](https://github.com/simonw/datasette-auth-passwords). I wanted very secure defaults that would work using the Python standard library without any extra dependencies.
TIL
Using heroku pg:pull to restore a backup to a macOS laptop
— Today I worked out how to use the Heroku `pg:pull` command and [Postgres.app](https://postgresapp.com/) to pull a Heroku backup to my laptop.
TIL
Paginating through the GitHub GraphQL API with Python
— (See also [Building a self-updating profile README for GitHub](https://simonwillison.net/2020/Jul/10/self-updating-profile-readme/) on my blog)
«« first
« previous
page 83 / 101
next »
last »»