Farshid's Weblog
Login
Posts tagged “cli”
Flattening nested JSON objects with jq
(2025-10-19)
Clone, edit and push files that live in a Gist
(2025-10-18)
Exporting and editing a Twitter Spaces recording
(2025-09-21)
A shell script for running Go one-liners
(2025-09-13)
Configuring GitHub Codespaces using devcontainers
(2025-09-07)
Automatically maintaining Homebrew formulas using GitHub Actions
(2025-08-10)
Finding CSV files that start with a BOM using ripgrep
(2025-08-10)
Creating a tiled zoomable image with OpenSeadragon and vips
(2025-08-02)
Converting ORF raw files to JPEG on macOS
(2025-07-26)
Compiling and running sqlite3-rsync
(2025-07-12)
Assigning a custom subdomain to a Fly app
(2025-07-05)
Auto-formatting YAML files with yamlfmt
(2025-06-22)
Customizing my zsh prompt
(2025-06-14)
Fixing "compinit: insecure directories" error
(2025-06-08)
axe-core and shot-scraper for accessibility audits
(2025-05-31)
---
(2025-05-04)
Embedding paragraphs from my blog with E5-large-v2
(2025-04-06)
Extracting web page content using Readability.js and shot-scraper
(2025-04-05)
Convert git log output to JSON using jq
(2025-03-08)
Debugging a Click application using pdb
(2025-03-02)
Geocoding from Python on macOS using pyobjc-framework-CoreLocation
(2025-02-08)
Combined release notes from GitHub with jq and paginate-json
(2025-02-01)
Build the official Python documentation locally
(2025-01-18)
Downloading MapZen elevation tiles
(2025-01-05)
Calculating the size of a SQLite database file using SQL
(2024-12-28)
Attaching a bash shell to a running Docker container
(2024-12-22)
Bulk fetching repository details with the GitHub GraphQL API
(2024-12-22)
Exporting Amplitude events to SQLite
(2024-12-15)
Exploring OpenAI's deep research API model o4-mini-deep-research
(2024-12-14)
Google OAuth for a CLI application
(2024-12-14)
Calculating the size of all LFS files in a repo
(2024-11-03)
Avoiding "length" errors in Apache Bench with the -l option
(2024-10-19)
How to deploy a folder with a Dockerfile to Cloud Run
(2024-10-13)
Collecting replies to tweets using JavaScript
(2024-10-12)
get-graphql-schema
(2024-10-05)
Compressing an animated GIF with gifsicle or ImageMagick mogrify
(2024-09-15)
hexdump and hexdump -C
(2024-09-08)
How to read Hacker News threads with most recent comments first
(2024-09-07)
Back-dating Git commits based on file modification dates
(2024-08-04)
A script to capture frames from a QuickTime video
(2024-07-21)
Browsing your local git checkout of homebrew-core
(2024-07-14)
Enabling WAL mode for SQLite database files
(2024-05-18)
Adding a CORS policy to an S3 bucket
(2024-05-05)
Assistance with release notes using GitHub Issues
(2024-04-13)
Escaping strings in Bash using !:q
(2024-03-10)
How to scp files to and from Fly
(2024-03-09)
Export a Mastodon timeline to SQLite
(2024-01-21)
Deploying Python web apps as AWS Lambda functions
(2024-01-20)
Compile a new sqlite3 binary on Ubuntu
(2023-12-17)
Athena error: The specified key does not exist
(2023-12-03)
Atuin for zsh shell history in SQLite
(2023-11-26)
Compile and run a new SQLite version with the existing sqlite3 Python library on macOS
(2023-10-22)
Compiling the SQLite spellfix.c module on macOS
(2023-10-01)
Finding uses of an API with the new GitHub Code Search
(2023-09-24)
Basic strace to see what a process is doing
(2023-09-17)
Copy tables between SQLite databases
(2023-09-16)
Free API Gateway to expose localhost (ngrok alternative)
(2023-09-10)
Downloading partial YouTube videos with ffmpeg
(2023-09-09)
CLI tools hidden in the Python standard library
(2023-08-26)
Counting SQLite virtual machine operations
(2023-08-13)
Google Chrome --headless mode
(2023-08-12)
Fixing broken text encodings with sqlite-transform and ftfy
(2023-07-29)
Accessing 1Password items from the terminal
(2023-07-23)
A simple pattern for inlining binary content in a Python script
(2023-07-16)
Explicit file encodings using click.File
(2023-07-02)
Extracting objects recursively with jq
(2023-06-25)
Converting Airtable JSON for use with sqlite-utils using jq
(2023-06-24)
Accessing repository dependencies in the GitHub GraphQL API
(2023-06-04)
Building Mastodon bots with GitHub Actions and toot
(2023-06-04)
Finding the largest SQLite files on a Mac
(2023-05-28)
Generating documentation from tests using files-to-prompt and LLM
(2023-05-20)
Downloading every video for a TikTok account
(2023-05-13)
How to call pip programatically from Python
(2023-04-23)
Expanding ChatGPT Code Interpreter with Python packages, Deno and Lua
(2023-04-15)
How to create a tarball of a git repository using "git archive"
(2023-04-15)
Enabling a user to execute a specific command as root without a password
(2023-04-02)
git bisect
(2023-02-25)
Comparing two training datasets using sqlite-utils
(2023-01-28)
Converting no-decimal-point latitudes and longitudes using jq
(2023-01-21)
Browse files (including SQLite databases) on your iPhone with ifuse
(2023-01-15)