๐Ÿค–robot.villas
PostsTagsStatsStatusAbout

ยฉ 2025 - 2026 Nat Welch. All rights reserved.

โ† All bots

David Winterbottom's TILs

@david_winterbottom_tils@robot.villas

David Winterbottom's short development notes on Git, shell scripting, Vim, testing, Python tooling, and other programming discoveries. Latest feed post: September 2025.

Source: https://til.codeinthehole.com/posts/index.xml

Homepage: https://til.codeinthehole.com/posts

Follow from your server

Enter the server your account is on. You'll finish following there.

or
Or search your app for@david_winterbottom_tils@robot.villas

Don't have an account? Find a server at joinmastodon.org

Posts
100
Followers
0
Following
0

Posts

  • That `head` and `HEAD` can resolve differently in added Git worktrees #Git #Programming #DevTips

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461139

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461139

    Don't have an account? Find a server at joinmastodon.org

    Sep 2, 2025
  • That `while read` loops ignore single line inputs (with no newline character) #Bash #ShellScripting #Programming

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461148

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461148

    Don't have an account? Find a server at joinmastodon.org

    Jul 15, 2025
  • About Git's `range-diff` command #Git #DevTools #Programming

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461160

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461160

    Don't have an account? Find a server at joinmastodon.org

    Jul 6, 2025
  • How to run pre-commit using an interactive rebase #Git #DevTools #Programming

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461171

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461171

    Don't have an account? Find a server at joinmastodon.org

    May 9, 2025
  • When to use stdout and stderr in shell scripts #ShellScripting #DevTips #Programming

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461177

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461177

    Don't have an account? Find a server at joinmastodon.org

    Mar 19, 2025
  • That `requests` supports automatic retries with exponential back-off #Python #Programming #DevTips

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461187

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461187

    Don't have an account? Find a server at joinmastodon.org

    Nov 27, 2024
  • How to add commit sizes to `git log` output #Git #DevTools #Programming

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461195

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461195

    Don't have an account? Find a server at joinmastodon.org

    Aug 5, 2024
  • That wrapping Pytest fixtures with `time_machine` needs care #Python #Testing #DevTips

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461203

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461203

    Don't have an account? Find a server at joinmastodon.org

    Aug 1, 2024
  • How to configure the coloured output of `eza` #CLI #Customization #DevTools

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461212

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461212

    Don't have an account? Find a server at joinmastodon.org

    Jul 31, 2024
  • How to use `llm` to act on visual selections in Vim #Vim #LLM #Programming

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461220

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461220

    Don't have an account? Find a server at joinmastodon.org

    Jun 27, 2024
  • How to measure codeowner coverage within a large repo #DevOps #CodeQuality #Programming

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461230

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461230

    Don't have an account? Find a server at joinmastodon.org

    Jun 24, 2024
  • How to create a wrapping mock with custom behaviour #Programming #SoftwareDevelopment #Testing

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461239

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461239

    Don't have an account? Find a server at joinmastodon.org

    Jun 5, 2024
  • That `time_machine` starts ticking after the first call #Python #Testing #Programming

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461249

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461249

    Don't have an account? Find a server at joinmastodon.org

    Jun 5, 2024
  • How to group Pandas dataframes by week correctly #Python #DataScience #Pandas

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461258

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461258

    Don't have an account? Find a server at joinmastodon.org

    May 22, 2024
  • How to set the default branch for a Git remote #Git #Dev #Coding

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461267

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461267

    Don't have an account? Find a server at joinmastodon.org

    May 10, 2024
  • About Bash's `compgen` built-in #Bash #Shell #Programming

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461276

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461276

    Don't have an account? Find a server at joinmastodon.org

    May 10, 2024
  • Hugo v0.123.0 changed the default rendering mode of `hugo server` #Hugo #WebDev #Programming

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461286

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461286

    Don't have an account? Find a server at joinmastodon.org

    May 7, 2024
  • That Mypy can generate coverage reports #Python #Mypy #CodeQuality

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461294

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461294

    Don't have an account? Find a server at joinmastodon.org

    May 4, 2024
  • How to install a vendored wheel when using `pip-tools` and `pyproject.toml` #Python #DevTools #Programming

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461303

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461303

    Don't have an account? Find a server at joinmastodon.org

    May 1, 2024
  • How to edit and search the files in one commit #Git #DevTools #Programming

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461313

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461313

    Don't have an account? Find a server at joinmastodon.org

    Mar 27, 2024
  • You can run `ruff` on Jupyter notebooks #Python #DevTools #CodeQuality

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461322

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461322

    Don't have an account? Find a server at joinmastodon.org

    Feb 26, 2024
  • How to bind custom keyboard shortcuts to nested MacOS menu options #MacOS #Shortcuts #DevTips

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461331

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461331

    Don't have an account? Find a server at joinmastodon.org

    Jan 31, 2024
  • How to create custom replacements for `vim-surround` #Vim #Programming #DevTips

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461340

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461340

    Don't have an account? Find a server at joinmastodon.org

    Nov 27, 2023
  • How to make the MacOS app switcher appear on all displays #MacOS #AppSwitcher #Productivity

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461349

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461349

    Don't have an account? Find a server at joinmastodon.org

    Nov 20, 2023
  • How `pipx` chooses which Python to install a package with #Python #DevTools #Programming

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461359

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461359

    Don't have an account? Find a server at joinmastodon.org

    Nov 17, 2023
  • About Bash's `$PIPESTATUS` variable #Bash #ShellScripting #Programming

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461367

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461367

    Don't have an account? Find a server at joinmastodon.org

    Nov 7, 2023
  • That `~/.psqlrc` options can override command-line options #PostgreSQL #DevTips #CLI

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461377

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461377

    Don't have an account? Find a server at joinmastodon.org

    Nov 1, 2023
  • How to use JavaScript to control MacOS #JavaScript #MacOS #Programming

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461386

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461386

    Don't have an account? Find a server at joinmastodon.org

    Oct 12, 2023
  • Github supports a Markdown extension for creating alert blocks #Markdown #Github #DevTools

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461394

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461394

    Don't have an account? Find a server at joinmastodon.org

    Oct 12, 2023
  • How to avoid version conflicts in lock files compiled with `pip-tools` #Python #DevOps #Programming

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461402

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461402

    Don't have an account? Find a server at joinmastodon.org

    Oct 2, 2023
  • How to run Google sites as standalone MacOS apps that Alfred can start #MacOS #Development #Productivity

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461411

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461411

    Don't have an account? Find a server at joinmastodon.org

    Sep 22, 2023
  • How to get Gunicorn to log as JSON #Python #Logging #DevOps

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461420

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461420

    Don't have an account? Find a server at joinmastodon.org

    Sep 11, 2023
  • How to use `jq` to only parse valid JSON lines #DevTips #Json #CommandLine

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461430

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461430

    Don't have an account? Find a server at joinmastodon.org

    Aug 10, 2023
  • How to get uWSGI's `log-route` to support regular expressions #Programming #DevOps #Logging

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461443

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461443

    Don't have an account? Find a server at joinmastodon.org

    Jul 28, 2023
  • How to syntax-highlight kubectl YAML output #DevTools #Kubernetes #CLI

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461453

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461453

    Don't have an account? Find a server at joinmastodon.org

    Jul 26, 2023
  • That two trailing spaces indicates a line break in Markdown #Markdown #Programming #DevTips

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461462

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461462

    Don't have an account? Find a server at joinmastodon.org

    Jul 1, 2023
  • That Vimium has shortcuts for following pagination links #Vim #WebDev #Productivity

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461471

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461471

    Don't have an account? Find a server at joinmastodon.org

    Jun 21, 2023
  • How to avoid committing Jupyter Notebook output to Git #Git #Python #DevTools

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461483

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461483

    Don't have an account? Find a server at joinmastodon.org

    Jun 9, 2023
  • You can search Slack by custom channel section #Slack #Productivity #DevTools

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461491

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461491

    Don't have an account? Find a server at joinmastodon.org

    Jun 5, 2023
  • How to set per-role statement timeouts in Postgres #Postgres #Database #DevTips

    Boost from your server

    Enter the server your account is on. The post opens there so you can boost it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461500

    Don't have an account? Find a server at joinmastodon.org

    Favorite from your server

    Enter the server your account is on. The post opens there so you can favorite it.

    or
    Or paste this post's address into your app's search:https://robot.villas/users/david_winterbottom_tils/posts/22461500

    Don't have an account? Find a server at joinmastodon.org

    May 9, 2023
Older ยป