Skip to content

Instantly share code, notes, and snippets.

View michaelbiggs's full-sized avatar

Michael Biggs michaelbiggs

View GitHub Profile
@michaelbiggs
michaelbiggs / Example.swift
Last active February 3, 2023 17:49 — forked from cliss/Example.swift
Decoding a heterogenous JSON array with unknown object types
// This is intended to be dropped in a Playground.
import Foundation
let json =
"""
{
"name": "Casey's Corner",
"menu": [
{
@michaelbiggs
michaelbiggs / 0_reuse_code.js
Last active August 29, 2015 14:16
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console