- MacBook Pro 11,3 (Mid 2014, 15" Retina)
- NVIDIA GeForce GT 750M (Kepler, GK107M)
- Intel Iris Pro 5200 (NOT usable - see GPU Switching section)
- Fedora 42, Kernel 6.17.11
- nvidia-470xx (legacy driver - last to support Kepler GPUs)
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| usage() { | |
| echo "Usage: claude-later <time> [claude args...]" | |
| echo " claude-later 2:00am -p \"write hello world in go\"" | |
| echo " claude-later 14:30 -p \"summarize my notes\"" | |
| exit 1 | |
| } |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # claude-resume — Schedule claude --resume sessions to run overnight in tmux panes | |
| usage() { | |
| cat <<'EOF' | |
| Usage: claude-resume <time> <sessions> [options] | |
| Arguments: |
| ## This script was written by Claude Code when I was trying to set up Safe Shutdown on Bookworm | |
| ## Claude told me not to do this but I told it "Make It So!" | |
| ## The script worked on the first run, but I don't make any guarantees about it | |
| ## Hopefully if you're reading this it will help you too. | |
| ## Please link this gist to any threads out there that need it. | |
| import gpiod | |
| import os | |
| import time | |
| import signal |
Here's a collection of links that I found useful while learning to develop for the NES:
nesam and not ca65.
ca65 compatible| # Use this to set the screensaver on a firetv | |
| # you can't set it as executable (unless you're rooted) | |
| # so you need to run it as: | |
| # $ source ./sleep_settings.sh | |
| echo "Enter screensaver timeout in minutes (Default 5)" | |
| read SCREENSAVER_ON_IN_MINUTES | |
| echo "Enter screen off timeout in minutes (Default 20)" | |
| read SLEEP_IN_MINUTES | |
| SCREENSAVER_IN_MILLISECONDS=`expr "$SCREENSAVER_ON_IN_MINUTES" \* 60000` |
Ripped off from adrianshort.org
$ git remote -v
origin https://github.com/hakimel/reveal.js.git (fetch)
origin https://github.com/hakimel/reveal.js.git (push)
| import yaml | |
| import sys | |
| VAR_DELIM = "," | |
| KEY_DELIM = ":" | |
| def int_try_parse(value): | |
| try: | |
| return int(value) |