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
The SQLite now argument is stable within the same query
2024-01-19
I stumbled across an interesting little detail of SQLite today, running the following query:
162 words
|
1 minute
Jenkins Setup and Configuration
2024-01-19
Day 19 of 90 Days of DevOps - Jenkins Setup and Configuration. Part of the Version Control & CI/CD series covering essential DevOps concepts and hands-on practices.
465 words
|
2 minutes
CI/CD Pipeline Introduction
2024-01-18
Day 18 of 90 Days of DevOps - CI/CD Pipeline Introduction. Part of the Version Control & CI/CD series covering essential DevOps concepts and hands-on practices.
548 words
|
3 minutes
Tracing every executed Python statement
2024-01-17
Today I learned how to use the Python [trace module](https://docs.python.org/3/library/trace.html) to output every single executed line of Python c...
130 words
|
1 minute
Building an automatically updating live blog in Django
2024-01-17
OpenAI's DevDay event yesterday (October 1st 2024) didn’t invite press (as far as I can tell), didn’t livestream the event and didn’t allow audienc...
2414 words
|
12 minutes
GitHub Collaboration and Pull Requests
2024-01-17
Day 17 of 90 Days of DevOps - GitHub Collaboration and Pull Requests. Part of the Version Control & CI/CD series covering essential DevOps concepts and hands-on practices.
534 words
|
3 minutes
Language-specific indentation settings in VS Code
2024-01-16
When I'm working with Python I like four space indents, but for JavaScript or HTML I like two space indents.
138 words
|
1 minute
Linking from /latest/ to /stable/ on Read The Docs
2024-01-16
[Read The Docs](https://readthedocs.org/) has a handy feature where documentation for older versions will automatically link to the latest release,...
457 words
|
2 minutes
Mocking Stripe signature checks in a pytest fixture
2024-01-16
I'm writing some code that accepts webhooks from Stripe. I wanted to simulate hits to this endpoint in my Django tests. Stripe uses a `Stripe-Signa...
283 words
|
1 minute
Minifying JavaScript with npx uglify-js
2024-01-16
While [upgrading CodeMirror](https://github.com/simonw/datasette/issues/948) in Datasette I figured out how to minify JavaScript using `uglify-js` ...
199 words
|
1 minute
Advanced Git Workflows and Branching
2024-01-16
Day 16 of 90 Days of DevOps - Advanced Git Workflows and Branching. Part of the Version Control & CI/CD series covering essential DevOps concepts and hands-on practices.
3225 words
|
16 minutes
Git Version Control Fundamentals
2024-01-15
Day 15 of 90 Days of DevOps - Git Version Control Fundamentals. Part of the Version Control & CI/CD series covering essential DevOps concepts and hands-on practices.
1958 words
|
10 minutes