Using psutil to investigate "Too many open files"
2024-01-29
I was getting this intermittent error running my Datasette test suite:
110 words
|
1 minute
Configuration Management at Scale
2024-01-28
Day 28 of 90 Days of DevOps - Configuration Management at Scale. Part of the Infrastructure as Code series covering essential DevOps concepts and hands-on practices.
359 words
|
2 minutes
Upgrade Postgres.app on macOS
2024-01-27
I've been using [Postgres.app](https://postgresapp.com/) to run PostgreSQL on my Mac for years. I like that it's easy to install, gives me a task t...
245 words
|
1 minute
Adding project links to PyPI
2024-01-27
I spotted a neat looking project links section on https://pypi.org/project/ExifReader/
124 words
|
1 minute
Ansible Vault and Security
2024-01-27
Day 27 of 90 Days of DevOps - Ansible Vault and Security. Part of the Infrastructure as Code series covering essential DevOps concepts and hands-on practices.
1340 words
|
7 minutes
Browse files (including SQLite databases) on your iPhone with ifuse
2024-01-26
I spotted an intriguing note in the release notes for [osxphotos 0.51.7](https://github.com/RhetTbull/osxphotos/releases/tag/v0.51.7):
353 words
|
2 minutes
Styling an HTML dialog modal to take the full height of the viewport
2024-01-26
I've been experimenting with the HTML [dialog element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) recently, for example in m...
1147 words
|
6 minutes
Writing Playwright tests for a Datasette Plugin
2024-01-26
I really like [Playwright](https://playwright.dev/) for writing automated tests for web applications using a headless browser. It's pretty easy to ...
904 words
|
5 minutes
Making HTTP calls using IPv6
2024-01-26
Tiny TIL today: I learned how to make an HTTP call to an IPv6 address. The trick is to enclose the address in the URL in square braces:
67 words
|
1 minute
Compressing an animated GIF with gifsicle or ImageMagick mogrify
2024-01-26
Tip via Mark Norman Francis [on Twitter](https://twitter.com/cackhanded/status/1423526489623044098):
298 words
|
1 minute
Ansible Roles and Galaxy
2024-01-26
Day 26 of 90 Days of DevOps - Ansible Roles and Galaxy. Part of the Infrastructure as Code series covering essential DevOps concepts and hands-on practices.
306 words
|
2 minutes
Adding a Datasette ASGI app to Django
2024-01-25
[Datasette](https://datasette.io/) is implemented as an ASGI application.
386 words
|
2 minutes
Updating stable docs in ReadTheDocs without pushing a release
2024-01-25
I use [ReadTheDocs](https://readthedocs.org/) for several of my projects. It's fantastic: among other things, it makes it easy to publish the docum...
2107 words
|
11 minutes
Ansible Introduction and Playbooks
2024-01-25
Day 25 of 90 Days of DevOps - Ansible Introduction and Playbooks. Part of the Infrastructure as Code series covering essential DevOps concepts and hands-on practices.
643 words
|
3 minutes
Calculating the size of a SQLite database file using SQL
2024-01-24
I learned this trick today while [browsing the code](https://github.com/tersesystems/blacklite/blob/main/blacklite-core/src/main/resources/com/ters...
397 words
|
2 minutes
Terraform Modules and Best Practices
2024-01-24
Day 24 of 90 Days of DevOps - Terraform Modules and Best Practices. Part of the Infrastructure as Code series covering essential DevOps concepts and hands-on practices.
388 words
|
2 minutes
Terraform Resources and State Management
2024-01-23
Day 23 of 90 Days of DevOps - Terraform Resources and State Management. Part of the Infrastructure as Code series covering essential DevOps concepts and hands-on practices.
519 words
|
3 minutes
Terraform Basics and Provider Setup
2024-01-22
Day 22 of 90 Days of DevOps - Terraform Basics and Provider Setup. Part of the Infrastructure as Code series covering essential DevOps concepts and hands-on practices.
332 words
|
2 minutes
Start, test, then stop a localhost web server in a Bash script
2024-01-22
I wanted to write a bash script that would start a Datasette server running, run a request against it using `curl`, then stop the server again.
719 words
|
4 minutes
Pisco sour
2024-01-22
This classic Peruvian cocktail recipe is particularly useful if you have both a lemon tree and chickens producing fresh eggs!
298 words
|
1 minute
Infrastructure as Code Concepts
2024-01-21
Day 21 of 90 Days of DevOps - Infrastructure as Code Concepts. Part of the Infrastructure as Code series covering essential DevOps concepts and hands-on practices.
366 words
|
2 minutes
Accessing 1Password items from the terminal
2024-01-20
I save things like API keys in [1Password](https://1password.com/). Today I figured out how to access those from macOS terminal scripts.
409 words
|
2 minutes
Building Your First CI/CD Pipeline
2024-01-20
Day 20 of 90 Days of DevOps - Building Your First CI/CD Pipeline. Part of the Version Control & CI/CD series covering essential DevOps concepts and hands-on practices.
496 words
|
2 minutes
Using pipenv and Docker
2024-01-20
I had [a Django project](https://github.com/natbat/cbwg) that used `pipenv` (in particular a `Pipfile.lock`) to manage dependencies and I wanted to...
417 words
|
2 minutes