Skip to content

Instantly share code, notes, and snippets.

View ryanwilsonperkin's full-sized avatar

Ryan Wilson-Perkin ryanwilsonperkin

View GitHub Profile
{"foo": "bar"}
class CustomError extends Error {
constructor(...args) {
super(...args);
this.name = 'CustomError';
Object.setPrototypeOf(this, CustomError.prototype);
}
}
function f1() {f2()}
function f2() {throw new CustomError('test')}
// ==UserScript==
// @name Buildkite build completion notifications
// @namespace Violentmonkey Scripts
// @match https://buildkite.com/*/builds/*
// @grant none
// @version 1.0
// @author Ryan Wilson-Perkin
// @description 6/4/2025, 2:09:56 PM
// ==/UserScript==