Elsewhere
Release TIL Research Tool Museum
Filters: Sorted by date
3,015 results
«« first
« previous
page 57 / 101
next »
last »»
TIL
Rewriting a repo to contain the history of just specific files
— I wanted to start [a new git repository](https://github.com/simonw/graphql-scraper/tree/828a1efc4307cca6cd378c394c2d33eac2eceb52) containing just the history of two specific files from my [help-scraper repository](https://github.com/simonw/help-scraper).
TIL
Using the GitHub Actions cache with npx and no package.json
— Some of my repositories have GitHub Actions workflows that execute commands using `npx`, for example my [graphql-scraper](https://github.com/simonw/graphql-scraper) repo using `npx` to [install and run](https://github.com/simonw/help-scraper/blob/54ef9b1fa579dc2d3f68055ffdac9996fd6dae9c/.github/workflows/scrape.yml#L76-L80) the `get-graphql-schema` tool:
TIL
Counting SQLite virtual machine operations
— When SQLite executes a query, it does so by executing a sequence of virtual machine operations.
TIL
The simplest recursive CTE
— I found this really simple recursive CTE useful for ensuring I understood how to write recursive CTEs.
TIL
Async fixtures with pytest-asyncio
— I wanted to use a fixture with `pytest-asyncio` that was itsef as `async def` function, so that it could execute `await` statements.
TIL
Concatenating strings and newlines in Google Sheets
— I was asked if there was a way to run [shot-scraper](https://github.com/simonw/shot-scraper) against a list of URLs in a Google Sheet.
TIL
pytest coverage with context
— [This tweet](https://twitter.com/mariatta/status/1499863816489734146) from \@Mariatta tipped me off to the ability to measure "contexts" when [running coverage](https://coverage.readthedocs.io/en/6.3.2/contexts.html#context-reporting) - as a way to tell which tests exercise which specific lines of code.
TIL
Natural Earth in SpatiaLite and Datasette
— Natural Earth ([website](https://www.naturalearthdata.com/), [Wikipedia](https://en.wikipedia.org/wiki/Natural_Earth)) is a a public domain map dataset.
«« first
« previous
page 57 / 101
next »
last »»