Escaping a SQL query to use with curl and Datasette
I used this pattern to pass a SQL query to Datasette's CSV export via curl and output the results, stripping off the first row (the header row) usi...
182 words
|
1 minute
Enabling a user to execute a specific command as root without a password
2024-02-16
I wanted a script running as a non-root user to be able to restart a systemd service on my Ubuntu machine without needing a password.
117 words
|
1 minute
Azure DevOps and Pipelines
Day 47 of 90 Days of DevOps - Azure DevOps and Pipelines. Part of the Cloud Platforms series covering essential DevOps concepts and hands-on practices.
456 words
|
2 minutes
Writing JavaScript that responds to media queries
I wanted to change the layout of [my blog](https://simonwillison.net/) on mobile screens such that the content from the "Elsewhere" right hand colu...
242 words
|
1 minute
Azure Fundamentals and Services
Day 46 of 90 Days of DevOps - Azure Fundamentals and Services. Part of the Cloud Platforms series covering essential DevOps concepts and hands-on practices.
306 words
|
2 minutes
Trick Apple Photos into letting you access your video files
I had an 11GB movie in Apple Photos (sync'd from my iPhone) and I wanted to upload it to YouTube (actually via AirDrop to another laptop first).
211 words
|
1 minute
AWS Networking - VPC and Security Groups
Day 45 of 90 Days of DevOps - AWS Networking - VPC and Security Groups. Part of the Cloud Platforms series covering essential DevOps concepts and hands-on practices.
268 words
|
1 minute
Logging OpenAI API requests and responses using HTTPX
My [LLM](https://llm.datasette.io/) tool has a feature where you can set a `LLM_OPENAI_SHOW_RESPONSES` environment variable to see full debug level...
1087 words
|
5 minutes