This are just a couple of handy, opinionated visual fixes that I personally use in my self-hosted instance of Miniflux.
You're more than welcome to grab a copy and use with your own instance, or modify to suit your needs.
**PROMPT FOR LLM (copy+paste below, then append your plan)** | |
You are converting a **generic plan of action** into a **production-ready research/engineering `todo.md`** that is directly executable by a capable coding agent. Your output must be a single Markdown document with a fenced **XML `<workflows>`** block. Do **not** include any extra commentary, explanations, or chat—**output only the document**. | |
### Transformation requirements | |
* Be **specific** and **operational**. Replace vague goals with concrete steps, commands, checklists, acceptance gates, and explicit assumptions. | |
* Prefer **compact, high-signal prose**. No filler. Use short paragraphs and terse bullets. | |
* If information is missing, make **minimal, clearly labeled assumptions** (e.g., “Assumption: …”). Do **not** ask questions. | |
* Compile the spec into **executable oracles**: pre/postconditions, invariants, consumer/provider API contracts, and **metamorphic properties**. Generate both tests and **runtime guards**. |
usage: yt-transcript-downloader.py [-h] [-k KEY] [-v VIDEO] [-c CHANNEL] [-p PLAYLIST] [-s SEARCH] [-o {relevance,date,rating,views}] [-m MAX_SIZE] [-a AGE] | |
Download YouTube transcripts and metadata in YAML format, | |
with an optional max YAML file size limit. | |
options: | |
-h, --help show this help message and exit | |
-k KEY, --key KEY YouTube API Key to use. Overrides YOUTUBE_API_KEY env variable if not set. | |
-v VIDEO, --video VIDEO | |
YouTube Video ID or URL |
This are just a couple of handy, opinionated visual fixes that I personally use in my self-hosted instance of Miniflux.
You're more than welcome to grab a copy and use with your own instance, or modify to suit your needs.
tl;dr; Run sudo launchctl stop com.apple.cmio.VDCAssistant
to unfreeze your apps while using a Studio Display on macOS Catalina.
If you try to use Apple's new Studio Display on macOS Catalina 10.15.7 you end up with horrible app freezing problems. Apps like Chrome, Discord, WhatsApp, Zoom, Messenger, etc, are all freezing once a Studio Display is plugged in.
As someone pointed out on this thread, the "VDCAssistant" process seems to the source of the problems. This process is just related to managing video cameras for Apple services. And apparently disabling it fixes the app freezing issue!
So to fix the issue, just temporarily disable VDCAssistant
by running this command in a Terminal:
import json | |
import requests | |
import subprocess | |
import re | |
home = requests.get("https://content.services.pbskids.org/v2/kidspbsorg/home/").text | |
home = json.loads(home) | |
shows = {} | |
episodes = {} |
#!/bin/bash | |
# Fork of CHOCK's original tot.sh to add support for dot "0" to target | |
# the first empty dot. | |
# https://gist.github.com/chockenberry/d33ef5b6e6da4a3e4aa9b07b093d3c23 | |
# | |
# 2 Mar 2020 | |
# + Incorporated suggestions from ShellCheck (https://www.shellcheck.net). | |
# Thanks to Ramsey Dow. | |
# + Changed call to `python` to `/usr/bin/python` to get Python 2, avoiding |
#!/usr/bin/env bash | |
source "./dock_functions.sh" | |
declare -a apps=( | |
'/System/Applications/Utilities/Terminal.app' | |
'/System/Applications/Music.app' | |
'/Applications/Google Chrome.app' | |
'/Applications/PhpStorm.app' | |
'/Applications/Visual Studio Code.app' |
This script fetches all of the files from the currently deployed version of a Firebase Hosting site. You must be signed in via the Firebase CLI and have "Site Viewer" permission on the site in question to be able to properly run the script.
npx https://gist.github.com/mbleigh/9c8680cf319ace2f506f57380da66e7d <site_name>
#!/usr/bin/env bash | |
# list apps | |
defaults read com.apple.dock persistent-apps | grep '"_CFURLString"' | awk -F'"' '{print $4}' | php -R 'echo urldecode($argn)."\n";' | sed -e 's/file:\/\///g' | sed -e 's/\/$//g' | |
# list folders | |
defaults read com.apple.dock persistent-apps | grep '"_CFURLString"' | awk -F'"' '{print $4}' | php -R 'echo urldecode($argn)."\n";' | sed -e 's/file:\/\///g' | sed -e 's/\/$//g' | |
# add app | |
path=/Applications/Automator.app |
const allowsTracking = () => { | |
const dnt = | |
window.doNotTrack || | |
navigator.doNotTrack || | |
navigator.msDoNotTrack | |
if (dnt === 1 || dnt === '1' || dnt === 'yes') { | |
return false | |
} | |
if ('msTrackingProtectionEnabled' in window.external) { | |
return !window.external.msTrackingProtectionEnabled() |