Elsewhere
Release TIL Research Tool Museum
Filters: Sorted by date
3,116 results
«« first
« previous
page 67 / 104
next »
last »»
TIL
Bundling Python inside an Electron app
— For [Datasette Desktop](https://datasette.io/desktop) I chose to bundle a full version of Python 3.9 inside my `Datasette.app` application. I did this in order to support installation of plugins via `pip install` - you can read more about my reasoning in [Datasette Desktop—a macOS desktop application for Datasette](https://simonwillison.net/2021/Sep/8/datasette-desktop/).
TIL
Signing and notarizing an Electron app for distribution using GitHub Actions
— I had to figure this out for [Datasette Desktop](https://github.com/simonw/datasette-app).
TIL
Attaching a generated file to a GitHub release using Actions
— For [Datasette Desktop](https://github.com/simonw/datasette-app) I wanted to run an action which, when I created a release, would build an asset for that release and then upload and attach it.
Release
datasette-import-table 0.3
— Datasette plugin for importing tables from other Datasette instances
TIL
Open external links in an Electron app using the system browser
— For [Datasette.app](https://github.com/simonw/datasette-app) I wanted to ensure that links to external URLs would [open in the system browser](https://github.com/simonw/datasette-app/issues/34).
TIL
Using the Chrome DevTools console as a REPL for an Electron app
— I figured out how to use the Chrome DevTools to execute JavaScript interactively inside the Electron main process. I always like having a REPL for exploring APIs, and this means I can explore the Electron and Node.js APIs interactively.
TIL
Calculating the AQI based on the Purple Air API for a sensor
— [Purple Air](https://www.purpleair.com/) sensors have an API at `https://www.purpleair.com/map.json?show=SENSOR-ID-HERE`, which returns JSON that looks something like this:
TIL
Searching all columns of a table in Datasette
— I came up with this trick today, when I wanted to run a `LIKE` search against every column in a table.
TIL
Histogram with tooltips in Observable Plot
— Given an array of datetime objects, I wanted to plot a histogram. But I wanted to automatically pick a bucket size for that histogram that resulted in something interesting, no matter what range of time the individual points covered.
Release
datasette-block-robots 1.0
— Datasette plugin that blocks robots and crawlers using robots.txt
TIL
Track timestamped changes to a SQLite table using triggers
— This is more of a "today I figured out" than a TIL.
«« first
« previous
page 67 / 104
next »
last »»
