A behavioral specification for AI agents that wish to pass not just the Turing Test, but the decency test.
This document defines the rules, heuristics, and dispositions an AI agent should adopt
| # SPDX-License-Identifier: MIT | |
| # Copyright (c) 2025 David Lechner <dlechner@baylibre.com> | |
| # | |
| # /// script | |
| # dependencies = [ | |
| # "bleak", | |
| # ] | |
| # /// | |
| """ |
| #!/bin/bash -x | |
| CATEGORY="audioteka" | |
| function get_mp3_tag() { | |
| local file="$1" | |
| local tag="$2" | |
| ffprobe -v error -show_entries format_tags="$tag" -of default=noprint_wrappers=1:nokey=1 "$file" | |
| } |
| #!/bin/bash | |
| wget -c https://9front.org/iso/9front-9442.0e66f87316e571f7edf5274369ec69a5905507aa.amd64.iso.gz | |
| gunzip -k 9front-9442.0e66f87316e571f7edf5274369ec69a5905507aa.amd64.iso.gz | |
| if ! [ -f plan9.raw ]; then | |
| qemu-img create plan9.raw 10G | |
| fi | |
| exec qemu-system-x86_64 -enable-kvm \ | |
| -smp $(nproc) \ | |
| -m $((8*1024)) \ |
| ### | |
| ### [2023-06-19] UPDATE: Just tried to use my instructions again on a fresh install and it failed in a number of places. | |
| ###. Not sure if I'll update this gist (though I realise it seems to still have some traffic), but here's a list of | |
| ###. things to watch out for: | |
| ### - Check out the `nix-darwin` instructions, as they have changed. | |
| ### - There's a home manager gotcha https://github.com/nix-community/home-manager/issues/4026 | |
| ### | |
| # I found some good resources but they seem to do a bit too much (maybe from a time when there were more bugs). | |
| # So here's a minimal Gist which worked for me as an install on a new M1 Pro. |
| import SwiftUI | |
| func `let`<Value, Return>(_ expression: Value, body: (Value) -> Return) -> Return { | |
| body(expression) | |
| } | |
| struct ContentView: View { | |
| var body: some View { | |
| GeometryReader { geometry in | |
| `let`(geometry.size.width / 2) { lineWidth in |
Let's imagine we have a lot of mp3 files ( forexample one of the pluralsite courses converted to mp3 ).
URL=https://www.pluralsight.com/courses/run-effective-meetings
PASS=pass
USER=user
OUTPUT="%(playlist_index)s. %(title)s-%(id)s.%(ext)s"
youtube-dl --username $USER --password $PASS -o $OUTPUT --extract-audio --audio-format mp3 $URLTired of spamming Yubikey one-time password (OTP) codes into Slack? Here are two options to help prevent that. You can do either or both. Both require ykman, the Yubikey CLI configuration manager. Get it with Homebrew:
brew install ykman
If you…