Last updated on: 2025-11-02
This file provides guidance to agents when working in this repository, whether they be AI or human.
It is hand-written, with every word carefully considered by a human. Follow it very closely.
| #!/usr/bin/env elixir | |
| Mix.install([ | |
| {:plug_cowboy, "~> 2.5"}, | |
| {:jason, "~> 1.4"}, | |
| {:finch, "~> 0.16"} | |
| ]) | |
| defmodule MetaculusQuestion do | |
| @enforce_keys [:title, :id, :forecasters, :yes_prob, :no_prob, :distance_from_fifty, :resolve_time] | |
| defstruct @enforce_keys |
| #!/bin/bash -eu | |
| if [ "$#" -ne 3 ]; then | |
| echo "Usage: ./flac2mp3.sh <source_dir> <destination_dir> <bitrate>" | |
| exit 1 | |
| fi | |
| SRC_DIR="$1" | |
| DEST_DIR="$2" | |
| BITRATE="$3" |
This is a template for a Trello card consisting of a quick, internal accessibility audit. It's intended to be carried out as a prerequisite before a formal audit from a recognised accessibility testing company (like DAC).
The intention is to capture low-hanging fruit / show-stopping bugs and fix them, to allow the auditors to focus on more nuanced or interesting usability problems.
We want to do an internal accessibility audit of the <SERVICE_NAME> application to surface potential accessibility issues ahead of future audits.
| #!/bin/sh | |
| figlet "expenses" | |
| ledger --price-db prices.db -X £ --pedantic -f current.ledger --no-pager \ | |
| reg ^Exp -M --period-sort "(amount)" --effective |
| // | |
| // Compile with: | |
| // gcc -std=c99 heresy.c | |
| // | |
| // Run with: | |
| // ./a.out | |
| // | |
| // It outputs: | |
| // 0 | |
| // |
| name: bat | |
| # Project hooks | |
| # Runs on project start, always | |
| # on_project_start: command | |
| # Run on project start, the first time | |
| # on_project_first_start: command | |
| # Run on project start, after the first time | |
| # on_project_restart: command | |
| # Run on project exit ( detaching from tmux session ) |
Notes about tools for measuring and learning about performance.
| Name + Link | Usecase |
|---|---|
| Google Pagespeed Insights (PSI) | Measuring load and render performance, highlighting basic responsive design issues |
| What does my site cost | Measuring how much the payload of a website costs in different countries |
| Webpagetest | Measuring load and render performance, with comprehensive video and waterfall charts, on a choice of devices and connection speeds |
| Google Lighthouse ("Audits" tab in Chrome Devtools) | Measuring load and render performance, and some basic best practice, PWA, and accessibility criteria |
| { "extends": "eslint-config-semistandard" } |