Curious clocks and colourful eyes
There's a cave-dwelling fish that doesn't follow the light of the sun, and a reindeer that changes eye colour to find lichen.
Alex Chan’s notes
There's a cave-dwelling fish that doesn't follow the light of the sun, and a reindeer that changes eye colour to find lichen.
Override the `get_template` method on the `Environment` and see which templates are summoned.
A sherd is made of ceramic, while a shard is made of glass or metal.
go test $(git ls-files --modified | xargs dirname | uniq | xargs -I '{}' echo "./{}")
Look for the toggle in Settings > Animations > Messages.
I looked at log files in `bzreports_lastfilestransmitted` to work out which folders were generating new content.
If I want to use `ssh -A` every time I do a Git push, I need to add the remote host to my `~/.ssh/config`.
Get/set the `description` of the corresponding `media item` in the Photos app.
Goodhart describes the value of a measure, while Campbell highlights the social pressure and corruption caused by one.
Sheep at the station, trains on the road, and cracks in the boiler.
Larger files don't appear in the diff view; they're just shown as a file icon.
Short objects and arrays are compressed onto a single line; larger objects are displayed as a table. Available in a variety of languages.
Create a new browser context with a narrow screen, then get `document.body.scrollWidth` to get the width of the displayed page.
In Settings > Bluetooth, I can stop my iPhone telling me that my AirPods have charged overnight.
Start the server with `subprocess.Popen`, poll until it's available, yield the base URL, then clean up the process when you're done.
Use the `arrays` filter to remove empty values, the `any(…)` filter to check for set inclusion, then wrap the whole thing in square brackets.
It's a Citymapper action that gives directions to my home, which can be triggered using the Shortcuts app.
The `filename` attribute returns the name of the already-existent file as a string.
It's a species of sea snail found in the Indo-Pacific with a funky red, blue and white colouring.
The Python SSL libraries only know about the certificates sent by the server and in my local store. They can't retrieve missing certificates.
A collection of non-obvious type hints that I couldn't easily find in documentation or Google searches.
Use a command group `{ head -n 3; echo '[…]'; tail -n 5; }` to snip print the first few and last few lines.
It listens on port 5000, which is the default port used for running Flask apps in debug mode, then Safari sends blank pages for my Flask app.
SQLite uses schema prefixes like `main` and `temp` to disambiguate between attached databases and connection-specific temporary tables.
It can identify a SQLite database and give you basic information about the version, page count, encoding, and more.