summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2026-05-01UpdatePaul Buetow
2026-04-29tmux: avoid fish wrappers for popupsPaul Buetow
Task: z9
2026-04-08Use Raspberry Pi Pi-hole nodes in DNS toggle scriptPaul Buetow
2026-03-31immich-export: fix null nextPage causing silent exit on last pagePaul Buetow
When the API returns null for nextPage, Python's .get('nextPage','') still returns None (key exists), and print(None) yields "None" — a non-empty string. The loop then tried to fetch page "None", curl failed, and set -e killed the script silently. Use 'or ""' to coerce None to empty string. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31immich-export: fix associative array to prevent silent key dropsPaul Buetow
declare -A with inline \$() substitutions can silently drop entries in some bash versions; assign keys after declaration to ensure both accounts load. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31immich-export: download to .tmp then rename to avoid partial filesPaul Buetow
Downloads each asset to <filename>.tmp first, renaming to the final path only on success. Also cleans up stale .tmp files from aborted previous runs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31immich-export: add two-phase discovery+download for real progress reportingPaul Buetow
The Immich search API's 'total' field only reflects the current page size, not the actual total. Fix by first paginating all pages to collect the full asset list, then downloading with accurate [X/total] progress. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31Add immich-export script to download images from Immich by date rangePaul Buetow
Exports images (no videos) from paul and albena accounts for a configurable date range via the Immich REST API, skipping already-downloaded files. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-29Add Raspberry Pi shutdown support to wol-f3s scriptPaul Buetow
Amp-Thread-ID: https://ampcode.com/threads/T-019d3931-728f-71fa-9296-5e3a40694873 Co-authored-by: Amp <amp@ampcode.com>
2026-02-22Port taskwarrior feeder from ruby to fishPaul Buetow
2026-02-22fix: route work-tagged notes to task_add instead of worklog_addPaul Buetow
Notes with 'work' tag were routed to worklog_add! which wrote a raw txt file to worktime dir, losing the +work tag. Now they go through task_add! creating a proper Taskwarrior task with +work that gets exported to worktime via taskwarrior::export. Amp-Thread-ID: https://ampcode.com/threads/T-019c85e5-1074-70cc-a6a3-9f1b68abee3d Co-authored-by: Amp <amp@ampcode.com>
2026-02-08Add pihole-dns-toggle script for FedoraPaul Buetow
Script to easily toggle Pi-hole DNS on/off for active network connections using NetworkManager. Includes OS check to ensure it only runs on Fedora. Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07renamePaul Buetow