Skip to content

Instantly share code, notes, and snippets.

View tiernan's full-sized avatar

Tiernan tiernan

View GitHub Profile
@tiernan
tiernan / achievements.schema.json
Created March 20, 2022 03:30
Mini Metro JSON Schema Definitions for IDE's [INCOMPLETE!]
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://schemas.tiernanx.com/mini-metro/maps/achievements.schema.json",
"author": "Tiernan Cridland (tiernanc@gmail.com)",
"constributors": [ ],
"credits": [
"Mini Metro Workshop Guide by Dinosaur Polo Club"
],
"licenseType": "ISC",
@tiernan
tiernan / serviceworker.d.ts
Last active June 10, 2023 10:59
Service Worker Typings to Supplement lib.webworker.ts
/**
* Copyright (c) 2018, Tiernan Cridland
*
* Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby
* granted, provided that the above copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
* IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
@tiernan
tiernan / service-worker.d.ts
Last active February 20, 2022 11:04
Typings for using the Service Worker API with TypeScript
/**
*
* DEPRECIATED: Please use the updated type definitions:
* Service Worker Typings to Supplement lib.webworker.d.ts
* https://gist.github.com/tiernan/c18a380935e45a6d942ac1e88c5bbaf3
*
*
* Copyright (c) 2016, Tiernan Cridland
*
* Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby