Skip to content

Instantly share code, notes, and snippets.

View dakshshah96's full-sized avatar
moving fast but not breaking things

Daksh Shah dakshshah96

moving fast but not breaking things
View GitHub Profile
@AnandChowdhary
AnandChowdhary / generate-changelog.ts
Last active July 18, 2025 10:11
Changelog automation
import slugify from "@sindresorhus/slugify";
import { execSync } from "child_process";
import dotenv from "dotenv";
import fs from "fs";
import { DateTime } from "luxon";
import { OpenAI } from "openai";
import path from "path";
import prettier from "prettier";
import { env } from "process";
@Rich-Harris
Rich-Harris / service-workers.md
Last active January 6, 2026 09:45
Stuff I wish I'd known sooner about service workers

Stuff I wish I'd known sooner about service workers

I recently had several days of extremely frustrating experiences with service workers. Here are a few things I've since learned which would have made my life much easier but which isn't particularly obvious from most of the blog posts and videos I've seen.

I'll add to this list over time – suggested additions welcome in the comments or via twitter.com/rich_harris.

Use Canary for development instead of Chrome stable

Chrome 51 has some pretty wild behaviour related to console.log in service workers. Canary doesn't, and it has a load of really good service worker related stuff in devtools.