Skip to content

Instantly share code, notes, and snippets.

View jakeisnt's full-sized avatar

Jake Chvatal jakeisnt

View GitHub Profile
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.

Explain Diff

Please make me a rich, interactive explanation of the specified code change.

It should have these sections:

@jakeisnt
jakeisnt / cdg-identification-guide.md
Last active September 8, 2026 05:18
COMME des GARÇONS Identification Guide

COMME des GARÇONS Identifcation Guide

How to Identify Your Comme des Garcons Items

(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.

How to Read a Comme des Garcons Proudct Tag

@jakeisnt
jakeisnt / img-proxy-cloudflare-worker.ts
Last active January 17, 2025 14:15
Cloudflare worker: leverage cloudflare image resizing
/**
* - 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/
*/
@jakeisnt
jakeisnt / createEnv.ts
Last active April 23, 2025 23:36
`createEnv`: statically checked and typed environment variables with Zod
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,
@jakeisnt
jakeisnt / mailbox-email.module.scss
Created November 3, 2024 15:04
Uln.industries mailbox email homepage widget
.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;
@jakeisnt
jakeisnt / osxtweaks
Created September 25, 2024 09:49 — forked from webdevbrian/osxtweaks
Brian's List of OSX Tweaks for web developers
#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"
@jakeisnt
jakeisnt / unfollow.js
Created November 15, 2022 18:11 — forked from JamieMason/unfollow.js.md
Unfollow everyone on twitter.com
// 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"]';
@jakeisnt
jakeisnt / README.md
Created November 2, 2022 12:49 — forked from cellularmitosis/README.md
Tech Links