Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Stripe’s placeholder postcode is an industrial park just north of Birmingham.
-
Create a matcher on the Referer header, followed by a hard-coded respond directive.
-
Shift + Option + ?
-
Why do type checkers allow you to check if a str is a member of a list of int?
-
Go’s testing package tracks whether a test is parallel or mutates global state, and panics if you do both in the same test.
-
These functions let you search a directory or recurse into it, and they return Path objects.
-
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 "./{}") I work in a Go monolith with many packages, and my patches often span multiple patches.
-
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.
-
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.