| name | explain-diff-html |
|---|---|
| description | Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output. |
Please make me a rich, interactive explanation of the specified code change.
It should have these sections:
(copied by @jakeisnt from private forums; publicised here)
To identify what season your Comme des Garcons items are from you can use the product tag found on each item. Product tags changed format in 2001 and this guide will explain how to read both styles of product tag to help you identify your items.
| /** | |
| * - Run `npm run dev` in your terminal to start a development server | |
| * - Open a browser tab at http://localhost:8787/ to see your worker in action | |
| * - Run `npm run deploy` to publish your worker | |
| * | |
| * Bind resources to your worker in `wrangler.toml`. After adding bindings, a type definition for the | |
| * `Env` object can be regenerated with `npm run cf-typegen`. | |
| * | |
| * Learn more at https://developers.cloudflare.com/workers/ | |
| */ |
| import { z } from "zod"; | |
| // System for creating dynamically accessible environment variables | |
| // from a schema. | |
| // Schema for the environment variables. | |
| // `type` specifies the type of the environment variable. | |
| // `fallback` is the fallback value if the environment variable is not set. | |
| type EnvSchema<T extends string> = Record< | |
| T, |
| .mailboxContainer { | |
| position: relative; | |
| background-color: #111111; /* Changed to black background */ | |
| color: #ffffff; /* Changed to white foreground */ | |
| z-index: 1; | |
| width: 100vw; | |
| min-height: 100vh; | |
| display: flex; | |
| justify-content: center; |
| #OSX Tweaks: | |
| =========== | |
| - Most need reboot to show changes | |
| - Most of these tweaks are just for speed, but some are specific for development | |
| - All of these are to be ran in terminal. The commands to be copy and pasted start after the less-than sign. | |
| - I'm not responsible for any adverse effects to your computer, at all. | |
| ##Increase the speed of OS X dialogs boxes: |
| local nio = require("nio") | |
| local M = {} | |
| local timeout_ms = 10000 | |
| local service_lookup = {} | |
| local streaming_mode = false | |
| local cancel_streaming = false | |
| local function get_api_key(name) | |
| return os.getenv(name) |
| Verifying my account on nostr My Public Key: "npub1r5z784psvm4a7haegtfjqkdgc5gnctjehd93ld46smfuyugzmx6q3esmvg" |
| // Unfollow everyone on twitter.com, by Jamie Mason (https://twitter.com/fold_left) | |
| // https://gist.github.com/JamieMason/7580315 | |
| // | |
| // 1. Go to https://twitter.com/YOUR_USER_NAME/following | |
| // 2. Open the Developer Console. (COMMAND+ALT+I on Mac) | |
| // 3. Paste this into the Developer Console and run it | |
| // | |
| // Last Updated: 09 April 2020 | |
| (() => { | |
| const $followButtons = '[data-testid$="-unfollow"]'; |
See also my tech blog.