Skip to content

Instantly share code, notes, and snippets.

@jakeisnt
jakeisnt / cdg-identification-guide.md
Last active June 7, 2026 16:30
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
@jakeisnt
jakeisnt / programming-as-theory-building.md
Created November 1, 2022 20:44 — forked from onlurking/programming-as-theory-building.md
Programming as Theory Building - Peter Naur

Programming as Theory Building

Peter Naur

Peter Naur's classic 1985 essay "Programming as Theory Building" argues that a program is not its source code. A program is a shared mental construct (he uses the word theory) that lives in the minds of the people who work on it. If you lose the people, you lose the program. The code is merely a written representation of the program, and it's lossy, so you can't reconstruct