← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 25
  1. What is WS11 1DB?

    Stripe’s placeholder postcode is an industrial park just north of Birmingham.

  2. Blocking referrers with Caddy

    Create a matcher on the Referer header, followed by a hard-coded respond directive.

  3. Shift + Option + ?

  4. Why do type checkers allow you to check if a str is a member of a list of int?

  5. Go’s testing package tracks whether a test is parallel or mutates global state, and panics if you do both in the same test.

  6. These functions let you search a directory or recurse into it, and they return Path objects.

  7. 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.

  8. Override the get_template method on the Environment and see which templates are summoned.

  9. A sherd is made of ceramic, while a shard is made of glass or metal.

  10. 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.

  11. Look for the toggle in Settings > Animations > Messages.

  12. I looked at log files in bzreports_lastfilestransmitted to work out which folders were generating new content.

  13. 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.

  14. Get/set the description of the corresponding media item in the Photos app.

  15. Goodhart describes the value of a measure, while Campbell highlights the social pressure and corruption caused by one.

  16. Sheep at the station, trains on the road, and cracks in the boiler.

  17. Larger files don’t appear in the diff view; they’re just shown as a file icon.

  18. Short objects and arrays are compressed onto a single line; larger objects are displayed as a table.

  19. Create a new browser context with a narrow screen, then get document.body.scrollWidth to get the width of the displayed page.

  20. In Settings > Bluetooth, I can stop my iPhone telling me that my AirPods have charged overnight.

  21. Start the server with subprocess.Popen, poll until it’s available, yield the base URL, then clean up the process when you’re done.

  22. Use the arrays filter to remove empty values, the any(…) filter to check for set inclusion, then wrap the whole thing in square brackets.

  23. It’s a Citymapper action that gives directions to my home, which can be triggered using the Shortcuts app.

  24. The filename attribute returns the name of the already-existent file as a string.

  25. The red-lined bubble snail

    It’s a species of sea snail found in the Indo-Pacific with a funky red, blue and white colouring.